"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "include/osipparser2/osip_parser.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_parser.h  (libosip2-5.0.0):osip_parser.h  (libosip2-5.1.0)
skipping to change at line 42 skipping to change at line 42
* @defgroup oSIP_PARSER oSIP parser Handling * @defgroup oSIP_PARSER oSIP parser Handling
* @ingroup osip2_parser * @ingroup osip2_parser
* @{ * @{
*/ */
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
/** /**
* Initialise the oSIP parser. * Initialize the oSIP parser.
*/ */
int parser_init (void); int parser_init (void);
/**
* Add a header, unknown to the stack, where the COMMA
* can be used to have multiple headers on one line.
* from rfc3261: header = "header-name" HCOLON header-value *(COMMA header-va
lue)
*
* This is the current list build 21/03/2018 from all known sip rfc:
*
* rfc3261 Accept, a, Accept-Encoding, Accept-Language, Alert-Info, Allow, Auth
entication-Info,
* Proxy-Require,Call-Info, Contact, m, Content-Encoding, e ,Content-Language,
Error-Info, In-Reply-To,
* Record-Route, Require, Route, Supported, k, Unsupported, Via, v, Warning
* rfc3313 P-Media-Authorization
* rfc3325 P-Asserted-Identity, P-Preferred-Identity
* rfc3326 Reason
* rfc3327 Path
* rfc3329 Security-Client, Security-Server, Security-Verify
* rfc3608 Service-Route
* rfc3841 Request-Disposition, d, Accept-Contact, a, Reject-Contact, j
* rfc4412 Resource-Priority, Accept-Resource-Priority
* rfc5009 P-Early-Media
* rfc5318 P-Refused-URI-List
* rfc5360 Permission-Missing, Trigger-Consent
* rfc6050 P-Asserted-Service, P-Preferred-Service
* rfc6086 Recv-Info
* rfc6665 Allow-Events, u
* rfc6794 Policy-ID, Policy-Contact
* rfc6809 Feature-Caps
* rfc7044 History-Info, Accept
* rfc7315 P-Associated-URI, P-Visited-Network-ID, P-Access-Network-Info, P-Cha
rging-Function-Addresses
* rfc7433 User-to-User
*
* @param hname The header name to add in the list.
*/
int parser_add_comma_separated_header (const char *hname);
/** /**
* Fix the via header for INCOMING requests only. * Fix the via header for INCOMING requests only.
* a copy of ip_addr is done. * a copy of ip_addr is done.
*/ */
int osip_message_fix_last_via_header (osip_message_t * request, const char *ip _addr, int port); int osip_message_fix_last_via_header (osip_message_t * request, const char *ip _addr, int port);
/** /**
* define this macro to avoid building several times * define this macro to avoid building several times
* the message on retransmissions. If you have changed * the message on retransmissions. If you have changed
* the osip_message_t element since last call of osip_message_to_str() you * the osip_message_t element since last call of osip_message_to_str() you
 End of changes. 2 change blocks. 
1 lines changed or deleted 39 lines changed or added

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