123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207 |
- #ifndef __PJSIP_XFER_H__
- #define __PJSIP_XFER_H__
- #include <pjsip-simple/evsub.h>
- #include <pjsip/sip_msg.h>
- PJ_BEGIN_DECL
- PJ_DECL_DATA(const pjsip_method) pjsip_refer_method;
- PJ_DECL(const pjsip_method*) pjsip_get_refer_method(void);
- PJ_DECL(pj_status_t) pjsip_xfer_init_module(pjsip_endpoint *endpt);
- PJ_DECL(pj_status_t) pjsip_xfer_create_uac( pjsip_dialog *dlg,
- const pjsip_evsub_user *user_cb,
- pjsip_evsub **p_evsub );
- PJ_DECL(pj_status_t) pjsip_xfer_create_uas( pjsip_dialog *dlg,
- const pjsip_evsub_user *user_cb,
- pjsip_rx_data *rdata,
- pjsip_evsub **p_evsub );
- PJ_DECL(pj_status_t) pjsip_xfer_initiate( pjsip_evsub *sub,
- const pj_str_t *refer_to_uri,
- pjsip_tx_data **p_tdata);
- PJ_DECL(pj_status_t) pjsip_xfer_accept( pjsip_evsub *sub,
- pjsip_rx_data *rdata,
- int st_code,
- const pjsip_hdr *hdr_list );
- PJ_DECL(pj_status_t) pjsip_xfer_notify( pjsip_evsub *sub,
- pjsip_evsub_state state,
- int xfer_st_code,
- const pj_str_t *xfer_st_text,
- pjsip_tx_data **p_tdata);
- PJ_DECL(pj_status_t) pjsip_xfer_current_notify( pjsip_evsub *sub,
- pjsip_tx_data **p_tdata );
- PJ_DECL(pj_status_t) pjsip_xfer_send_request( pjsip_evsub *sub,
- pjsip_tx_data *tdata);
- PJ_END_DECL
- #endif
|