• Main Page
  • Related Pages
  • Modules
  • Namespaces
  • Data Structures
  • Files
  • Directories
  • File List
  • Globals

timer_proc.h

Go to the documentation of this file.
00001 /* 
00002  * Copyright (C) 2009 iptelorg GmbH
00003  *
00004  * Permission to use, copy, modify, and distribute this software for any
00005  * purpose with or without fee is hereby granted, provided that the above
00006  * copyright notice and this permission notice appear in all copies.
00007  *
00008  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
00009  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
00010  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
00011  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
00012  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
00013  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
00014  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
00015  */
00016 
00017 /*
00018  * History:
00019  * --------
00020  *  2009-03-10  initial version (andrei)
00021 */
00022 
00032 #ifndef __timer_proc_h
00033 #define __timer_proc_h
00034 
00035 #include "local_timer.h"
00036 
00042 int register_basic_timers(int timers);
00043 
00044 #define register_dummy_timers register_basic_timers
00045 
00046 #define register_basic_utimers register_basic_utimers
00047 
00065 int fork_basic_timer(int child_id, char* desc, int make_sock,
00066                                                 timer_function* f, void* param, int interval);
00067 
00068 #define fork_dummy_timer fork_basic_timer
00069 
00087 int fork_basic_utimer(int child_id, char* desc, int make_sock,
00088                                                 timer_function* f, void* param, int uinterval);
00117 int fork_local_timer_process(int child_id, char* desc, int make_sock,
00118                                                 struct local_timer** lt_h);
00119 
00123 int register_sync_timers(int timers);
00124 
00125 int fork_sync_timer(int child_id, char* desc, int make_sock,
00126                                                 timer_function* f, void* param, int interval);
00127 
00128 int fork_sync_utimer(int child_id, char* desc, int make_sock,
00129                                                 utimer_function* f, void* param, int uinterval);
00130 
00131 #endif /*__timer_proc_h*/
00132 
00133 /* vi: set ts=4 sw=4 tw=79:ai:cindent: */

Generated on Tue May 22 2012 13:10:17 for SIP Router by  doxygen 1.7.1