BLOG | DOCUMENTATION | TRAC

Home --> Documentations --> PJSIP Reference

publish.h File Reference

SIP Extension for Event State Publication (PUBLISH, RFC 3903) More...

#include <pjsip/sip_util.h>
#include <pjsip/sip_auth.h>

Data Structures

struct  pjsip_publishc_opt
 
struct  pjsip_publishc_cbparam
 

Macros

#define PJSIP_PUBC_EXPIRATION_NOT_SPECIFIED   ((pj_uint32_t)0xFFFFFFFFUL)
 

Typedefs

typedef struct pjsip_publishc pjsip_publishc
 
typedef void pjsip_publishc_cb(struct pjsip_publishc_cbparam *param)
 

Functions

void pjsip_publishc_opt_default (pjsip_publishc_opt *opt)
 
pj_status_t pjsip_publishc_init_module (pjsip_endpoint *endpt)
 
pj_status_t pjsip_publishc_create (pjsip_endpoint *endpt, const pjsip_publishc_opt *opt, void *token, pjsip_publishc_cb *cb, pjsip_publishc **p_pubc)
 
pj_status_t pjsip_publishc_destroy (pjsip_publishc *pubc)
 
pj_pool_tpjsip_publishc_get_pool (pjsip_publishc *pubc)
 
pj_status_t pjsip_publishc_init (pjsip_publishc *pubc, const pj_str_t *event, const pj_str_t *target_uri, const pj_str_t *from_uri, const pj_str_t *to_uri, pj_uint32_t expires)
 
pj_status_t pjsip_publishc_set_credentials (pjsip_publishc *pubc, int count, const pjsip_cred_info c[])
 
pj_status_t pjsip_publishc_set_route_set (pjsip_publishc *pubc, const pjsip_route_hdr *rs)
 
pj_status_t pjsip_publishc_set_headers (pjsip_publishc *pubc, const pjsip_hdr *hdr_list)
 
pj_status_t pjsip_publishc_set_via_sent_by (pjsip_publishc *pubc, pjsip_host_port *via_addr, pjsip_transport *via_tp)
 
pj_status_t pjsip_publishc_publish (pjsip_publishc *pubc, pj_bool_t auto_refresh, pjsip_tx_data **p_tdata)
 
pj_status_t pjsip_publishc_unpublish (pjsip_publishc *pubc, pjsip_tx_data **p_tdata)
 
pj_status_t pjsip_publishc_update_expires (pjsip_publishc *pubc, pj_uint32_t expires)
 
pj_status_t pjsip_publishc_send (pjsip_publishc *pubc, pjsip_tx_data *tdata)
 

Variables

const pjsip_method pjsip_publish_method
 

 


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