libosip  4.0.0
Macros | Typedefs | Functions
oSIP content-disposition definition.
oSIP headers definitions

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(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)

Detailed Description

Macro Definition Documentation

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

Clone a Content-Disposition element.

Parameters
headerThe element to work on.
destA pointer on the copy of the element.
#define osip_content_disposition_free (   header)    osip_call_info_free(header)

Free a Content-Disposition element.

Parameters
headerThe 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
headerThe element to work on.
#define osip_content_disposition_init (   header)    osip_call_info_init(header)

Allocate a Content-Disposition element.

Parameters
headerThe 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
headerThe element to work on.
valueThe 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
headerThe element to work on.
destA pointer on the new allocated string.

Typedef Documentation

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
headerThe element to work on.
hvalueThe string to parse.

References osip_call_info::element, and osip_call_info::gen_params.