osip.h   osip.h 
skipping to change at line 447 skipping to change at line 447
OSIP_ICT_KILL_TRANSACTION, /**< end of Client INVITE transaction * / OSIP_ICT_KILL_TRANSACTION, /**< end of Client INVITE transaction * /
OSIP_IST_KILL_TRANSACTION, /**< end of Server INVITE transaction * / OSIP_IST_KILL_TRANSACTION, /**< end of Server INVITE transaction * /
OSIP_NICT_KILL_TRANSACTION, /**< end of Client Non-INVITE transacti on */ OSIP_NICT_KILL_TRANSACTION, /**< end of Client Non-INVITE transacti on */
OSIP_NIST_KILL_TRANSACTION, /**< end of Server Non-INVITE transacti on */ OSIP_NIST_KILL_TRANSACTION, /**< end of Server Non-INVITE transacti on */
OSIP_KILL_CALLBACK_COUNT /**< END OF ENUM */ OSIP_KILL_CALLBACK_COUNT /**< END OF ENUM */
} osip_kill_callback_type_t; } osip_kill_callback_type_t;
/** /**
* Enumeration for callback type used when a transport error is detected. * Enumeration for callback type used when a transport error is detected.
* @enum osip_transport_error_callback_type_t * @var osip_transport_error_callback_type_t
*/ */
typedef enum osip_transport_error_callback_type typedef enum osip_transport_error_callback_type
{ {
OSIP_ICT_TRANSPORT_ERROR, /**< transport error for ICT */ OSIP_ICT_TRANSPORT_ERROR, /**< transport error for ICT */
OSIP_IST_TRANSPORT_ERROR, /**< transport error for IST */ OSIP_IST_TRANSPORT_ERROR, /**< transport error for IST */
OSIP_NICT_TRANSPORT_ERROR, /**< transport error for NICT */ OSIP_NICT_TRANSPORT_ERROR, /**< transport error for NICT */
OSIP_NIST_TRANSPORT_ERROR, /**< transport error for NIST */ OSIP_NIST_TRANSPORT_ERROR, /**< transport error for NIST */
OSIP_TRANSPORT_ERROR_CALLBACK_COUNT /**< END OF ENUM */ OSIP_TRANSPORT_ERROR_CALLBACK_COUNT /**< END OF ENUM */
} osip_transport_error_callback_type_t; } osip_transport_error_callback_type_t;
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added


 osip_authentication_info.h   osip_authentication_info.h 
skipping to change at line 40 skipping to change at line 40
* @ingroup oSIP_HEADERS * @ingroup oSIP_HEADERS
* @{ * @{
*/ */
/** /**
* Structure for Authentication-Info headers. * Structure for Authentication-Info headers.
* @var osip_authentication_info_t * @var osip_authentication_info_t
*/ */
typedef struct osip_authentication_info osip_authentication_info_t; typedef struct osip_authentication_info osip_authentication_info_t;
/**
* Definition of the Authentication-Info header.
* @struct osip_authentication_info
*/
struct osip_authentication_info struct osip_authentication_info
{ {
char *nextnonce; /* optional */ char *nextnonce; /**< nextnonce value */
char *qop_options; /* optional */ char *qop_options; /**< qop options value */
char *rspauth; /* optional */ char *rspauth; /**< rspauth value */
char *cnonce; /* optional */ char *cnonce; /**< cnonce value */
char *nonce_count; /* optional */ char *nonce_count; /**< noncecount value */
}; };
#ifdef __cplusplus #ifdef __cplusplus
extern "C" extern "C"
{ {
#endif #endif
/** /**
* Allocate a Authenication-Info element. * Allocate a Authenication-Info element.
* @param header The element to work on. * @param header The element to work on.
 End of changes. 2 change blocks. 
5 lines changed or deleted 9 lines changed or added


 osip_list.h   osip_list.h 
skipping to change at line 72 skipping to change at line 72
void *element; /**< element in Current node */ void *element; /**< element in Current node */
}; };
#endif #endif
/** /**
* Structure for referencing a list of elements. * Structure for referencing a list of elements.
* @var osip_list_t * @var osip_list_t
*/ */
typedef struct osip_list osip_list_t; typedef struct osip_list osip_list_t;
/* added by bennewit@cs.tu-berlin.de */ /**
* Structure used to iterate list.
* @var osip_list_iterator_t
*/
typedef struct typedef struct
{ {
__node_t *actual; __node_t *actual;
__node_t **prev; __node_t **prev;
osip_list_t *li; osip_list_t *li;
int pos; int pos;
} osip_list_iterator_t; } osip_list_iterator_t;
/** /**
* Structure for referencing a list of elements. * Structure for referencing a list of elements.
* @struct osip_list * @struct osip_list
*/ */
struct osip_list struct osip_list
{ {
int nb_elt; /**< Number of element in the list */ int nb_elt; /**< Number of element in the list */
__node_t *node; /**< Next node containing element */ __node_t *node; /**< Next node containing element */
}; };
/* added by bennewit@cs.tu-berlin.de */
#define osip_list_iterator_has_elem( it ) ( 0 != (it).actual && (it).pos <
(it).li->nb_elt )
/** /**
* Initialise a osip_list_t element. * Initialise a osip_list_t element.
* NOTE: this element MUST be previously allocated with * NOTE: this element MUST be previously allocated with
* osip_malloc(). The osip_free() call on the list is * osip_malloc(). The osip_free() call on the list is
* still automatically done by osip_list_free(). This * still automatically done by osip_list_free(). This
* also means you can't use a static osip_list_t variable * also means you can't use a static osip_list_t variable
* if you want to use osip_list_free(). * if you want to use osip_list_free().
* @param li The element to initialise. * @param li The element to initialise.
*/ */
int osip_list_init (osip_list_t * li); int osip_list_init (osip_list_t * li);
skipping to change at line 157 skipping to change at line 157
* @param pos the index of the element to get. * @param pos the index of the element to get.
*/ */
void *osip_list_get (const osip_list_t * li, int pos); void *osip_list_get (const osip_list_t * li, int pos);
/** /**
* Remove an element from a list. * Remove an element from a list.
* @param li The element to work on. * @param li The element to work on.
* @param pos the index of the element to remove. * @param pos the index of the element to remove.
*/ */
int osip_list_remove (osip_list_t * li, int pos); int osip_list_remove (osip_list_t * li, int pos);
/* added by bennewit@cs.tu-berlin.de */ /**
void *osip_list_get_first (osip_list_t * li, osip_list_iterator_t * it); * Check current iterator state.
/* added by bennewit@cs.tu-berlin.de */ * @param it The element to work on.
*/
#define osip_list_iterator_has_elem( it ) ( 0 != (it).actual && (it).pos <
(it).li->nb_elt )
/**
* Get first iterator from list.
* @param li The element to work on.
* @param it The iterator.
*/
void *osip_list_get_first (osip_list_t * li, osip_list_iterator_t * it);
/**
* GEt next iterator.
* @param it The element to work on.
*/
void *osip_list_get_next (osip_list_iterator_t * it); void *osip_list_get_next (osip_list_iterator_t * it);
/* added by bennewit@cs.tu-berlin.de */ /**
* Remove current iterator.
* @param it The element to work on.
*/
void *osip_list_iterator_remove (osip_list_iterator_t * it); void *osip_list_iterator_remove (osip_list_iterator_t * it);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
/** @} */ /** @} */
#endif #endif
 End of changes. 4 change blocks. 
9 lines changed or deleted 24 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/