add some stuff for zrtp

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13426 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2009-05-22 18:19:55 +00:00
parent ac51db525d
commit eb83431dcb
5 changed files with 26 additions and 2 deletions
+5
View File
@@ -448,6 +448,11 @@ SWITCH_DECLARE(switch_status_t) switch_core_perform_destroy_memory_pool(_Inout_
*/
#define switch_core_destroy_memory_pool(p) switch_core_perform_destroy_memory_pool(p, __FILE__, __SWITCH_FUNC__, __LINE__)
SWITCH_DECLARE(void) switch_core_memory_pool_set_data(switch_memory_pool_t *pool, const char *key, void *data);
SWITCH_DECLARE(void *) switch_core_memory_pool_get_data(switch_memory_pool_t *pool, const char *key);
/*!
\brief Start the session's state machine
\param session the session on which to start the state machine
+3 -1
View File
@@ -46,9 +46,11 @@ SWITCH_BEGIN_EXTERN_C
/*! the originating source of the frame */
const char *source;
/*! the raw packet */
void *packet;
void *packet;
/*! the size of the raw packet when applicable */
uint32_t packetlen;
/*! the extra frame data */
void *extra_data;
/*! the frame data */
void *data;
/*! the size of the buffer that is in use */
+2 -1
View File
@@ -920,7 +920,8 @@ typedef enum {
SFF_PLC = (1 << 3),
SFF_RFC2833 = (1 << 4),
SFF_PROXY_PACKET = (1 << 5),
SFF_DYNAMIC = (1 << 6)
SFF_DYNAMIC = (1 << 6),
SFF_ZRTP = (1 << 7)
} switch_frame_flag_enum_t;
typedef uint32_t switch_frame_flag_t;