Functions

modules_k/presence/subscribe.c File Reference

Kamailio presence module :: Support for SUBSCRIBE handling. More...

#include "../../ut.h"
#include "../../usr_avp.h"
#include "../../data_lump_rpl.h"
#include "../../parser/parse_expires.h"
#include "../../parser/parse_event.h"
#include "../../parser/contact/parse_contact.h"
#include "../../hashes.h"
#include "presence.h"
#include "subscribe.h"
#include "utils_func.h"
#include "notify.h"
#include "../pua/hash.h"
#include "../../mod_fix.h"
Include dependency graph for modules_k/presence/subscribe.c:

Go to the source code of this file.

Functions


Detailed Description

Definition in file modules_k/presence/subscribe.c.


Function Documentation

void timer_db_update ( unsigned int  ticks,
void *  param 
)

checks for expires subscriptions and does the corresponding processing

  • if db_mode != DB_ONLY : checks by traversing the hash table
  • if db_mode == DB_ONLY : checks by querying database 2. if db_mode == WRITE_BACK : updates the subscriptions in database

Definition at line 2153 of file modules_k/presence/subscribe.c.

References DB_ONLY, NO_DB, and pa_db.

Referenced by mod_init().

Here is the caller graph for this function: