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

msg_accept_encoding_t* msg_accept_encoding_make ( su_home_t home,
char const *  s 
)

Make a header structure msg_accept_encoding_t.

The function msg_accept_encoding_make() makes a new msg_accept_encoding_t header structure. It allocates a new header structure, and decodes the string s as the value of the structure.

Parameters:
home memory home used to allocate new header structure.
s string to be decoded as value of the new header structure
Note:
This function may be implemented as a macro calling msg_header_make().
Returns:
The function msg_accept_encoding_make() returns a pointer to newly maked msg_accept_encoding_t header structure, or NULL upon an error.


Generated by  Doxygen 1.6.0   Back to index