modules/tm/timer.h File Reference

TM :: Timer handling. More...

#include "../../timer.h"
#include "lock.h"

Include dependency graph for modules/tm/timer.h:

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

Go to the source code of this file.

Data Structures

struct  timer
struct  timer_link
struct  timer_table

Defines

#define MIN_TIMER_VALUE   2

Typedefs

typedef struct timer_link timer_link_type
typedef struct timer timer_type

Enumerations

enum  lists {
  FR_TIMER_LIST, FR_INV_TIMER_LIST, WT_TIMER_LIST, DELETE_LIST,
  RT_T1_TO_1, RT_T1_TO_2, RT_T1_TO_3, RT_T2,
  NR_OF_TIMER_LISTS
}

Functions

void free_timer_table (void)
struct timer_tableget_timertable (void)
void init_timer_list (enum lists list_id)
void reset_timer (struct timer_link *tl)
void reset_timer_list (enum lists list_id)
void set_1timer (struct timer_link *new_tl, enum lists list_id, utime_t *ext_timeout)
void set_timer (struct timer_link *new_tl, enum lists list_id, utime_t *ext_timeout)
void timer_routine (unsigned int, void *)
struct timer_tabletm_init_timers (void)
void unlink_timer_lists (void)
void utimer_routine (utime_t, void *)

Variables

int timer_group [NR_OF_TIMER_LISTS]
unsigned int timer_id2timeout [NR_OF_TIMER_LISTS]


Detailed Description

TM :: Timer handling.

Definition in file modules/tm/timer.h.


Define Documentation

#define MIN_TIMER_VALUE   2

Definition at line 44 of file modules/tm/timer.h.

Referenced by tm_init_timers().


Typedef Documentation

typedef struct timer_link timer_link_type

typedef struct timer timer_type


Enumeration Type Documentation

enum lists

Enumerator:
FR_TIMER_LIST 
FR_INV_TIMER_LIST 
WT_TIMER_LIST 
DELETE_LIST 
RT_T1_TO_1 
RT_T1_TO_2 
RT_T1_TO_3 
RT_T2 
NR_OF_TIMER_LISTS 

Definition at line 50 of file modules/tm/timer.h.


Function Documentation

void free_timer_table ( void   ) 

Definition at line 563 of file modules/tm/timer.c.

References shm_free.

Referenced by tm_shutdown().

struct timer_table* get_timertable ( void   )  [read]

Definition at line 456 of file modules/tm/timer.c.

Referenced by init_timerlist_lock().

void init_timer_list ( enum lists  list_id  ) 

Definition at line 583 of file modules/tm/timer.c.

References init_timerlist_lock(), and reset_timer_list().

Referenced by tm_init_timers().

void reset_timer ( struct timer_link tl  ) 

void reset_timer_list ( enum lists  list_id  ) 

void set_1timer ( struct timer_link new_tl,
enum lists  list_id,
utime_t ext_timeout 
)

void set_timer ( struct timer_link new_tl,
enum lists  list_id,
utime_t ext_timeout 
)

void timer_routine ( unsigned  int,
void *   
)

struct timer_table* tm_init_timers ( void   )  [read]

void unlink_timer_lists ( void   ) 

void utimer_routine ( utime_t  ,
void *   
)


Variable Documentation

int timer_group[NR_OF_TIMER_LISTS]

Definition at line 138 of file modules/tm/timer.c.

Referenced by init_timerlist_lock(), and lock_initialize().

unsigned int timer_id2timeout[NR_OF_TIMER_LISTS]

Definition at line 149 of file modules/tm/timer.c.

Referenced by set_1timer(), set_timer(), t_next_contacts(), and tm_init_timers().


Generated on Wed May 23 20:00:44 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6