#include "parser/msg_parser.h"Go to the source code of this file.
Data Structures | |
| struct | nonsip_hook |
Defines | |
| #define | MAX_NONSIP_HOOKS 1 |
Enumerations | |
| enum | nonsip_msg_returns { NONSIP_MSG_ERROR = -1, NONSIP_MSG_DROP = 0, NONSIP_MSG_PASS, NONSIP_MSG_ACCEPT } |
Functions | |
| int | init_nonsip_hooks () |
| void | destroy_nonsip_hooks () |
| int | register_nonsip_msg_hook (struct nonsip_hook *h) |
| int | nonsip_msg_run_hooks (struct sip_msg *msg) |
|
|
Definition at line 44 of file nonsip_hooks.h. |
|
|
Definition at line 46 of file nonsip_hooks.h. |
|
|
Definition at line 63 of file nonsip_hooks.c. References nonsip_hook::destroy, nonsip_hooks, and pkg_free. Referenced by cleanup(). |
|
|
Definition at line 47 of file nonsip_hooks.c. References L_ERR, LOG, nonsip_hooks, nonsip_max_hooks, and pkg_malloc. Referenced by main(). |
|
|
Definition at line 111 of file nonsip_hooks.c. References nonsip_hooks, and nonsip_hook::on_nonsip_req. Referenced by receive_msg(). |
|
|
Definition at line 81 of file nonsip_hooks.c. References last_hook_idx, nonsip_hooks, nonsip_max_hooks, and pkg_realloc. Referenced by mod_init(). |
1.3.9.1