Skip to content

Commit

Permalink
rr: updated to the new mod interface
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxmaniac committed Sep 28, 2018
1 parent 879f48c commit ca4a43b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 14 deletions.
2 changes: 0 additions & 2 deletions src/modules/rr/Makefile
Expand Up @@ -11,6 +11,4 @@ LIBS=

#DEFS+=-DENABLE_USER_CHECK

DEFS+=-DKAMAILIO_MOD_INTERFACE

include ../../Makefile.modules
22 changes: 10 additions & 12 deletions src/modules/rr/rr_mod.c
Expand Up @@ -155,18 +155,16 @@ static pv_export_t mod_pvs[] = {


struct module_exports exports = {
"rr",
DEFAULT_DLFLAGS, /*!< dlopen flags */
cmds, /*!< Exported functions */
params, /*!< Exported parameters */
0, /*!< exported statistics */
0, /*!< exported MI functions */
mod_pvs, /*!< exported pseudo-variables */
0, /*!< extra processes */
mod_init, /*!< initialize module */
0, /*!< response function*/
mod_destroy, /*!< destroy function */
0 /*!< per-child init function */
"rr", /* module name */
DEFAULT_DLFLAGS, /* dlopen flags */
cmds, /* cmd (cfg function) exports */
params, /* param exports */
0, /* RPC method exports */
mod_pvs, /* pseudo-variables exports */
0, /* response handling function */
mod_init, /* module init function */
0, /* per-child init function */
mod_destroy /* module destroy function */
};


Expand Down

0 comments on commit ca4a43b

Please sign in to comment.