@@ -58,8 +58,8 @@ cachedb_con *con;
58
58
59
59
static const cmd_export_t cmds []=
60
60
{
61
- {"process_msg" , (cmd_function )process_msg , 0 , 0 , 0 , REQUEST_ROUTE },
62
- {0 ,0 ,0 ,0 ,0 ,0 }
61
+ {"process_msg" , (cmd_function )process_msg , {{ 0 , 0 , 0 }} , REQUEST_ROUTE },
62
+ {0 ,0 ,{{ 0 ,0 ,0 }} ,0 }
63
63
};
64
64
65
65
static const param_export_t params []= {
@@ -68,24 +68,27 @@ static const param_export_t params[]={
68
68
};
69
69
70
70
71
- /** module exports */
72
71
struct module_exports exports = {
73
- "example_cachedb" , /* module name */
74
- MOD_TYPE_DEFAULT ,/* class of this module */
72
+ "example_cachedb" , /* module name */
73
+ MOD_TYPE_DEFAULT , /* class of this module */
75
74
MODULE_VERSION ,
76
75
DEFAULT_DLFLAGS , /* dlopen flags */
77
- NULL , /* OpenSIPS module dependencies */
76
+ 0 , /* load function */
77
+ 0 , /* OpenSIPS module dependencies */
78
78
cmds , /* exported functions */
79
+ 0 , /* exported asynchronous functions */
79
80
params , /* exported parameters */
80
81
0 , /* exported statistics */
81
- 0 , /* exported MI functions */
82
+ 0 , /* exported MI functions */
82
83
0 , /* exported pseudo-variables */
83
84
0 , /* exported transformations */
84
85
0 , /* extra processes */
86
+ 0 , /* module pre-initialization function */
85
87
mod_init , /* module initialization function */
86
88
(response_function ) 0 , /* response handling function */
87
89
(destroy_function )destroy , /* destroy function */
88
- child_init /* per-child init function */
90
+ child_init , /* per-child init function */
91
+ 0 /* reload-ack function */
89
92
};
90
93
91
94
0 commit comments