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

sip_allow Allow Header

The Allow header lists the set of methods supported by the user agent generating the message. Its syntax is defined in as follows:

    Allow  =  "Allow" HCOLON [Method *(COMMA Method)]

The parsed Allow header is stored in sip_allow_t structure.

Note that SIP methods are case-sensitive: "INVITE" method is different from "Invite".

See also:
msg_header_find_item(), msg_header_replace_item(), msg_header_remove_item()

The structure sip_allow_t contains representation of an header.

The sip_allow_t is defined as follows:

 typedef struct msg_allow_s
   msg_common_t       k_common[1];  // Common fragment info
   msg_list_t        *k_next;       // Link to next header
   msg_param_t       *k_items;      // List of items
   uint32_t           k_bitmap;     // Bitmap of allowed methods
 } sip_allow_t;
The field k_bitmap was added in .

Definition at line 142 of file sip.h.

Generated by  Doxygen 1.6.0   Back to index