Logo Search packages:      
Sourcecode: sofia-sip version File versions

sip_extra.h File Reference


Detailed Description

Extension headers for SIP.

Defined when <sofia-sip/sip_extra.h> has been included.

This file is automatically generated from <sip_extra_headers.txt> by msg_parser.awk.

Author:
Pekka Pessi <Pekka.Pessi@nokia.com>.

Definition in file sip_extra.h.

#include <sofia-sip/sip.h>
#include <sofia-sip/sip_header.h>

Go to the source code of this file.

Classes

struct  sip_alert_info_s
 Structure for header. More...
struct  sip_p_asserted_identity_s
 Structure for header. More...
struct  sip_p_preferred_identity_s
 Structure for header. More...
struct  sip_refer_sub_s
 Structure for header. More...
struct  sip_remote_party_id_s
 Structure for header. More...
struct  sip_reply_to_s
 Structure for header. More...
struct  sip_suppress_body_if_match_s
 Structure for header. More...
struct  sip_suppress_notify_if_match_s
 Structure for header. More...

Defines

#define sip_alert_info(sip)   ((sip_alert_info_t *)msg_header_access((msg_pub_t*)(sip), sip_alert_info_class))
#define sip_alert_info_init(x)   SIP_HEADER_INIT(x, sip_alert_info_class, sizeof(sip_alert_info_t))
#define SIP_ALERT_INFO_INIT()   SIP_HDR_INIT(alert_info)
#define sip_alert_info_p(h)   sip_is_alert_info((h))
#define SIP_HAVE_ALERT_INFO   1
#define SIP_HAVE_P_ASSERTED_IDENTITY   1
#define SIP_HAVE_P_PREFERRED_IDENTITY   1
#define SIP_HAVE_REFER_SUB   1
#define SIP_HAVE_REMOTE_PARTY_ID   1
#define SIP_HAVE_REPLY_TO   1
#define sip_p_asserted_identity(sip)   ((sip_p_asserted_identity_t *)msg_header_access((msg_pub_t*)(sip), sip_p_asserted_identity_class))
#define sip_p_asserted_identity_init(x)   SIP_HEADER_INIT(x, sip_p_asserted_identity_class, sizeof(sip_p_asserted_identity_t))
#define SIP_P_ASSERTED_IDENTITY_INIT()   SIP_HDR_INIT(p_asserted_identity)
#define sip_p_asserted_identity_p(h)   sip_is_p_asserted_identity((h))
#define sip_p_preferred_identity(sip)   ((sip_p_preferred_identity_t *)msg_header_access((msg_pub_t*)(sip), sip_p_preferred_identity_class))
#define sip_p_preferred_identity_init(x)   SIP_HEADER_INIT(x, sip_p_preferred_identity_class, sizeof(sip_p_preferred_identity_t))
#define SIP_P_PREFERRED_IDENTITY_INIT()   SIP_HDR_INIT(p_preferred_identity)
#define sip_p_preferred_identity_p(h)   sip_is_p_preferred_identity((h))
#define sip_refer_sub(sip)   ((sip_refer_sub_t *)msg_header_access((msg_pub_t*)(sip), sip_refer_sub_class))
#define sip_refer_sub_init(x)   SIP_HEADER_INIT(x, sip_refer_sub_class, sizeof(sip_refer_sub_t))
#define SIP_REFER_SUB_INIT()   SIP_HDR_INIT(refer_sub)
#define sip_refer_sub_p(h)   sip_is_refer_sub((h))
#define sip_remote_party_id(sip)   ((sip_remote_party_id_t *)msg_header_access((msg_pub_t*)(sip), sip_remote_party_id_class))
#define sip_remote_party_id_init(x)   SIP_HEADER_INIT(x, sip_remote_party_id_class, sizeof(sip_remote_party_id_t))
#define SIP_REMOTE_PARTY_ID_INIT()   SIP_HDR_INIT(remote_party_id)
#define sip_remote_party_id_p(h)   sip_is_remote_party_id((h))
#define sip_reply_to(sip)   ((sip_reply_to_t *)msg_header_access((msg_pub_t*)(sip), sip_reply_to_class))
#define sip_reply_to_init(x)   SIP_HEADER_INIT(x, sip_reply_to_class, sizeof(sip_reply_to_t))
#define SIP_REPLY_TO_INIT()   SIP_HDR_INIT(reply_to)
#define sip_reply_to_p(h)   sip_is_reply_to((h))
#define SIPTAG_ALERT_INFO(x)   siptag_alert_info, siptag_alert_info_v(x)
#define SIPTAG_ALERT_INFO_REF(x)   siptag_alert_info_ref, siptag_alert_info_vr(&(x))
#define SIPTAG_ALERT_INFO_STR(s)   siptag_alert_info_str, tag_str_v(s)
#define SIPTAG_ALERT_INFO_STR_REF(x)   siptag_alert_info_str_ref, tag_str_vr(&(x))
#define siptag_alert_info_v(v)   (tag_value_t)(v)
#define siptag_alert_info_vr(vp)   (tag_value_t)(vp)
#define SIPTAG_P_ASSERTED_IDENTITY(x)   siptag_p_asserted_identity, siptag_p_asserted_identity_v(x)
#define SIPTAG_P_ASSERTED_IDENTITY_REF(x)   siptag_p_asserted_identity_ref, siptag_p_asserted_identity_vr(&(x))
#define SIPTAG_P_ASSERTED_IDENTITY_STR(s)   siptag_p_asserted_identity_str, tag_str_v(s)
#define SIPTAG_P_ASSERTED_IDENTITY_STR_REF(x)   siptag_p_asserted_identity_str_ref, tag_str_vr(&(x))
#define siptag_p_asserted_identity_v(v)   (tag_value_t)(v)
#define siptag_p_asserted_identity_vr(vp)   (tag_value_t)(vp)
#define SIPTAG_P_PREFERRED_IDENTITY(x)   siptag_p_preferred_identity, siptag_p_preferred_identity_v(x)
#define SIPTAG_P_PREFERRED_IDENTITY_REF(x)   siptag_p_preferred_identity_ref, siptag_p_preferred_identity_vr(&(x))
#define SIPTAG_P_PREFERRED_IDENTITY_STR(s)   siptag_p_preferred_identity_str, tag_str_v(s)
#define SIPTAG_P_PREFERRED_IDENTITY_STR_REF(x)   siptag_p_preferred_identity_str_ref, tag_str_vr(&(x))
#define siptag_p_preferred_identity_v(v)   (tag_value_t)(v)
#define siptag_p_preferred_identity_vr(vp)   (tag_value_t)(vp)
#define SIPTAG_REFER_SUB(x)   siptag_refer_sub, siptag_refer_sub_v(x)
#define SIPTAG_REFER_SUB_REF(x)   siptag_refer_sub_ref, siptag_refer_sub_vr(&(x))
#define SIPTAG_REFER_SUB_STR(s)   siptag_refer_sub_str, tag_str_v(s)
#define SIPTAG_REFER_SUB_STR_REF(x)   siptag_refer_sub_str_ref, tag_str_vr(&(x))
#define siptag_refer_sub_v(v)   (tag_value_t)(v)
#define siptag_refer_sub_vr(vp)   (tag_value_t)(vp)
#define SIPTAG_REMOTE_PARTY_ID(x)   siptag_remote_party_id, siptag_remote_party_id_v(x)
#define SIPTAG_REMOTE_PARTY_ID_REF(x)   siptag_remote_party_id_ref, siptag_remote_party_id_vr(&(x))
#define SIPTAG_REMOTE_PARTY_ID_STR(s)   siptag_remote_party_id_str, tag_str_v(s)
#define SIPTAG_REMOTE_PARTY_ID_STR_REF(x)   siptag_remote_party_id_str_ref, tag_str_vr(&(x))
#define siptag_remote_party_id_v(v)   (tag_value_t)(v)
#define siptag_remote_party_id_vr(vp)   (tag_value_t)(vp)
#define SIPTAG_REPLY_TO(x)   siptag_reply_to, siptag_reply_to_v(x)
#define SIPTAG_REPLY_TO_REF(x)   siptag_reply_to_ref, siptag_reply_to_vr(&(x))
#define SIPTAG_REPLY_TO_STR(s)   siptag_reply_to_str, tag_str_v(s)
#define SIPTAG_REPLY_TO_STR_REF(x)   siptag_reply_to_str_ref, tag_str_vr(&(x))
#define siptag_reply_to_v(v)   (tag_value_t)(v)
#define siptag_reply_to_vr(vp)   (tag_value_t)(vp)

Typedefs

typedef struct sip_alert_info_s sip_alert_info_t
typedef struct
sip_p_asserted_identity_s 
sip_p_asserted_identity_t
typedef struct
sip_p_preferred_identity_s 
sip_p_preferred_identity_t
typedef
typedefSOFIA_BEGIN_DECLS
struct sip_refer_sub_s 
sip_refer_sub_t
typedef struct
sip_remote_party_id_s 
sip_remote_party_id_t
typedef struct sip_reply_to_s sip_reply_to_t
typedef struct
sip_suppress_body_if_match_s 
sip_suppress_body_if_match_t
typedef struct
sip_suppress_notify_if_match_s 
sip_suppress_notify_if_match_t

Enumerations

enum  { sip_refer_sub_hash = 14607 }
enum  { sip_alert_info_hash = 53913 }
enum  { sip_reply_to_hash = 38016 }
enum  { sip_remote_party_id_hash = 59907 }
enum  { sip_p_asserted_identity_hash = 16399 }
enum  { sip_p_preferred_identity_hash = 44591 }

Functions

sip_refer_sub_t__format__ (printf, 2, 3)))
sip_alert_info_tsip_alert_info_copy (su_home_t *home, sip_alert_info_t const *hdr) __attribute__((__malloc__))
SOFIAPUBFUN issize_t sip_alert_info_d (su_home_t *, msg_header_t *, char *s, isize_t slen)
sip_alert_info_tsip_alert_info_dup (su_home_t *home, sip_alert_info_t const *hdr) __attribute__((__malloc__))
SOFIAPUBFUN issize_t sip_alert_info_e (char b[], isize_t bsiz, msg_header_t const *h, int flags)
sip_alert_info_tsip_alert_info_format (su_home_t *home, char const *fmt,...) __attribute__((__malloc__
sip_alert_info_tsip_alert_info_make (su_home_t *home, char const *s) __attribute__((__malloc__))
int sip_is_alert_info (sip_header_t const *header)
int sip_is_p_asserted_identity (sip_header_t const *header)
int sip_is_p_preferred_identity (sip_header_t const *header)
int sip_is_refer_sub (sip_header_t const *header)
int sip_is_remote_party_id (sip_header_t const *header)
int sip_is_reply_to (sip_header_t const *header)
sip_p_asserted_identity_tsip_p_asserted_identity_copy (su_home_t *home, sip_p_asserted_identity_t const *hdr) __attribute__((__malloc__))
SOFIAPUBFUN issize_t sip_p_asserted_identity_d (su_home_t *, msg_header_t *, char *s, isize_t slen)
sip_p_asserted_identity_tsip_p_asserted_identity_dup (su_home_t *home, sip_p_asserted_identity_t const *hdr) __attribute__((__malloc__))
SOFIAPUBFUN issize_t sip_p_asserted_identity_e (char b[], isize_t bsiz, msg_header_t const *h, int flags)
sip_p_asserted_identity_tsip_p_asserted_identity_format (su_home_t *home, char const *fmt,...) __attribute__((__malloc__
sip_p_asserted_identity_tsip_p_asserted_identity_make (su_home_t *home, char const *s) __attribute__((__malloc__))
int sip_p_initialize_remote_party_id_headers (msg_mclass_t *mclass)
sip_p_preferred_identity_tsip_p_preferred_identity_copy (su_home_t *home, sip_p_preferred_identity_t const *hdr) __attribute__((__malloc__))
SOFIAPUBFUN issize_t sip_p_preferred_identity_d (su_home_t *, msg_header_t *, char *s, isize_t slen)
sip_p_preferred_identity_tsip_p_preferred_identity_dup (su_home_t *home, sip_p_preferred_identity_t const *hdr) __attribute__((__malloc__))
SOFIAPUBFUN issize_t sip_p_preferred_identity_e (char b[], isize_t bsiz, msg_header_t const *h, int flags)
sip_p_preferred_identity_tsip_p_preferred_identity_format (su_home_t *home, char const *fmt,...) __attribute__((__malloc__
sip_p_preferred_identity_tsip_p_preferred_identity_make (su_home_t *home, char const *s) __attribute__((__malloc__))
sip_refer_sub_tsip_refer_sub_copy (su_home_t *home, sip_refer_sub_t const *hdr) __attribute__((__malloc__))
SOFIAPUBFUN issize_t sip_refer_sub_d (su_home_t *, msg_header_t *, char *s, isize_t slen)
sip_refer_sub_tsip_refer_sub_dup (su_home_t *home, sip_refer_sub_t const *hdr) __attribute__((__malloc__))
SOFIAPUBFUN issize_t sip_refer_sub_e (char b[], isize_t bsiz, msg_header_t const *h, int flags)
sip_refer_sub_tsip_refer_sub_format (su_home_t *home, char const *fmt,...) __attribute__((__malloc__
sip_refer_sub_tsip_refer_sub_make (su_home_t *home, char const *s) __attribute__((__malloc__))
sip_remote_party_id_tsip_remote_party_id_copy (su_home_t *home, sip_remote_party_id_t const *hdr) __attribute__((__malloc__))
SOFIAPUBFUN issize_t sip_remote_party_id_d (su_home_t *, msg_header_t *, char *s, isize_t slen)
sip_remote_party_id_tsip_remote_party_id_dup (su_home_t *home, sip_remote_party_id_t const *hdr) __attribute__((__malloc__))
SOFIAPUBFUN issize_t sip_remote_party_id_e (char b[], isize_t bsiz, msg_header_t const *h, int flags)
sip_remote_party_id_tsip_remote_party_id_format (su_home_t *home, char const *fmt,...) __attribute__((__malloc__
sip_remote_party_id_tsip_remote_party_id_make (su_home_t *home, char const *s) __attribute__((__malloc__))
sip_reply_to_tsip_reply_to_copy (su_home_t *home, sip_reply_to_t const *hdr) __attribute__((__malloc__))
SOFIAPUBFUN issize_t sip_reply_to_d (su_home_t *, msg_header_t *, char *s, isize_t slen)
sip_reply_to_tsip_reply_to_dup (su_home_t *home, sip_reply_to_t const *hdr) __attribute__((__malloc__))
SOFIAPUBFUN issize_t sip_reply_to_e (char b[], isize_t bsiz, msg_header_t const *h, int flags)
sip_reply_to_tsip_reply_to_format (su_home_t *home, char const *fmt,...) __attribute__((__malloc__
sip_reply_to_tsip_reply_to_make (su_home_t *home, char const *s) __attribute__((__malloc__))

Variables

SIP_DLL msg_hclass_t sip_alert_info_class []
SIP_DLL msg_hclass_t sip_p_asserted_identity_class []
SIP_DLL msg_hclass_t sip_p_preferred_identity_class []
SIP_DLL msg_hclass_t sip_refer_sub_class []
SIP_DLL msg_hclass_t sip_remote_party_id_class []
SIP_DLL msg_hclass_t sip_reply_to_class []
SOFIAPUBVAR tag_typedef_t siptag_alert_info
SOFIAPUBVAR tag_typedef_t siptag_alert_info_ref
SOFIAPUBVAR tag_typedef_t siptag_alert_info_str
SOFIAPUBVAR tag_typedef_t siptag_alert_info_str_ref
SOFIAPUBVAR tag_typedef_t siptag_p_asserted_identity
SOFIAPUBVAR tag_typedef_t siptag_p_asserted_identity_ref
SOFIAPUBVAR tag_typedef_t siptag_p_asserted_identity_str
SOFIAPUBVAR tag_typedef_t siptag_p_asserted_identity_str_ref
SOFIAPUBVAR tag_typedef_t siptag_p_preferred_identity
SOFIAPUBVAR tag_typedef_t siptag_p_preferred_identity_ref
SOFIAPUBVAR tag_typedef_t siptag_p_preferred_identity_str
SOFIAPUBVAR tag_typedef_t siptag_p_preferred_identity_str_ref
SOFIAPUBVAR tag_typedef_t siptag_refer_sub
SOFIAPUBVAR tag_typedef_t siptag_refer_sub_ref
SOFIAPUBVAR tag_typedef_t siptag_refer_sub_str
SOFIAPUBVAR tag_typedef_t siptag_refer_sub_str_ref
SOFIAPUBVAR tag_typedef_t siptag_remote_party_id
SOFIAPUBVAR tag_typedef_t siptag_remote_party_id_ref
SOFIAPUBVAR tag_typedef_t siptag_remote_party_id_str
SOFIAPUBVAR tag_typedef_t siptag_remote_party_id_str_ref
SOFIAPUBVAR tag_typedef_t siptag_reply_to
SOFIAPUBVAR tag_typedef_t siptag_reply_to_ref
SOFIAPUBVAR tag_typedef_t siptag_reply_to_str
SOFIAPUBVAR tag_typedef_t siptag_reply_to_str_ref


Generated by  Doxygen 1.6.0   Back to index