#include "../../parser/msg_parser.h"


Go to the source code of this file.
Functions | |
| int | rls_handle_notify (struct sip_msg *msg, char *c1, char *c2) |
| void | rls_presentity_clean (unsigned int ticks, void *param) |
| void | timer_send_notify (unsigned int ticks, void *param) |
| int rls_handle_notify | ( | struct sip_msg * | msg, | |
| char * | c1, | |||
| char * | c2 | |||
| ) |
Definition at line 141 of file resource_notify.c.
References hdr_field::body, to_body::body, ua_pres::call_id, sip_msg::callid, cmp_hdrname_strzn(), sip_msg::content_type, DB_INT, DB_STR, to_body::error, ua_pres::event, sip_msg::event, ua_pres::flag, db_func::free_result, sip_msg::from, ua_pres::from_tag, get_body(), get_content_length, get_event_flag(), HDR_EOH_F, sip_msg::headers, db_func::insert, db_val_t::int_val, _str::len, LM_DBG, LM_ERR, db_res::n, hdr_field::name, hdr_field::next, db_val_t::nul, NULL, parse_from_header(), parse_headers(), parse_subs_state(), parse_to(), hdr_field::parsed, ua_pres::pres_uri, pua_get_record_id, db_func::query, rlpres_table, rls_db, rls_dbf, RLS_SUBSCRIBE, _str::s, sl_binds::send_reply, slb, str_auth_state_col, str_content_type_col, str_expires_col, str_presence_state_col, str_reason_col, str_resource_uri_col, str_rlsubs_did_col, str_updated_col, db_val_t::str_val, to_body::tag_value, sip_msg::to, TO, ua_pres::to_tag, db_val_t::type, db_func::update, UPDATED_TYPE, to_body::uri, db_func::use_table, db_val_t::val, and ua_pres::watcher_uri.
| void rls_presentity_clean | ( | unsigned int | ticks, | |
| void * | param | |||
| ) |
Definition at line 785 of file resource_notify.c.
References DB_INT, db_func::delete, db_val_t::int_val, LM_ERR, db_val_t::nul, NULL, OP_LT, rlpres_table, rls_db, rls_dbf, str_expires_col, db_val_t::type, db_func::use_table, and db_val_t::val.
Referenced by mod_init().
| void timer_send_notify | ( | unsigned int | ticks, | |
| void * | param | |||
| ) |
Definition at line 445 of file resource_notify.c.
References ACTIVE_STATE, agg_body_sendn_update(), auth_state_col, BOUNDARY_STRING_LEN, buf, buf_len, BUF_REALLOC_SIZE, COMPUTE_ANTET_LEN, content_type_col, core_hash(), DB_INT, ERR_MEM, to_body::error, db_func::free_result, from_tag, generate_cid(), generate_string(), get_auth_string(), hash_size, int2str(), db_val_t::int_val, _str::len, len, LM_DBG, LM_ERR, lock, db_res::n, NO_UPDATE_TYPE, db_val_t::nul, NULL, parse_rlsubs_did(), pkg_free, pkg_malloc, PKG_MEM_STR, PKG_MEM_TYPE, pres_copy_subs, pres_search_shtable, pres_state_col, subscription::pres_uri, db_func::query, REALLOC_BUF, reason_col, resource_uri_col, rlpres_table, rls_db, rls_dbf, rls_table, ROW_VALUES, db_res::rows, _str::s, s, str_auth_state_col, str_content_type_col, str_presence_state_col, str_reason_col, str_resource_uri_col, str_rlsubs_did_col, str_updated_col, db_val_t::string_val, TERMINATED_STATE, db_val_t::type, db_func::update, UPDATED_TYPE, db_func::use_table, db_val_t::val, and subscription::version.
Referenced by mod_init().
1.5.6