21 #ifndef _OSIP_ACCEPT_ENCONDING_H_
22 #define _OSIP_ACCEPT_ENCONDING_H_
107 #define osip_accept_encoding_param_add(header,name,value) osip_generic_param_add((&(header)->gen_params),name,value)
114 #define osip_accept_encoding_param_get_byname(header,name,dest) osip_generic_param_get_byname((&(header)->gen_params),name,dest)
Structure for referencing a list of elements.
char * element
accept encoding main value
void osip_accept_encoding_free(osip_accept_encoding_t *header)
Free a Accept-Encoding element.
int osip_accept_encoding_clone(const osip_accept_encoding_t *header, osip_accept_encoding_t **dest)
Clone a Accept-Encoding element.
Definition of the Accept-Encoding header.
void osip_accept_encoding_set_element(osip_accept_encoding_t *header, char *value)
Set the value of an Accept-Encoding element.
int osip_accept_encoding_to_str(const osip_accept_encoding_t *header, char **dest)
Get a string representation of a Accept-Encoding element.
char * osip_accept_encoding_get_element(const osip_accept_encoding_t *header)
Get the value of an Accept-Encoding element.
int osip_accept_encoding_parse(osip_accept_encoding_t *header, const char *hvalue)
Parse a Accept-Encoding element.
osip_list_t gen_params
accept encoding parameters
int osip_accept_encoding_init(osip_accept_encoding_t **header)
Allocate a Accept-Encoding element.