int osip_body_clone(const osip_body_t *body, osip_body_t **dest)
Definition: osip_body.c:73
void osip_body_free(osip_body_t *body)
Definition: osip_body.c:491
int osip_body_parse(osip_body_t *body, const char *buf, size_t length)
Definition: osip_body.c:295
int osip_body_to_str(const osip_body_t *body, char **dest, size_t *length)
Definition: osip_body.c:372
int osip_body_parse_mime(osip_body_t *body, const char *buf, size_t length)
Definition: osip_body.c:316
int osip_body_init(osip_body_t **body)
Definition: osip_body.c:30
int osip_body_set_header(osip_body_t *body, const char *hname, const char *hvalue)
Definition: osip_body.c:161
int osip_body_set_contenttype(osip_body_t *body, const char *hvalue)
Definition: osip_body.c:136
oSIP osip_content_type header definition.
Definition: osip_body.h:47
osip_content_type_t * content_type
Definition: osip_body.h:51
char * body
Definition: osip_body.h:48
osip_list_t * headers
Definition: osip_body.h:50
size_t length
Definition: osip_body.h:49
Definition: osip_content_type.h:46