BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJSIP Reference

presence.h File Reference

SIP Extension for Presence (RFC 3856) More...

Data Structures

struct  pjsip_pres_status
 

Macros

#define PJSIP_PRES_STATUS_MAX_INFO   8
 

Functions

pj_status_t pjsip_pres_init_module (pjsip_endpoint *endpt, pjsip_module *mod_evsub)
 
pjsip_modulepjsip_pres_instance (void)
 
pj_status_t pjsip_pres_create_uac (pjsip_dialog *dlg, const pjsip_evsub_user *user_cb, unsigned options, pjsip_evsub **p_evsub)
 
pj_status_t pjsip_pres_create_uas (pjsip_dialog *dlg, const pjsip_evsub_user *user_cb, pjsip_rx_data *rdata, pjsip_evsub **p_evsub)
 
pj_status_t pjsip_pres_terminate (pjsip_evsub *sub, pj_bool_t notify)
 
pj_status_t pjsip_pres_initiate (pjsip_evsub *sub, pj_uint32_t expires, pjsip_tx_data **p_tdata)
 
pj_status_t pjsip_pres_add_header (pjsip_evsub *sub, const pjsip_hdr *hdr_list)
 
pj_status_t pjsip_pres_accept (pjsip_evsub *sub, pjsip_rx_data *rdata, int st_code, const pjsip_hdr *hdr_list)
 
pj_status_t pjsip_pres_notify (pjsip_evsub *sub, pjsip_evsub_state state, const pj_str_t *state_str, const pj_str_t *reason, pjsip_tx_data **p_tdata)
 
pj_status_t pjsip_pres_current_notify (pjsip_evsub *sub, pjsip_tx_data **p_tdata)
 
pj_status_t pjsip_pres_send_request (pjsip_evsub *sub, pjsip_tx_data *tdata)
 
pj_status_t pjsip_pres_get_status (pjsip_evsub *sub, pjsip_pres_status *status)
 
pj_status_t pjsip_pres_set_status (pjsip_evsub *sub, const pjsip_pres_status *status)
 
pj_status_t pjsip_pres_create_pidf (pj_pool_t *pool, const pjsip_pres_status *status, const pj_str_t *entity, pjsip_msg_body **p_body)
 
pj_status_t pjsip_pres_create_xpidf (pj_pool_t *pool, const pjsip_pres_status *status, const pj_str_t *entity, pjsip_msg_body **p_body)
 
pj_status_t pjsip_pres_parse_pidf (pjsip_rx_data *rdata, pj_pool_t *pool, pjsip_pres_status *status)
 
pj_status_t pjsip_pres_parse_pidf2 (char *body, unsigned body_len, pj_pool_t *pool, pjsip_pres_status *status)
 
pj_status_t pjsip_pres_parse_xpidf (pjsip_rx_data *rdata, pj_pool_t *pool, pjsip_pres_status *status)
 
pj_status_t pjsip_pres_parse_xpidf2 (char *body, unsigned body_len, pj_pool_t *pool, pjsip_pres_status *status)
 

 


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