SIP Witch 1.9.15
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Data Structures | Typedefs | Functions
osip_body.h File Reference

oSIP SIP Message Body Routines More...

#include <osipparser2/headers/osip_content_type.h>
Include dependency graph for osip_body.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  osip_body
 Structure for holding Body. More...
 

Typedefs

typedef struct osip_body osip_body_t
 Structure for holding Body. More...
 

Functions

int osip_body_init (osip_body_t **body)
 Allocate a osip_body_t element. More...
 
void osip_body_free (osip_body_t *body)
 Free a osip_body_t element. More...
 
int osip_body_parse (osip_body_t *body, const char *buf, size_t length)
 Parse a osip_body_t element. More...
 
int osip_body_clone (const osip_body_t *body, osip_body_t **dest)
 Clone a osip_body_t element. More...
 
int osip_body_parse_mime (osip_body_t *body, const char *buf, size_t length)
 Parse a osip_body_t element. More...
 
int osip_body_to_str (const osip_body_t *body, char **dest, size_t *length)
 Get a string representation of a osip_body_t element. More...
 
int osip_body_set_contenttype (osip_body_t *body, const char *hvalue)
 Set the Content-Type header in the osip_body_t element. More...
 
int osip_body_set_header (osip_body_t *body, const char *hname, const char *hvalue)
 Add a header in the osip_body_t element. More...
 

Detailed Description

oSIP SIP Message Body Routines

Definition in file osip_body.h.