"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "include/osip2/osip.h" between
libosip2-5.0.0.tar.gz and libosip2-5.1.0.tar.gz

About: The GNU oSIP library is an implementation of SIP (RFC3261).

osip.h  (libosip2-5.0.0):osip.h  (libosip2-5.1.0)
skipping to change at line 179 skipping to change at line 179
#endif #endif
#ifndef DEFAULT_T1_TCP_PROGRESS #ifndef DEFAULT_T1_TCP_PROGRESS
/** /**
* You can re-define the default value for T1_TCP_PROGRESS. * You can re-define the default value for T1_TCP_PROGRESS.
* This is a trick to use non blocking socke for reliable protocol * This is a trick to use non blocking socke for reliable protocol
* On first attempt, the connection is not ready and the next * On first attempt, the connection is not ready and the next
* osip retransmission are used to check the progress of the connection * osip retransmission are used to check the progress of the connection
* in order to send the message. * in order to send the message.
* The default value is 50ms. * The default value is 50ms.
*/ */
#define DEFAULT_T1_TCP_PROGRESS 50 /* 50ms */ #define DEFAULT_T1_TCP_PROGRESS 50 /* 50ms */
#endif #endif
#ifndef DEFAULT_T2 #ifndef DEFAULT_T2
/** /**
* You can re-define the default value for T2. (T2 is defined in rfcxxxx) * You can re-define the default value for T2. (T2 is defined in rfcxxxx)
* The default value is 4000ms. * The default value is 4000ms.
*/ */
#define DEFAULT_T2 4000 /* 4s */ #define DEFAULT_T2 4000 /* 4s */
#endif #endif
#ifndef DEFAULT_T4 #ifndef DEFAULT_T4
/** /**
skipping to change at line 310 skipping to change at line 310
* Structure for SRV record. * Structure for SRV record.
* @var osip_srv_record_t * @var osip_srv_record_t
*/ */
typedef struct osip_srv_record osip_srv_record_t; typedef struct osip_srv_record osip_srv_record_t;
/** /**
* Structure for SRV record entry. * Structure for SRV record entry.
* @struct osip_srv_record * @struct osip_srv_record
*/ */
struct osip_srv_record { struct osip_srv_record {
char name[512]; /**< name */ char name[1024]; /**< name */
int srv_state; /**< srv state */ int srv_state; /**< srv state */
char protocol[64]; /**< transport protocol*/ char flag[256]; /**< flag: "S" (SRV), "A" (A or AAAA), "U"
(URI), and "P" (ignore), are defined. */
char protocol[1024]; /**< transport protocol*/
char regexp[1024]; /**< regexp */
char replacement[1024]; /**< replacement */
int order; /**< order */ int order; /**< order */
int preference; /**< preference */ int preference; /**< preference */
int index; /**< index */ int index; /**< index */
osip_srv_entry_t srventry[10]; /**< result table */ osip_srv_entry_t srventry[10]; /**< result table */
}; };
#define OSIP_NAPTR_STATE_UNKNOWN 0 /**< unknown */ #define OSIP_NAPTR_STATE_UNKNOWN 0 /**< unknown */
#define OSIP_NAPTR_STATE_INPROGRESS 1 /**< in progress */ #define OSIP_NAPTR_STATE_INPROGRESS 1 /**< in progress */
#define OSIP_NAPTR_STATE_NAPTRDONE 2 /**< naptr done */ #define OSIP_NAPTR_STATE_NAPTRDONE 2 /**< naptr done */
#define OSIP_NAPTR_STATE_SRVINPROGRESS 3 /**< srv in progress */ #define OSIP_NAPTR_STATE_SRVINPROGRESS 3 /**< srv in progress */
skipping to change at line 339 skipping to change at line 342
* @var osip_naptr_t * @var osip_naptr_t
*/ */
typedef struct osip_naptr osip_naptr_t; typedef struct osip_naptr osip_naptr_t;
/** /**
* Structure for NAPTR record entry. * Structure for NAPTR record entry.
* @struct osip_naptr * @struct osip_naptr
*/ */
struct osip_naptr { struct osip_naptr {
char domain[512]; /**< domain */ char domain[512]; /**< domain */
char AUS[64]; /**< UAS (User Application String) u sed for Enum */
int naptr_state; /**< naptr state */ int naptr_state; /**< naptr state */
void *arg; /**< arg */ void *arg; /**< arg */
int keep_in_cache; /**< keep in cache value */ int keep_in_cache; /**< keep in cache value */
struct osip_srv_record sipudp_record; /**< udp SRV result */ struct osip_srv_record sipudp_record; /**< udp NAPTR result */
struct osip_srv_record siptcp_record; /**< tcp SRV result */ struct osip_srv_record siptcp_record; /**< tcp NAPTR result */
struct osip_srv_record siptls_record; /**< tls SRV result */ struct osip_srv_record siptls_record; /**< tls NAPTR result */
struct osip_srv_record sipdtls_record; /**< dtls SRV result */ struct osip_srv_record sipdtls_record; /**< dtls NAPTR result */
struct osip_srv_record sipsctp_record; /**< sctp SRV result */ struct osip_srv_record sipsctp_record; /**< sctp NAPTR result */
struct osip_srv_record sipenum_record; /**< enum NAPTR result */
}; };
/** /**
* Structure for transaction handling. * Structure for transaction handling.
* @var osip_transaction_t * @var osip_transaction_t
*/ */
typedef struct osip_transaction osip_transaction_t; typedef struct osip_transaction osip_transaction_t;
/** /**
* Structure for transaction handling * Structure for transaction handling
 End of changes. 5 change blocks. 
8 lines changed or deleted 14 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)