oSIP content-length definition.
[oSIP headers definitions]


Classes

struct  osip_content_length
struct  osip_content_length

Typedefs

typedef struct osip_content_length osip_content_length_t

Functions

int osip_content_length_init (osip_content_length_t **header)
void osip_content_length_free (osip_content_length_t *header)
int osip_content_length_parse (osip_content_length_t *header, const char *hvalue)
int osip_content_length_to_str (const osip_content_length_t *header, char **dest)
int osip_content_length_clone (const osip_content_length_t *header, osip_content_length_t **dest)

Typedef Documentation

osip_content_length_t

Structure for Content-Length headers.


Function Documentation

int osip_content_length_clone ( const osip_content_length_t header,
osip_content_length_t **  dest 
)

Clone a Content-Length element.

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

void osip_content_length_free ( osip_content_length_t header  ) 

Free a Content-Length element.

Parameters:
header The element to work on.

int osip_content_length_init ( osip_content_length_t **  header  ) 

Allocate a Content-Length element.

Parameters:
header The element to work on.

int osip_content_length_parse ( osip_content_length_t header,
const char *  hvalue 
)

Parse a Content-Length element.

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

int osip_content_length_to_str ( const osip_content_length_t header,
char **  dest 
)

Get a string representation of a Content-Length element.

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


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