osip_message.h | osip_message.h | |||
---|---|---|---|---|
skipping to change at line 161 | skipping to change at line 161 | |||
* @param sip The element to free. | * @param sip The element to free. | |||
*/ | */ | |||
void osip_message_free (osip_message_t * sip); | void osip_message_free (osip_message_t * sip); | |||
/** | /** | |||
* Parse a osip_message_t element. | * Parse a osip_message_t element. | |||
* @param sip The resulting element. | * @param sip The resulting element. | |||
* @param message The buffer to parse. | * @param message The buffer to parse. | |||
*/ | */ | |||
int osip_message_parse (osip_message_t * sip, const char *message); | int osip_message_parse (osip_message_t * sip, const char *message); | |||
/** | /** | |||
* Parse a osip_message_t element. | ||||
* @param sip The resulting element. | ||||
* @param message The buffer to parse. | ||||
* @param message The length of buffer to parse. | ||||
*/ | ||||
int osip_message_parse2 (osip_message_t * sip, const char *buf, size_t le | ||||
ngth); | ||||
/** | ||||
* Get a string representation of a osip_message_t element. | * Get a string representation of a osip_message_t element. | |||
* @param sip The element to work on. | * @param sip The element to work on. | |||
* @param dest new allocated buffer returned. | * @param dest new allocated buffer returned. | |||
*/ | */ | |||
int osip_message_to_str (osip_message_t * sip, char **dest); | int osip_message_to_str (osip_message_t * sip, char **dest); | |||
/** | /** | |||
* Clone a osip_message_t element. | * Clone a osip_message_t element. | |||
* @param sip The element to clone. | * @param sip The element to clone. | |||
* @param dest The new allocated element cloned. | * @param dest The new allocated element cloned. | |||
*/ | */ | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 8 lines changed or added | |||
osip_rfc3264.h | osip_rfc3264.h | |||
---|---|---|---|---|
skipping to change at line 50 | skipping to change at line 50 | |||
#endif | #endif | |||
/** | /** | |||
* Structure to hold support for codecs. | * Structure to hold support for codecs. | |||
* @defvar osip_rfc3264 | * @defvar osip_rfc3264 | |||
*/ | */ | |||
struct osip_rfc3264; | struct osip_rfc3264; | |||
#define MAX_AUDIO_CODECS 100 | #define MAX_AUDIO_CODECS 100 | |||
#define MAX_VIDEO_CODECS 100 | #define MAX_VIDEO_CODECS 100 | |||
#define MAX_T38_CODECS 1 | #define MAX_T38_CODECS 2 | |||
#define MAX_APP_CODECS 100 | #define MAX_APP_CODECS 100 | |||
/** | /** | |||
* Initialize negotiation facility.. | * Initialize negotiation facility.. | |||
* @param config The element to work on. | * @param config The element to work on. | |||
*/ | */ | |||
int osip_rfc3264_init (struct osip_rfc3264 **config); | int osip_rfc3264_init (struct osip_rfc3264 **config); | |||
/** | /** | |||
* Free negotiation facility. | * Free negotiation facility. | |||
skipping to change at line 107 | skipping to change at line 107 | |||
int osip_rfc3264_add_audio_media (struct osip_rfc3264 *config, sdp_media_ t *med, int pos); | int osip_rfc3264_add_audio_media (struct osip_rfc3264 *config, sdp_media_ t *med, int pos); | |||
/** | /** | |||
* Remove a media in the configuration. | * Remove a media in the configuration. | |||
* @param config The element to work on. | * @param config The element to work on. | |||
* @param pos The index of the media element to remove. | * @param pos The index of the media element to remove. | |||
*/ | */ | |||
int osip_rfc3264_del_audio_media (struct osip_rfc3264 *config, int pos); | int osip_rfc3264_del_audio_media (struct osip_rfc3264 *config, int pos); | |||
/** | /** | |||
* Add a media (for T.38) in the configuration. | ||||
* @param config The element to work on. | ||||
* @param pos The index of the media element to add. | ||||
*/ | ||||
int osip_rfc3264_add_t38_media (struct osip_rfc3264 *config, sdp_media_t | ||||
*med, int pos); | ||||
/** | ||||
* Remove a media (for T.38) in the configuration. | ||||
* @param config The element to work on. | ||||
* @param pos The index of the media element to remove. | ||||
*/ | ||||
int osip_rfc3264_del_t38_media (struct osip_rfc3264 *config, int pos); | ||||
/** | ||||
* Add a media (for video) in the configuration. | * Add a media (for video) in the configuration. | |||
* @param config The element to work on. | * @param config The element to work on. | |||
* @param pos The index of the media element to add. | * @param pos The index of the media element to add. | |||
*/ | */ | |||
int osip_rfc3264_add_video_media (struct osip_rfc3264 *config, sdp_media_ t *med, int pos); | int osip_rfc3264_add_video_media (struct osip_rfc3264 *config, sdp_media_ t *med, int pos); | |||
/** | /** | |||
* Remove a media in the configuration. | * Remove a media in the configuration. | |||
* @param config The element to work on. | * @param config The element to work on. | |||
* @param pos The index of the media element to remove. | * @param pos The index of the media element to remove. | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 16 lines changed or added | |||