Skip to content

Commit

Permalink
ims_auth: converted to the new module interface
Browse files Browse the repository at this point in the history
  • Loading branch information
grumvalski authored and linuxmaniac committed Sep 28, 2018
1 parent 7be8bd7 commit ea86a5a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 13 deletions.
2 changes: 0 additions & 2 deletions src/modules/ims_auth/Makefile
Expand Up @@ -25,8 +25,6 @@ ifneq ($(OS),darwin)
LIBS += -lrt
endif

DEFS+=-DKAMAILIO_MOD_INTERFACE

SERLIBPATH=../../lib
SER_LIBS+=$(SERLIBPATH)/ims/kamailio_ims

Expand Down
20 changes: 9 additions & 11 deletions src/modules/ims_auth/ims_auth_mod.c
Expand Up @@ -158,17 +158,15 @@ stat_export_t mod_stats[] = {
*/
struct module_exports exports = {
"ims_auth",
DEFAULT_DLFLAGS, /* dlopen flags */
cmds, /* Exported functions */
params, /* Exported parameters */
0, /* exported statistics */
0, /* exported MI functions */
0, /* exported pseudo-variables */
0, /* extra processes */
mod_init, /* module initialization function */
0, /* response function */
destroy, /* destroy function */
0 /* child initialization function */
DEFAULT_DLFLAGS, /* dlopen flags */
cmds, /* Exported functions */
params, /* Exported parameters */
0, /* exported RPC methods */
0, /* exported pseudo-variables */
0, /* response function */
mod_init, /* module initialization function */
0, /* child initialization function */
destroy /* destroy function */
};

static int mod_init(void) {
Expand Down

0 comments on commit ea86a5a

Please sign in to comment.