Main Page | Modules | Class List | Directories | File List | Class Members | File Members | Related Pages

oSIP accept header definition.
[oSIP headers definitions]


Defines

#define accept_init(header)   osip_content_type_init(header)
#define osip_accept_free(header)   osip_content_type_free(header)
#define osip_accept_parse(header, hvalue)   osip_content_type_parse(header, hvalue)
#define osip_accept_to_str(header, dest)   osip_content_type_to_str(header, dest)
#define osip_accept_clone(header, dest)   osip_content_type_clone(header, dest)
#define osip_accept_param_add(header, name, value)   osip_generic_param_add((header)->gen_params,name,value)
#define osip_accept_param_get_byname(header, name, dest)   osip_generic_param_get_byname((header)->gen_params,name,dest)

Typedefs

typedef osip_content_type_t osip_accept_t

Define Documentation

#define accept_init header   )     osip_content_type_init(header)
 

Allocate an Accept element.

Parameters:
header The element to work on.

#define osip_accept_clone header,
dest   )     osip_content_type_clone(header, dest)
 

Clone an Accept element.

Parameters:
header The element to work on.
dest A pointer on the copy of the element.

#define osip_accept_free header   )     osip_content_type_free(header)
 

Free an Accept element.

Parameters:
header The element to work on.

#define osip_accept_param_add header,
name,
value   )     osip_generic_param_add((header)->gen_params,name,value)
 

Allocate and add a header parameter in an Accept element.

Parameters:
header The element to work on.
name The token name.
value The token value.

#define osip_accept_param_get_byname header,
name,
dest   )     osip_generic_param_get_byname((header)->gen_params,name,dest)
 

Find a header parameter in an Accept element.

Parameters:
header The element to work on.
name The token name to search.
dest A pointer on the element found.

#define osip_accept_parse header,
hvalue   )     osip_content_type_parse(header, hvalue)
 

Parse an Accept element.

Parameters:
header The element to work on.
hvalue The string to parse.

#define osip_accept_to_str header,
dest   )     osip_content_type_to_str(header, dest)
 

Get a string representation of an Accept element.

Parameters:
header The element to work on.
dest A pointer on the new allocated string.


Typedef Documentation

osip_accept_t
 

Structure for accept headers.


Generated on Tue Feb 22 00:59:47 2005 for libosip by  doxygen 1.4.1