SIP Witch 1.9.15
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros | Typedefs | Functions
oSIP content-disposition definition.
Collaboration diagram for oSIP content-disposition definition.:

Macros

#define osip_content_disposition_init(header)   osip_call_info_init(header)
 Allocate a Content-Disposition element. More...
 
#define osip_content_disposition_free(header)   osip_call_info_free(header)
 Free a Content-Disposition element. More...
 
#define osip_content_disposition_to_str(header, dest)   osip_call_info_to_str(header,dest)
 Get a string representation of a Content-Disposition element. More...
 
#define osip_content_disposition_clone   osip_call_info_clone
 Clone a Content-Disposition element. More...
 
#define osip_content_disposition_set_type(header, value)   osip_call_info_set_uri(header, value)
 Set the type in the Content-Disposition element. More...
 
#define osip_content_disposition_get_type(header)   osip_call_info_get_uri(header)
 Get the type from a Content-Disposition header. More...
 

Typedefs

typedef osip_call_info_t osip_content_disposition_t
 Structure for Content-Disposition headers. More...
 

Functions

int osip_content_disposition_parse (osip_content_disposition_t *header, const char *hvalue)
 Parse a Content-Disposition element. More...
 

Detailed Description

Macro Definition Documentation

#define osip_content_disposition_clone   osip_call_info_clone

#include <osip_content_disposition.h>

Clone a Content-Disposition element.

Parameters
headerThe element to work on.
destA pointer on the copy of the element.

Definition at line 76 of file osip_content_disposition.h.

#define osip_content_disposition_free (   header)    osip_call_info_free(header)

#include <osip_content_disposition.h>

Free a Content-Disposition element.

Parameters
headerThe element to work on.

Definition at line 57 of file osip_content_disposition.h.

#define osip_content_disposition_get_type (   header)    osip_call_info_get_uri(header)

#include <osip_content_disposition.h>

Get the type from a Content-Disposition header.

Parameters
headerThe element to work on.

Definition at line 89 of file osip_content_disposition.h.

#define osip_content_disposition_init (   header)    osip_call_info_init(header)

#include <osip_content_disposition.h>

Allocate a Content-Disposition element.

Parameters
headerThe element to work on.

Definition at line 52 of file osip_content_disposition.h.

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

#include <osip_content_disposition.h>

Set the type in the Content-Disposition element.

Parameters
headerThe element to work on.
valueThe value of the element.

Definition at line 84 of file osip_content_disposition.h.

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

#include <osip_content_disposition.h>

Get a string representation of a Content-Disposition element.

Parameters
headerThe element to work on.
destA pointer on the new allocated string.

Definition at line 70 of file osip_content_disposition.h.

Typedef Documentation

#include <osip_content_disposition.h>

Structure for Content-Disposition headers.

Definition at line 41 of file osip_content_disposition.h.

Function Documentation

int osip_content_disposition_parse ( osip_content_disposition_t header,
const char *  hvalue 
)

#include <osip_content_disposition.h>

Parse a Content-Disposition element.

Parameters
headerThe element to work on.
hvalueThe string to parse.