Skip to content

Commit

Permalink
misc_radius: 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 dc67e46 commit 87f6229
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 13 deletions.
2 changes: 0 additions & 2 deletions src/modules/misc_radius/Makefile
Expand Up @@ -7,6 +7,4 @@ include ../../Makefile.radius
auto_gen=
NAME=misc_radius.so

DEFS+=-DKAMAILIO_MOD_INTERFACE

include ../../Makefile.modules
20 changes: 9 additions & 11 deletions src/modules/misc_radius/misc_radius.c
Expand Up @@ -117,18 +117,16 @@ static param_export_t params[] = {


struct module_exports exports = {
"misc_radius",
"misc_radius", /* module name */
DEFAULT_DLFLAGS, /* dlopen flags */
cmds, /* Exported commands */
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 /* per-child init function */
cmds, /* cmd (cfg function) exports */
params, /* param exports */
0, /* RPC method exports */
0, /* pseudo-variables exports */
0, /* response handling function */
mod_init, /* module init function */
0, /* per-child init function */
destroy /* module destroy function */
};
/* clang-format on */

Expand Down

0 comments on commit 87f6229

Please sign in to comment.