modules/pike/timer.h File Reference

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

Go to the source code of this file.

Data Structures

struct  list_link

Defines

#define has_timer_set(_ll)   ((_ll)->prev || (_ll)->next)
#define is_list_empty(_head)   ((_head)->next == (_head))
#define update_in_timer(_head, _ll)

Functions

void append_to_timer (struct list_link *head, struct list_link *ll)
void check_and_split_timer (struct list_link *head, unsigned int time, struct list_link *split, unsigned char *mask)
void remove_from_timer (struct list_link *head, struct list_link *ll)


Define Documentation

#define has_timer_set ( _ll   )     ((_ll)->prev || (_ll)->next)

#define is_list_empty ( _head   )     ((_head)->next == (_head))

Definition at line 41 of file modules/pike/timer.h.

Referenced by clean_routine().

#define update_in_timer ( _head,
_ll   ) 

Value:

do { \
      remove_from_timer( _head, _ll);\
      append_to_timer( _head, _ll); \
   }while(0)

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

Referenced by pike_check_req().


Function Documentation

void append_to_timer ( struct list_link head,
struct list_link ll 
)

Definition at line 37 of file modules/pike/timer.c.

References has_timer_set, LM_DBG, list_link::next, and list_link::prev.

Referenced by clean_routine(), and pike_check_req().

void check_and_split_timer ( struct list_link head,
unsigned int  time,
struct list_link split,
unsigned char *  mask 
)

void remove_from_timer ( struct list_link head,
struct list_link ll 
)

Definition at line 50 of file modules/pike/timer.c.

References has_timer_set, LM_DBG, list_link::next, and list_link::prev.

Referenced by pike_check_req().


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