123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137 |
- #ifndef __PJSIP_SIMPLE_ISCOMPOSING_H__
- #define __PJSIP_SIMPLE_ISCOMPOSING_H__
- #include <pjsip-simple/types.h>
- #include <pjlib-util/xml.h>
- PJ_BEGIN_DECL
- PJ_DECL(pj_xml_node*) pjsip_iscomposing_create_xml(pj_pool_t *pool,
- pj_bool_t is_composing,
- const pj_time_val *lst_actv,
- const pj_str_t *content_tp,
- int refresh);
- PJ_DECL(pjsip_msg_body*) pjsip_iscomposing_create_body( pj_pool_t *pool,
- pj_bool_t is_composing,
- const pj_time_val *lst_actv,
- const pj_str_t *content_tp,
- int refresh);
- PJ_DECL(pj_status_t) pjsip_iscomposing_parse( pj_pool_t *pool,
- char *msg,
- pj_size_t len,
- pj_bool_t *p_is_composing,
- pj_str_t **p_last_active,
- pj_str_t **p_content_type,
- int *p_refresh );
- PJ_END_DECL
- #endif
|