BLOG | DOCUMENTATION | TRAC

Home --> Documentations --> PJSIP Reference

sip_multipart.h File Reference

Multipart support. More...

#include <pjsip/sip_msg.h>

Data Structures

struct  pjsip_multipart_part
 

Functions

pjsip_msg_bodypjsip_multipart_create (pj_pool_t *pool, const pjsip_media_type *ctype, const pj_str_t *boundary)
 
pjsip_multipart_partpjsip_multipart_create_part (pj_pool_t *pool)
 
pjsip_multipart_partpjsip_multipart_clone_part (pj_pool_t *pool, const pjsip_multipart_part *part)
 
pj_status_t pjsip_multipart_add_part (pj_pool_t *pool, pjsip_msg_body *mp, pjsip_multipart_part *part)
 
pjsip_multipart_partpjsip_multipart_get_first_part (const pjsip_msg_body *mp)
 
pjsip_multipart_partpjsip_multipart_get_next_part (const pjsip_msg_body *mp, pjsip_multipart_part *part)
 
pjsip_multipart_partpjsip_multipart_find_part (const pjsip_msg_body *mp, const pjsip_media_type *content_type, const pjsip_multipart_part *start)
 
pjsip_multipart_partpjsip_multipart_find_part_by_header (pj_pool_t *pool, const pjsip_msg_body *mp, void *search_hdr, const pjsip_multipart_part *start)
 
pjsip_multipart_partpjsip_multipart_find_part_by_header_str (pj_pool_t *pool, const pjsip_msg_body *mp, const pj_str_t *hdr_name, const pj_str_t *hdr_value, const pjsip_multipart_part *start)
 
pjsip_multipart_partpjsip_multipart_find_part_by_cid_str (pj_pool_t *pool, const pjsip_msg_body *mp, pj_str_t *cid)
 
pjsip_multipart_partpjsip_multipart_find_part_by_cid_uri (pj_pool_t *pool, const pjsip_msg_body *mp, pjsip_other_uri *cid_uri)
 
pjsip_msg_bodypjsip_multipart_parse (pj_pool_t *pool, char *buf, pj_size_t len, const pjsip_media_type *ctype, unsigned options)
 
pj_status_t pjsip_multipart_get_raw (pjsip_msg_body *mp, pj_str_t *boundary, pj_str_t *raw_data)
 

 


PJSIP Open Source, high performance, small footprint, and very very portable SIP stack
Copyright (C) 2006-2008 Teluu Inc.