#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"

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 |
| 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] |
| static int mod_init | ( | void | ) | [static] |
| 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] |
Definition at line 111 of file exec_mod.c.
References exec_str(), sip_msg::first_line, fixup_get_svalue(), _str::len, LM_DBG, LM_ERR, sip_msg::new_uri, msg_start::request, _str::s, set_env(), setvars, msg_start::u, and unset_env().
| 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().
cmd_export_t cmds[] [static] |
Definition at line 61 of file exec_mod.c.
| struct module_exports exports |
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().
1.5.6