Skip to content

Commit

Permalink
topoh: 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 e41b385 commit 1784e2a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 13 deletions.
2 changes: 0 additions & 2 deletions src/modules/topoh/Makefile
Expand Up @@ -9,6 +9,4 @@ auto_gen=
NAME=topoh.so
LIBS=

DEFS+=-DKAMAILIO_MOD_INTERFACE

include ../../Makefile.modules
21 changes: 10 additions & 11 deletions src/modules/topoh/topoh_mod.c
Expand Up @@ -116,18 +116,17 @@ static cmd_export_t cmds[]={

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

/**
Expand Down

0 comments on commit 1784e2a

Please sign in to comment.