exec_mod.c File Reference

#include <stdio.h>
#include "../../parser/msg_parser.h"
#include "../../str.h"
#include "../../sr_module.h"
#include "../../dprint.h"
#include "../../mod_fix.h"
#include "../../parser/parse_uri.h"
#include "exec.h"
#include "kill.h"
#include "exec_hf.h"

Include dependency graph for exec_mod.c:

Go to the source code of this file.

Functions

static int exec_avp_fixup (void **param, int param_no)
static void exec_shutdown (void)
static int mod_init (void)
static int w_exec_avp (struct sip_msg *msg, char *cmd, char *avpl)
static int w_exec_dset (struct sip_msg *msg, char *cmd, char *foo)
static int w_exec_msg (struct sip_msg *msg, char *cmd, char *foo)

Variables

static cmd_export_t cmds []
struct module_exports exports
static param_export_t params []
MODULE_VERSION unsigned int time_to_kill = 0


Function Documentation

static int exec_avp_fixup ( void **  param,
int  param_no 
) [static]

Definition at line 217 of file exec_mod.c.

References E_UNSPEC, fixup_spve_null(), _str::len, LM_ERR, NULL, parse_pvname_list(), PVT_AVP, _str::s, and s.

void exec_shutdown ( void   )  [inline, static]

Definition at line 99 of file exec_mod.c.

References destroy_kill(), and time_to_kill.

static int mod_init ( void   )  [static]

Definition at line 105 of file exec_mod.c.

References initialize_kill(), and time_to_kill.

static int w_exec_avp ( struct sip_msg msg,
char *  cmd,
char *  avpl 
) [inline, static]

Definition at line 184 of file exec_mod.c.

References exec_avp(), fixup_get_svalue(), LM_DBG, LM_ERR, _str::s, set_env(), setvars, and unset_env().

static int w_exec_dset ( struct sip_msg msg,
char *  cmd,
char *  foo 
) [inline, static]

static int w_exec_msg ( struct sip_msg msg,
char *  cmd,
char *  foo 
) [inline, static]

Definition at line 151 of file exec_mod.c.

References exec_msg(), fixup_get_svalue(), LM_DBG, LM_ERR, _str::s, set_env(), setvars, and unset_env().


Variable Documentation

cmd_export_t cmds[] [static]

Definition at line 61 of file exec_mod.c.

Definition at line 84 of file exec_mod.c.

param_export_t params[] [static]

Initial value:

 {
   {"time_to_kill", INT_PARAM, &time_to_kill},
   {"setvars",      INT_PARAM, &setvars     },
   {0, 0, 0}
}

Definition at line 77 of file exec_mod.c.

MODULE_VERSION unsigned int time_to_kill = 0

Definition at line 46 of file exec_mod.c.

Referenced by destroy_kill(), exec_shutdown(), initialize_kill(), mod_init(), and schedule_to_kill().


Generated on Wed May 23 06:01:03 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6