oSIP content-disposition definition.
[oSIP headers definitions]


Defines

#define osip_content_disposition_init(header)   osip_call_info_init(header)
#define osip_content_disposition_free(header)   osip_call_info_free(header)
#define osip_content_disposition_to_str(header, dest)   osip_call_info_to_str(header,dest)
#define osip_content_disposition_clone(header, dest)   osip_call_info_clone(header, dest)
#define osip_content_disposition_set_type(header, value)   osip_call_info_set_uri(header, value)
#define osip_content_disposition_get_type(header)   osip_call_info_get_uri(header)

Typedefs

typedef osip_call_info_t osip_content_disposition_t

Functions

int osip_content_disposition_parse (osip_content_disposition_t *header, const char *hvalue)

Define Documentation

#define osip_content_disposition_clone ( header,
dest   )     osip_call_info_clone(header, dest)

Clone a Content-Disposition element.

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

#define osip_content_disposition_free ( header   )     osip_call_info_free(header)

Free a Content-Disposition element.

Parameters:
header The element to work on.

#define osip_content_disposition_get_type ( header   )     osip_call_info_get_uri(header)

Get the type from a Content-Disposition header.

Parameters:
header The element to work on.

#define osip_content_disposition_init ( header   )     osip_call_info_init(header)

Allocate a Content-Disposition element.

Parameters:
header The element to work on.

#define osip_content_disposition_set_type ( header,
value   )     osip_call_info_set_uri(header, value)

Set the type in the Content-Disposition element.

Parameters:
header The element to work on.
value The value of the element.

#define osip_content_disposition_to_str ( header,
dest   )     osip_call_info_to_str(header,dest)

Get a string representation of a Content-Disposition element.

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


Typedef Documentation

osip_content_disposition_t

Structure for Content-Disposition headers.


Function Documentation

int osip_content_disposition_parse ( osip_content_disposition_t header,
const char *  hvalue 
)

Parse a Content-Disposition element.

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


Generated on Wed Feb 13 01:03:29 2008 for libosip by  doxygen 1.5.4