pike.c File Reference

#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include "../../sr_module.h"
#include "../../error.h"
#include "../../dprint.h"
#include "../../ut.h"
#include "../../mem/shm_mem.h"
#include "../../timer.h"
#include "../../locking.h"
#include "ip_tree.h"
#include "timer.h"
#include "pike_mi.h"
#include "pike_funcs.h"

Include dependency graph for pike.c:

Go to the source code of this file.

Functions

static int pike_exit (void)
static MODULE_VERSION int pike_init (void)

Variables

static cmd_export_t cmds []
struct module_exports exports
static int max_reqs = 30
static mi_export_t mi_cmds []
static param_export_t params []
int pike_log_level = L_WARN
static int time_unit = 2
int timeout = 120
struct list_linktimer = 0
 Timer handler.
gen_lock_t * timer_lock = 0


Function Documentation

static int pike_exit ( void   )  [static]

Definition at line 156 of file pike.c.

References destroy_ip_tree(), shm_free, and timer_lock.

static int pike_init ( void   )  [static]


Variable Documentation

cmd_export_t cmds[] [static]

Initial value:

{
   {"pike_check_req", (cmd_function)pike_check_req,  0,  0, 0, REQUEST_ROUTE},
   {0,0,0,0,0,0}
}

Definition at line 73 of file pike.c.

Definition at line 93 of file pike.c.

int max_reqs = 30 [static]

Definition at line 64 of file pike.c.

Referenced by pike_init().

mi_export_t mi_cmds[] [static]

Initial value:

 {
   {MI_PIKE_LIST, mi_pike_list,   MI_NO_INPUT_FLAG,  0,  0 },
   {0,0,0,0,0}
}

Definition at line 87 of file pike.c.

param_export_t params[] [static]

Definition at line 78 of file pike.c.

int pike_log_level = L_WARN

Definition at line 66 of file pike.c.

Referenced by pike_check_req(), and refresh_node().

int time_unit = 2 [static]

Definition at line 63 of file pike.c.

Referenced by pike_init().

int timeout = 120

static void timer = 0

Timer handler.

Definition at line 70 of file pike.c.

gen_lock_t* timer_lock = 0

Definition at line 69 of file pike.c.

Referenced by clean_routine(), pike_check_req(), pike_exit(), and pike_init().


Generated on Thu May 24 02:00:40 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6