BLOG | DOCUMENTATION | TRAC

Home --> Documentations --> PJSIP Reference

pidf.h File Reference

PIDF/Presence Information Data Format (RFC 3863) More...

#include <pjsip-simple/types.h>
#include <pjlib-util/xml.h>

Functions

pjpidf_pres * pjpidf_create (pj_pool_t *pool, const pj_str_t *entity)
 
pjpidf_pres * pjpidf_parse (pj_pool_t *pool, char *text, int len)
 
int pjpidf_print (const pjpidf_pres *pres, char *buf, int len)
 
void pjpidf_pres_construct (pj_pool_t *pool, pjpidf_pres *pres, const pj_str_t *entity)
 
pjpidf_tuple * pjpidf_pres_add_tuple (pj_pool_t *pool, pjpidf_pres *pres, const pj_str_t *id)
 
pjpidf_tuple * pjpidf_pres_get_first_tuple (pjpidf_pres *pres)
 
pjpidf_tuple * pjpidf_pres_get_next_tuple (pjpidf_pres *pres, pjpidf_tuple *t)
 
pjpidf_tuple * pjpidf_pres_find_tuple (pjpidf_pres *pres, const pj_str_t *id)
 
void pjpidf_pres_remove_tuple (pjpidf_pres *pres, pjpidf_tuple *)
 
pjpidf_note * pjpidf_pres_add_note (pj_pool_t *pool, pjpidf_pres *pres, const pj_str_t *text)
 
pjpidf_note * pjpidf_pres_get_first_note (pjpidf_pres *pres)
 
pjpidf_note * pjpidf_pres_get_next_note (pjpidf_pres *, pjpidf_note *)
 
void pjpidf_tuple_construct (pj_pool_t *pool, pjpidf_tuple *t, const pj_str_t *id)
 
const pj_str_tpjpidf_tuple_get_id (const pjpidf_tuple *t)
 
void pjpidf_tuple_set_id (pj_pool_t *pool, pjpidf_tuple *t, const pj_str_t *id)
 
pjpidf_status * pjpidf_tuple_get_status (pjpidf_tuple *t)
 
const pj_str_tpjpidf_tuple_get_contact (const pjpidf_tuple *t)
 
void pjpidf_tuple_set_contact (pj_pool_t *pool, pjpidf_tuple *t, const pj_str_t *contact)
 
void pjpidf_tuple_set_contact_prio (pj_pool_t *pool, pjpidf_tuple *t, const pj_str_t *prio)
 
const pj_str_tpjpidf_tuple_get_contact_prio (const pjpidf_tuple *t)
 
pjpidf_note * pjpidf_tuple_add_note (pj_pool_t *pool, pjpidf_tuple *t, const pj_str_t *text)
 
pjpidf_note * pjpidf_tuple_get_first_note (pjpidf_tuple *t)
 
pjpidf_note * pjpidf_tuple_get_next_note (pjpidf_tuple *t, pjpidf_note *n)
 
const pj_str_tpjpidf_tuple_get_timestamp (const pjpidf_tuple *t)
 
void pjpidf_tuple_set_timestamp (pj_pool_t *pool, pjpidf_tuple *t, const pj_str_t *ts)
 
void pjpidf_tuple_set_timestamp_np (pj_pool_t *, pjpidf_tuple *t, pj_str_t *ts)
 
void pjpidf_status_construct (pj_pool_t *, pjpidf_status *)
 
pj_bool_t pjpidf_status_is_basic_open (const pjpidf_status *)
 
void pjpidf_status_set_basic_open (pjpidf_status *, pj_bool_t)
 

Variables

struct pjpidf_op_desc pjpidf_op
 

 


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