presence/notify.h File Reference

Kamailio presence module :: NOTIFY support. More...

#include "../../str.h"
#include "../tm/dlg.h"
#include "subscribe.h"
#include "presentity.h"

Include dependency graph for presence/notify.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  watcher
struct  wid_cback

Defines

#define BLA_LEN   10
#define FULL_STATE_FLAG   (1<<0)
#define PARTIAL_STATE_FLAG   (1<<1)
#define PRES_LEN   8
#define PWINFO_LEN   14

Typedefs

typedef struct wid_cback c_back_param
typedef struct watcher watcher_t

Functions

char * get_status_str (int flag)
int notify (subs_t *subs, subs_t *watcher_subs, str *n_body, int force_null_body)
void PRINT_DLG (FILE *out, dlg_t *_d)
void printf_subs (subs_t *subs)
int publ_notify (presentity_t *p, str pres_uri, str *body, str *offline_etag, str *rules_doc)
int query_db_notify (str *pres_uri, pres_ev_t *event, subs_t *watcher_subs)
int send_notify_request (subs_t *subs, subs_t *watcher_subs, str *n_body, int force_null_body)

Variables

str str_body_col
str str_callid_col
str str_contact_col
str str_domain_col
str str_etag_col
str str_event_col
str str_event_id_col
str str_expires_col
str str_from_tag_col
str str_id_col
str str_inserted_time_col
str str_local_contact_col
str str_local_cseq_col
str str_presentity_uri_col
str str_reason_col
str str_received_time_col
str str_record_route_col
str str_remote_cseq_col
str str_sender_col
str str_socket_info_col
str str_status_col
str str_to_domain_col
str str_to_tag_col
str str_to_user_col
str str_username_col
str str_version_col
str str_watcher_domain_col
str str_watcher_username_col


Detailed Description

Kamailio presence module :: NOTIFY support.

Definition in file presence/notify.h.


Define Documentation

#define BLA_LEN   10

Definition at line 48 of file presence/notify.h.

#define FULL_STATE_FLAG   (1<<0)

Definition at line 43 of file presence/notify.h.

Referenced by create_winfo_xml(), and get_wi_notify_body().

#define PARTIAL_STATE_FLAG   (1<<1)

Definition at line 44 of file presence/notify.h.

Referenced by get_wi_notify_body().

#define PRES_LEN   8

Definition at line 46 of file presence/notify.h.

Referenced by xcap_doc_updated().

#define PWINFO_LEN   14

Definition at line 47 of file presence/notify.h.


Typedef Documentation

typedef struct wid_cback c_back_param

typedef struct watcher watcher_t


Function Documentation

char* get_status_str ( int  flag  ) 

int notify ( subs_t subs,
subs_t watcher_subs,
str n_body,
int  force_null_body 
)

void PRINT_DLG ( FILE *  out,
dlg_t _d 
)

void printf_subs ( subs_t subs  ) 

int publ_notify ( presentity_t p,
str  pres_uri,
str body,
str offline_etag,
str rules_doc 
)

int query_db_notify ( str pres_uri,
pres_ev_t event,
subs_t watcher_subs 
)

int send_notify_request ( subs_t subs,
subs_t watcher_subs,
str n_body,
int  force_null_body 
)


Variable Documentation

Definition at line 70 of file presence/notify.c.

Referenced by get_sphere(), pres_htable_restore(), and update_presentity().

Definition at line 79 of file presence/notify.c.

Definition at line 83 of file presence/notify.c.

Definition at line 69 of file presence/notify.c.

Definition at line 76 of file presence/notify.c.

Definition at line 75 of file presence/notify.c.

Definition at line 74 of file presence/notify.c.

Definition at line 84 of file presence/notify.c.

Definition at line 77 of file presence/notify.c.

Definition at line 93 of file presence/notify.c.

Referenced by msg_watchers_clean().

Definition at line 91 of file presence/notify.c.

Referenced by insert_db_subs_auth(), and msg_watchers_clean().

Definition at line 88 of file presence/notify.c.

Definition at line 80 of file presence/notify.c.

Definition at line 90 of file presence/notify.c.

Definition at line 86 of file presence/notify.c.

Definition at line 92 of file presence/notify.c.

Referenced by update_presentity().

Definition at line 82 of file presence/notify.c.

Definition at line 81 of file presence/notify.c.

Definition at line 94 of file presence/notify.c.

Referenced by update_presentity().

Definition at line 87 of file presence/notify.c.

Definition at line 85 of file presence/notify.c.

Definition at line 71 of file presence/notify.c.

Definition at line 78 of file presence/notify.c.

Definition at line 67 of file presence/notify.c.

Definition at line 68 of file presence/notify.c.

Definition at line 89 of file presence/notify.c.

Definition at line 73 of file presence/notify.c.

Definition at line 72 of file presence/notify.c.


Generated on Thu May 24 08:01:12 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6