Functions

modules_k/presence/subscribe.h File Reference

Kamailio presence module :: SUBSCRIBE support. More...

#include "../../str.h"
#include "../../lib/srdb1/db.h"
#include "event_list.h"
#include "hash.h"
#include "hash.h"
Include dependency graph for modules_k/presence/subscribe.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions


Detailed Description

Definition in file modules_k/presence/subscribe.h.


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: