send_subscribe.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <libxml/parser.h>
#include "../../mem/mem.h"
#include "../../dprint.h"
#include "../../ut.h"
#include "../tm/tm_load.h"
#include "../tm/dlg.h"
#include "../../parser/msg_parser.h"
#include "../../parser/contact/parse_contact.h"
#include "../../parser/parse_from.h"
#include "../../parser/parse_expires.h"
#include "../presence/hash.h"
#include "hash.h"
#include "pua.h"
#include "send_subscribe.h"
#include "pua_callback.h"
#include "event_list.h"

Include dependency graph for send_subscribe.c:

Go to the source code of this file.

Functions

void print_subs (subs_info_t *subs)
dlg_tpua_build_dlg_t (ua_pres_t *presentity)
int send_subscribe (subs_info_t *subs)
strsubs_build_hdr (str *contact, int expires, int event, str *extra_headers)
void subs_cback_func (struct cell *t, int cb_type, struct tmcb_params *ps)
ua_pres_tsubs_cbparam_indlg (ua_pres_t *subs, int expires, int ua_flag)
ua_pres_tsubscribe_cbparam (subs_info_t *subs, int ua_flag)


Function Documentation

void print_subs ( subs_info_t subs  ) 

Definition at line 49 of file send_subscribe.c.

References _str::len, LM_DBG, subs_info::pres_uri, _str::s, and subs_info::watcher_uri.

Referenced by send_subscribe().

dlg_t* pua_build_dlg_t ( ua_pres_t presentity  ) 

int send_subscribe ( subs_info_t subs  ) 

str* subs_build_hdr ( str contact,
int  expires,
int  event,
str extra_headers 
)

void subs_cback_func ( struct cell t,
int  cb_type,
struct tmcb_params ps 
)

ua_pres_t* subs_cbparam_indlg ( ua_pres_t subs,
int  expires,
int  ua_flag 
)

ua_pres_t* subscribe_cbparam ( subs_info_t subs,
int  ua_flag 
)


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