libosip
5.3.0
|
Macros | |
#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 osip_call_info_clone |
#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 osip_content_disposition_clone osip_call_info_clone |
Clone a Content-Disposition element.
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.
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.
header | The element to work on. |
#define osip_content_disposition_init | ( | header | ) | osip_call_info_init(header) |
Allocate a Content-Disposition element.
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.
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.
header | The element to work on. |
dest | A pointer on the new allocated string. |
Structure for Content-Disposition headers.
int osip_content_disposition_parse | ( | osip_content_disposition_t * | header, |
const char * | hvalue | ||
) |
Parse a Content-Disposition element.
header | The element to work on. |
hvalue | The string to parse. |
References osip_call_info::element, and osip_call_info::gen_params.