osip.h   osip.h 
skipping to change at line 1017 skipping to change at line 1017
*/ */
void osip_stop_retransmissions_from_dialog (osip_t * osip, struct osip_di alog *dialog); void osip_stop_retransmissions_from_dialog (osip_t * osip, struct osip_di alog *dialog);
/** /**
* Allocate a sipevent (we know this message is an OUTGOING SIP message). * Allocate a sipevent (we know this message is an OUTGOING SIP message).
* @param sip The SIP message we want to send. * @param sip The SIP message we want to send.
*/ */
osip_event_t *osip_new_outgoing_sipmessage (osip_message_t * sip); osip_event_t *osip_new_outgoing_sipmessage (osip_message_t * sip);
/** /**
* Free all ressource in a sipevent. * Free all resource in a sipevent.
* @param event The event to free. * @param event The event to free.
*/ */
void osip_event_free (osip_event_t * event); void osip_event_free (osip_event_t * event);
/** /**
* Register the callback used to send SIP message. * Register the callback used to send SIP message.
* @param cf The osip element attached to the transaction. * @param cf The osip element attached to the transaction.
* @param cb The method we want to register. * @param cb The method we want to register.
*/ */
void osip_set_cb_send_message (osip_t * cf, int (*cb) (osip_transaction_t *, osip_message_t *, char *, int, int)); void osip_set_cb_send_message (osip_t * cf, int (*cb) (osip_transaction_t *, osip_message_t *, char *, int, int));
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added


 osip_message.h   osip_message.h 
skipping to change at line 117 skipping to change at line 117
char *message; /**< internal value */ char *message; /**< internal value */
size_t message_length; /**< internal value */ size_t message_length; /**< internal value */
void *application_data; /**< can be used by upper layer*/ void *application_data; /**< can be used by upper layer*/
}; };
#ifndef SIP_MESSAGE_MAX_LENGTH #ifndef SIP_MESSAGE_MAX_LENGTH
/** /**
* You can re-define your own maximum length for SIP message. * You can re-define your own maximum length for SIP message.
*/ */
#define SIP_MESSAGE_MAX_LENGTH 4000 #define SIP_MESSAGE_MAX_LENGTH 8000
#endif #endif
#ifndef BODY_MESSAGE_MAX_SIZE #ifndef BODY_MESSAGE_MAX_SIZE
/** /**
* You can define the maximum length for a body inside a SIP message. * You can define the maximum length for a body inside a SIP message.
*/ */
#define BODY_MESSAGE_MAX_SIZE 4000 #define BODY_MESSAGE_MAX_SIZE 4000
#endif #endif
/** /**
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added


 osip_port.h   osip_port.h 
skipping to change at line 187 skipping to change at line 187
/**************************/ /**************************/
/* STRING support */ /* STRING support */
/**************************/ /**************************/
char *osip_strncpy (char *dest, const char *src, size_t length); char *osip_strncpy (char *dest, const char *src, size_t length);
char *osip_strdup (const char *ch); char *osip_strdup (const char *ch);
char *osip_strdup_without_quote (const char *ch); char *osip_strdup_without_quote (const char *ch);
int osip_tolower (char *word); int osip_tolower (char *word);
int osip_clrspace (char *word); int osip_clrspace (char *word);
char *__osip_sdp_append_string (char *string, size_t size, char *cur, cha r *string_osip_to_append);
int __osip_set_next_token (char **dest, char *buf, int end_separator, cha r **next); int __osip_set_next_token (char **dest, char *buf, int end_separator, cha r **next);
/* find the next unescaped quote and return its index. */ /* find the next unescaped quote and return its index. */
char *__osip_quote_find (const char *qstring); char *__osip_quote_find (const char *qstring);
char *osip_enquote (const char *s); char *osip_enquote (const char *s);
void osip_dequote (char *s); void osip_dequote (char *s);
unsigned long osip_hash (const char *str); unsigned long osip_hash (const char *str);
char *osip_str_append (char *dst, const char *src); char *osip_str_append (char *dst, const char *src);
char *osip_strn_append (char *dst, const char *src, size_t len); char *osip_strn_append (char *dst, const char *src, size_t len);
char *osip_clrncpy (char *dst, const char *src, size_t len); char *osip_clrncpy (char *dst, const char *src, size_t len);
skipping to change at line 232 skipping to change at line 231
#define OSIP_INFO4 TRACE_LEVEL7 #define OSIP_INFO4 TRACE_LEVEL7
END_TRACE_LEVEL = 8 END_TRACE_LEVEL = 8
} osip_trace_level_t; } osip_trace_level_t;
typedef void osip_trace_func_t (char *fi, int li, osip_trace_level_t leve l, char *chfr, va_list ap); typedef void osip_trace_func_t (char *fi, int li, osip_trace_level_t leve l, char *chfr, va_list ap);
/* these are defined in all cases, but are empty when oSIP is compiled /* these are defined in all cases, but are empty when oSIP is compiled
without trace */ without trace */
void osip_trace_initialize_func (osip_trace_level_t level, osip_trace_fun c_t * func); void osip_trace_initialize_func (osip_trace_level_t level, osip_trace_fun c_t * func);
void osip_trace_initialize_syslog (osip_trace_level_t level, char *ident) ; void osip_trace_initialize_syslog (osip_trace_level_t level, char *ident) ;
void osip_trace_initialize (osip_trace_level_t level, FILE * file); int osip_trace_initialize (osip_trace_level_t level, FILE * file);
void osip_trace_enable_until_level (osip_trace_level_t level); void osip_trace_enable_until_level (osip_trace_level_t level);
void osip_trace_enable_level (osip_trace_level_t level); void osip_trace_enable_level (osip_trace_level_t level);
void osip_trace_disable_level (osip_trace_level_t level); void osip_trace_disable_level (osip_trace_level_t level);
int osip_is_trace_level_activate (osip_trace_level_t level); int osip_is_trace_level_activate (osip_trace_level_t level);
#ifndef ENABLE_TRACE #ifndef ENABLE_TRACE
#define TRACE_INITIALIZE(level, file) do { } while (0) #define TRACE_INITIALIZE(level, file) do { } while (0)
#define TRACE_ENABLE_LEVEL(level) do { } while (0) #define TRACE_ENABLE_LEVEL(level) do { } while (0)
#define TRACE_DISABLE_LEVEL(level) do { } while (0) #define TRACE_DISABLE_LEVEL(level) do { } while (0)
 End of changes. 2 change blocks. 
2 lines changed or deleted 1 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/