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

typedef struct msg_content_language_s sip_content_language_t

sip_content_language Content-Language Header

The Content-Language header section 14.12 describes the natural language(s) of the intended audience for the enclosed entity. Note that this might not be equivalent to all the languages used within the entity-body. Its syntax is defined in as follows:

    Content-Language  =  "Content-Language" HCOLON
                         language-tag *(COMMA language-tag)
    language-tag      =  primary-tag *( "-" subtag )
    primary-tag       =  1*8ALPHA
    subtag            =  1*8ALPHA

The parsed Content-Language header is stored in sip_content_language_t structure.

The structure sip_content_language_t contains representation of header.

The sip_content_language_t is defined as follows:

 typedef struct {
   msg_common_t            k_common[1]; // Common fragment info
   msg_content_language_t *k_next;      // (Content-Encoding header)
   msg_param_t            *k_items;     // List of languages
 } sip_content_language_t;

Definition at line 153 of file sip.h.

Generated by  Doxygen 1.6.0   Back to index