Skip to content

Commit

Permalink
db_cluster: updated to new module interface format
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesrchance authored and linuxmaniac committed Sep 28, 2018
1 parent 987b7ef commit 9b247d5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 14 deletions.
2 changes: 0 additions & 2 deletions src/modules/db_cluster/Makefile
Expand Up @@ -7,8 +7,6 @@ auto_gen=
NAME=db_cluster.so
LIBS=

DEFS+=-DKAMAILIO_MOD_INTERFACE

SERLIBPATH=../../lib
SER_LIBS+=$(SERLIBPATH)/srdb1/srdb1

Expand Down
22 changes: 10 additions & 12 deletions src/modules/db_cluster/db_cluster_mod.c
Expand Up @@ -57,18 +57,16 @@ static param_export_t params[] = {
};

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


Expand Down

0 comments on commit 9b247d5

Please sign in to comment.