| 
    Kannel: Open Source WAP and SMS gateway
    svn-r5336
    
   | 
 
Go to the source code of this file.
Data Structures | |
| struct | hb_info | 
Functions | |
| static int | find_hb (void *item, void *pattern) | 
| static void | heartbeat_thread (void *arg) | 
| long | heartbeat_start (hb_send_func_t *send_func, double freq, hb_load_func_t *load_func) | 
| void | heartbeat_stop (long hb_thread) | 
Variables | |
| static List * | heartbeats = NULL | 
      
  | 
  static | 
| long heartbeat_start | ( | hb_send_func_t * | send_func, | 
| double | freq, | ||
| hb_load_func_t * | load_func | ||
| ) | 
Definition at line 126 of file heartbeat.c.
References DEFAULT_HEARTBEAT, hb_info::freq, gwlist_append(), gwlist_create, gwthread_create, heartbeat_thread(), heartbeats, info(), hb_info::load_func, and hb_info::send_func.
Referenced by main(), and run_smppbox().
| void heartbeat_stop | ( | long | hb_thread | ) | 
Definition at line 160 of file heartbeat.c.
References ALL_HEARTBEATS, find_hb(), gw_assert(), gwlist_destroy(), gwlist_extract_first(), gwlist_extract_matching(), gwlist_len(), gwthread_join(), gwthread_wakeup(), heartbeats, info(), and warning().
Referenced by main().
      
  | 
  static | 
Definition at line 96 of file heartbeat.c.
References gwthread_sleep(), info(), msg, and msg_create.
Referenced by heartbeat_start().
      
  | 
  static | 
Definition at line 80 of file heartbeat.c.
Referenced by heartbeat_start(), and heartbeat_stop().