Skip to content

Commit

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

DEFS+=-DKAMAILIO_MOD_INTERFACE

SERLIBPATH=../../lib
SER_LIBS+=$(SERLIBPATH)/srdb1/srdb1
SER_LIBS+=$(SERLIBPATH)/srutils/srutils
Expand Down
20 changes: 9 additions & 11 deletions src/modules/usrloc/usrloc_mod.c
Expand Up @@ -253,18 +253,16 @@ stat_export_t mod_stats[] = {


struct module_exports exports = {
"usrloc",
"usrloc", /*!< module name */
DEFAULT_DLFLAGS, /*!< dlopen flags */
cmds, /*!< Exported functions */
params, /*!< Export parameters */
mod_stats, /*!< exported statistics */
0, /*!< exported MI functions */
0, /*!< exported pseudo-variables */
0, /*!< extra processes */
mod_init, /*!< Module initialization function */
0, /*!< Response function */
destroy, /*!< Destroy function */
child_init /*!< Child initialization function */
cmds, /*!< exported functions */
params, /*!< exported parameters */
0, /*!< exported rpc functions */
0, /*!< exported pseudo-variables */
0, /*!< response handling function */
mod_init, /*!< module init function */
child_init, /*!< child init function */
destroy /*!< destroy function */
};


Expand Down

0 comments on commit 8b1ca47

Please sign in to comment.