#include "../../str.h"
#include "../../ip_addr.h"
#include "../../parser/msg_parser.h"


Go to the source code of this file.
Data Structures | |
| struct | sl_callback |
| struct | sl_cb_param |
Defines | |
| #define | SLCB_ACK_IN (1<<1) |
| #define | SLCB_REPLY_OUT (1<<0) |
Typedefs | |
| typedef int(* | register_slcb_t )(unsigned int types, sl_cb_t f, void *param) |
| typedef void( | sl_cb_t )(unsigned int types, struct sip_msg *req, struct sl_cb_param *sl_param) |
Functions | |
| void | destroy_slcb_lists (void) |
| int | register_slcb (unsigned int types, sl_cb_t f, void *param) |
| void | run_sl_callbacks (unsigned int types, struct sip_msg *req, str *buffer, int code, str *reason, union sockaddr_union *to) |
Definition in file sl_cb.h.
| #define SLCB_ACK_IN (1<<1) |
| #define SLCB_REPLY_OUT (1<<0) |
| typedef int(* register_slcb_t)(unsigned int types, sl_cb_t f, void *param) |
| typedef void( sl_cb_t)(unsigned int types, struct sip_msg *req, struct sl_cb_param *sl_param) |
| void destroy_slcb_lists | ( | void | ) |
cleanup callback list
Definition at line 42 of file sl_cb.c.
References sl_callback::next, and pkg_free.
Referenced by mod_destroy().
| int register_slcb | ( | unsigned int | types, | |
| sl_cb_t | f, | |||
| void * | param | |||
| ) |
register a SL callback
Definition at line 55 of file sl_cb.c.
References sl_callback::callback, sl_callback::id, LM_ERR, sl_callback::next, sl_callback::param, pkg_malloc, and sl_callback::types.
| void run_sl_callbacks | ( | unsigned int | types, | |
| struct sip_msg * | req, | |||
| str * | buffer, | |||
| int | code, | |||
| str * | reason, | |||
| union sockaddr_union * | to | |||
| ) |
run SL callbacks
Definition at line 83 of file sl_cb.c.
References sl_cb_param::buffer, sl_callback::callback, sl_cb_param::code, sl_cb_param::dst, sl_callback::id, LM_DBG, sl_callback::next, sl_callback::param, sl_cb_param::param, sl_cb_param::reason, and sl_callback::types.
Referenced by sl_filter_ACK(), and sl_send_reply_helper().
1.5.6