osip_message.h   osip_message.h 
skipping to change at line 316 skipping to change at line 316
*/ */
#define MSG_IS_MESSAGE(msg) (MSG_IS_REQUEST(msg) && \ #define MSG_IS_MESSAGE(msg) (MSG_IS_REQUEST(msg) && \
0==strncmp((msg)->sip_method,"MESSAGE",7)) 0==strncmp((msg)->sip_method,"MESSAGE",7))
/** /**
* Test if the message is a PRACK REQUEST (!! PRACK IS NOT SUPPORTED by th e fsm!!) * Test if the message is a PRACK REQUEST (!! PRACK IS NOT SUPPORTED by th e fsm!!)
* @param msg the SIP message. * @param msg the SIP message.
*/ */
#define MSG_IS_PRACK(msg) (MSG_IS_REQUEST(msg) && \ #define MSG_IS_PRACK(msg) (MSG_IS_REQUEST(msg) && \
0==strncmp((msg)->sip_method,"PRACK",5)) 0==strncmp((msg)->sip_method,"PRACK",5))
#define MSG_IS_UPDATE(msg) (MSG_IS_REQUEST(msg) && \
0==strncmp((msg)->sip_method,"UPDATE",6))
/** /**
* Test if the message is a response with status between 100 and 199 * Test if the message is a response with status between 100 and 199
* @param msg the SIP message. * @param msg the SIP message.
*/ */
#define MSG_IS_STATUS_1XX(msg) ((msg)->status_code >= 100 && \ #define MSG_IS_STATUS_1XX(msg) ((msg)->status_code >= 100 && \
(msg)->status_code < 200) (msg)->status_code < 200)
/** /**
* Test if the message is a response with status between 200 and 299 * Test if the message is a response with status between 200 and 299
* @param msg the SIP message. * @param msg the SIP message.
*/ */
 End of changes. 1 change blocks. 
0 lines changed or deleted 3 lines changed or added


 sdp_message.h   sdp_message.h 
skipping to change at line 540 skipping to change at line 540
/** /**
* Set the version in a SDP packet. * Set the version in a SDP packet.
* @param sdp The element to work on. * @param sdp The element to work on.
* @param pos_media The line number. * @param pos_media The line number.
* @param att_field The token value. * @param att_field The token value.
* @param att_value The token value. * @param att_value The token value.
*/ */
int sdp_message_a_attribute_add (sdp_message_t * sdp, int pos_media, int sdp_message_a_attribute_add (sdp_message_t * sdp, int pos_media,
char *att_field, char *att_value); char *att_field, char *att_value);
/** /**
* delete all attribute fields specified by att_field.
* @param sdp The element to work on.
* @param pos_media The line number.
* @param att_field The value to remove.
*/
int sdp_message_a_attribute_del (sdp_message_t * sdp, int pos_media,
char *att_field);
/**
* Get one of the attribute ('a' field) of a SDP packet. * Get one of the attribute ('a' field) of a SDP packet.
* @param sdp The element to work on. * @param sdp The element to work on.
* @param pos_media The media line number. * @param pos_media The media line number.
* @param pos The attribute line number. * @param pos The attribute line number.
*/ */
sdp_attribute_t *sdp_message_attribute_get (sdp_message_t * sdp, sdp_attribute_t *sdp_message_attribute_get (sdp_message_t * sdp,
int pos_media, int pos); int pos_media, int pos);
/** /**
* Get the attribute name ('a' field) of a SDP packet. * Get the attribute name ('a' field) of a SDP packet.
* @param sdp The element to work on. * @param sdp The element to work on.
 End of changes. 1 change blocks. 
0 lines changed or deleted 8 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/