Skip to content

Commit

Permalink
sipdump: updated to the new mod interface
Browse files Browse the repository at this point in the history
  • Loading branch information
miconda authored and linuxmaniac committed Sep 28, 2018
1 parent 7407c57 commit 45203ca
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
2 changes: 0 additions & 2 deletions src/modules/sipdump/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,4 @@ auto_gen=
NAME=sipdump.so
LIBS=

DEFS+=-DKAMAILIO_MOD_INTERFACE

include ../../Makefile.modules
18 changes: 8 additions & 10 deletions src/modules/sipdump/sipdump_mod.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,18 +73,16 @@ static param_export_t params[]={
};

struct module_exports exports = {
"sipdump",
"sipdump", /* module name */
DEFAULT_DLFLAGS, /* dlopen flags */
cmds,
params,
0,
0, /* exported MI functions */
cmds, /* exported functions */
params, /* exported parameters */
0, /* exported rpc functions */
0, /* exported pseudo-variables */
0, /* extra processes */
mod_init, /* module initialization function */
0, /* response function */
mod_destroy, /* destroy function */
child_init /* per child init function */
0, /* response handling function */
mod_init, /* module init function */
child_init, /* per child init function */
mod_destroy /* module destroy function */
};
/* clang-format on */

Expand Down

0 comments on commit 45203ca

Please sign in to comment.