diff options
author | Benny Prijono <bennylp@teluu.com> | 2010-08-01 09:48:51 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2010-08-01 09:48:51 +0000 |
commit | 059d687249f0f95e0b30785c418e1aa47555615a (patch) | |
tree | 792e10acf82954faca0a2b7fe937064a1ecb81d8 /pjsip/include/pjsua-lib/pjsua.h | |
parent | 1426b8301e4d99837bd70ce73b350d03fafbfd45 (diff) |
Implemented core multipart support and support in the invite session (re #1070)
- incoming multipart message will be handled automatically
- for testing, enable HAVE_MULTIPART_TEST in pjsua_app.c
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3243 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/include/pjsua-lib/pjsua.h')
-rw-r--r-- | pjsip/include/pjsua-lib/pjsua.h | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/pjsip/include/pjsua-lib/pjsua.h b/pjsip/include/pjsua-lib/pjsua.h index add306b9..7c770e05 100644 --- a/pjsip/include/pjsua-lib/pjsua.h +++ b/pjsip/include/pjsua-lib/pjsua.h @@ -1186,10 +1186,26 @@ struct pjsua_msg_data pj_str_t content_type; /** - * Optional message body. + * Optional message body to be added to the message, only when the + * message doesn't have a body. */ pj_str_t msg_body; + /** + * Content type of the multipart body. If application wants to send + * multipart message bodies, it puts the parts in \a parts and set + * the content type in \a multipart_ctype. If the message already + * contains a body, the body will be added to the multipart bodies. + */ + pjsip_media_type multipart_ctype; + + /** + * List of multipart parts. If application wants to send multipart + * message bodies, it puts the parts in \a parts and set the content + * type in \a multipart_ctype. If the message already contains a body, + * the body will be added to the multipart bodies. + */ + pjsip_multipart_part multipart_parts; }; |