Browse code

- added new field in the module interface - list of the additional processes to be created (work on progress)

git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@2554 689a6050-402a-0410-94f2-e92a70836424

Bogdan-Andrei Iancu authored on 31/07/2007 13:01:04
Showing 76 changed files
... ...
@@ -236,6 +236,7 @@ struct module_exports exports= {
236 236
 	0,          /* exported statistics */
237 237
 	0,          /* exported MI functions */
238 238
 	0,          /* exported pseudo-variables */
239
+	0,          /* extra processes */
239 240
 	mod_init,   /* initialization module */
240 241
 	0,          /* response function */
241 242
 	destroy,    /* destroy function */
... ...
@@ -96,6 +96,7 @@ struct module_exports exports = {
96 96
 	0,          /* exported statistics */
97 97
 	0,          /* exported MI functions */
98 98
 	0,          /* exported pseudo-variables */
99
+	0,          /* extra processes */
99 100
 	mod_init,   /* module initialization function */
100 101
 	0,          /* response function */
101 102
 	destroy,    /* destroy function */
... ...
@@ -172,6 +172,7 @@ struct module_exports exports = {
172 172
 	0,          /* exported statistics */
173 173
 	0,          /* exported MI functions */
174 174
 	0,          /* exported pseudo-variables */
175
+	0,          /* extra processes */
175 176
 	mod_init,   /* module initialization function */
176 177
 	0,          /* response function */
177 178
 	destroy,    /* destroy function */
... ...
@@ -146,6 +146,7 @@ struct module_exports exports = {
146 146
 	0,          /* exported statistics */
147 147
 	0,          /* exported MI functions */
148 148
 	0,          /* exported pseudo-variables */
149
+	0,          /* extra processes */
149 150
 	mod_init,   /* module initialization function */
150 151
 	0,          /* response function */
151 152
 	destroy,    /* destroy function */
... ...
@@ -108,6 +108,7 @@ struct module_exports exports = {
108 108
 	0,             /* exported statistics */
109 109
 	0,             /* exported MI functions */
110 110
 	0,             /* exported pseudo-variables */
111
+	0,             /* extra processes */
111 112
 	mod_init,      /* module initialization function */
112 113
 	0,             /* response function */
113 114
 	0,             /* destroy function */
... ...
@@ -98,6 +98,7 @@ struct module_exports exports = {
98 98
 	0,          /* exported statistics */
99 99
 	0,          /* exported MI functions */
100 100
 	0,          /* exported pseudo-variables */
101
+	0,          /* extra processes */
101 102
 	mod_init,   /* module initialization function */
102 103
 	0,          /* response function */
103 104
 	0,          /* destroy function */
... ...
@@ -100,6 +100,7 @@ struct module_exports exports = {
100 100
 	0,         /* exported statistics */
101 101
 	0,         /* exported MI functions */
102 102
 	0,         /* exported pseudo-variables */
103
+	0,         /* extra processes */
103 104
 	mod_init,  /* module initialization function */
104 105
 	0,         /* response function*/
105 106
 	0,         /* destroy function */
... ...
@@ -152,6 +152,7 @@ struct module_exports exports = {
152 152
 	0,          /* exported statistics */
153 153
 	0,          /* exported MI functions */
154 154
 	0,          /* exported pseudo-variables */
155
+	0,          /* extra processes */
155 156
 	avpops_init,/* Module initialization function */
156 157
 	(response_function) 0,
157 158
 	(destroy_function) 0,
... ...
@@ -154,6 +154,7 @@ struct module_exports exports = {
154 154
 	0,          /* exported statistics */
155 155
 	mi_cmds,    /* exported MI functions */
156 156
 	mod_items,  /* exported pseudo-variables */
157
+	0,          /* extra processes */
157 158
 	mod_init,   /* module initialization function */
158 159
 	0,          /* response function */
159 160
 	destroy,    /* destroy function */
... ...
@@ -124,6 +124,7 @@ struct module_exports exports = {
124 124
 	0,           /* exported statistics */
125 125
 	mi_cmds,     /* exported MI functions */
126 126
 	mod_items,   /* exported pseudo-variables */
127
+	0,           /* extra processes */
127 128
 	mod_init,    /* module initialization function */
128 129
 	0,           /* response function*/
129 130
 	mod_destroy, /* destroy function */
... ...
@@ -171,6 +171,7 @@ struct module_exports exports = {
171 171
 	0,        /* exported statistics */
172 172
 	mi_cmds,  /* exported MI functions */
173 173
 	0,        /* exported pseudo-variables */
174
+	0,        /* extra processes */
174 175
 	cpl_init, /* Module initialization function */
175 176
 	(response_function) 0,
176 177
 	(destroy_function) cpl_exit,
... ...
@@ -81,6 +81,7 @@ struct module_exports exports = {
81 81
 	0,        /* exported statistics */
82 82
 	0,        /* exported MI functions */
83 83
 	0,        /* exported pseudo-variables */
84
+	0,        /* extra processes */
84 85
 	mod_init, /* module initialization function */
85 86
 	0,        /* response function*/
86 87
 	destroy,  /* destroy function */
... ...
@@ -167,6 +167,7 @@ struct module_exports exports= {
167 167
 	mod_stats,       /* exported statistics */
168 168
 	mi_cmds,         /* exported MI functions */
169 169
 	mod_items,       /* exported pseudo-variables */
170
+	0,               /* extra processes */
170 171
 	mod_init,        /* module initialization function */
171 172
 	0,               /* reply processing function */
172 173
 	mod_destroy,
... ...
@@ -159,6 +159,7 @@ struct module_exports exports= {
159 159
 	0,          /* exported statistics */
160 160
 	mi_cmds,    /* exported MI functions */
161 161
 	0,          /* exported pseudo-variables */
162
+	0,          /* extra processes */
162 163
 	mod_init,   /* module initialization function */
163 164
 	(response_function) 0,
164 165
 	(destroy_function) destroy,
... ...
@@ -85,6 +85,7 @@ struct module_exports exports = {
85 85
 	0,          /* exported statistics */
86 86
 	0,          /* exported MI functions */
87 87
 	0,          /* exported pseudo-variables */
88
+	0,          /* extra processes */
88 89
 	mod_init,   /* module initialization function */
89 90
 	0,          /* response function */
90 91
 	0,          /* destroy function */
... ...
@@ -131,6 +131,7 @@ struct module_exports exports = {
131 131
 	0,         /* exported statistics */
132 132
 	mi_cmds,   /* exported MI functions */
133 133
 	0,         /* exported pseudo-variables */
134
+	0,         /* extra processes */
134 135
 	mod_init,  /* module initialization function */
135 136
 	0,         /* response function*/
136 137
 	destroy,   /* destroy function */
... ...
@@ -141,6 +141,7 @@ struct module_exports exports = {
141 141
 	0,         /* exported statistics */
142 142
 	0,         /* exported MI functions */
143 143
 	0,         /* exported pseudo-variables */
144
+	0,         /* extra processes */
144 145
 	mod_init,  /* module initialization function */
145 146
 	0,         /* response function*/
146 147
 	destroy,   /* destroy function */
... ...
@@ -118,6 +118,7 @@ struct module_exports exports = {
118 118
 	0,        /* exported statistics */
119 119
 	0,        /* exported MI functions */
120 120
 	0,        /* exported pseudo-variables */
121
+	0,        /* extra processes */
121 122
 	mod_init, /* module initialization function */
122 123
 	0,        /* response function*/
123 124
 	0,        /* destroy function */
... ...
@@ -84,16 +84,17 @@ struct module_exports exec_exports = {
84 84
 struct module_exports exports= {
85 85
 #endif
86 86
 	"exec",
87
-	DEFAULT_DLFLAGS, /* dlopen flags */
87
+	DEFAULT_DLFLAGS,/* dlopen flags */
88 88
 	cmds,           /* Exported functions */
89 89
 	params,         /* Exported parameters */
90 90
 	0,              /* exported statistics */
91 91
 	0,              /* exported MI functions */
92
-	0,          /* exported pseudo-variables */
93
-	mod_init, 	/* initialization module */
94
-	0,		/* response function */
95
-	exec_shutdown,	/* destroy function */
96
-	0		/* per-child init function */
92
+	0,              /* exported pseudo-variables */
93
+	0,              /* extra processes */
94
+	mod_init,       /* initialization module */
95
+	0,              /* response function */
96
+	exec_shutdown,  /* destroy function */
97
+	0               /* per-child init function */
97 98
 };
98 99
 
99 100
 void exec_shutdown()
... ...
@@ -104,6 +104,7 @@ struct module_exports exports = {
104 104
 	0,           /* exported statistics */
105 105
 	mi_cmds,     /* exported MI functions */
106 106
 	0,           /* exported pseudo-variables */
107
+	0,           /* extra processes */
107 108
 	mod_init,    /* module initialization function */
108 109
 	0,           /* response function*/
109 110
 	mod_destroy, /* destroy function */
... ...
@@ -111,6 +111,7 @@ struct module_exports exports = {
111 111
 	0,           /* exported statistics */
112 112
 	mi_cmds,     /* exported MI functions */
113 113
 	0,           /* exported pseudo-variables */
114
+	0,           /* extra processes */
114 115
 	mod_init,    /* module initialization function */
115 116
 	0,           /* response function*/
116 117
 	mod_destroy, /* destroy function */
... ...
@@ -160,6 +160,7 @@ struct module_exports exports = {
160 160
 	0,          /* exported statistics */
161 161
 	0,          /* exported MI functions */
162 162
 	0,          /* exported pseudo-variables */
163
+	0,          /* extra processes */
163 164
 	mod_init,   /* module initialization function */
164 165
 	0,          /* response function */
165 166
 	destroy,    /* destroy function */
... ...
@@ -86,6 +86,7 @@ struct module_exports exports = {
86 86
 	0,          /* exported statistics */
87 87
 	0,          /* exported MI functions */
88 88
 	0,          /* exported pseudo-variables */
89
+	0,          /* extra processes */
89 90
 	mod_init,   /* module initialization function */
90 91
 	0,          /* response function */
91 92
 	0,          /* destroy function */
... ...
@@ -136,6 +136,7 @@ struct module_exports exports= {
136 136
 #endif
137 137
 	mi_cmds,    /* exported MI functions */
138 138
 	0,          /* exported pseudo-variables */
139
+	0,          /* extra processes */
139 140
 	mod_init,   /* mod init */
140 141
 	(response_function) 0,       /* response handler */
141 142
 	(destroy_function) destroy,  /* destroy function */
... ...
@@ -177,6 +177,7 @@ struct module_exports exports= {
177 177
 	0,          /* exported statistics */
178 178
 	0,          /* exported MI functions */
179 179
 	0,          /* exported pseudo-variables */
180
+	0,          /* extra processes */
180 181
 	mod_init,   /* module initialization function */
181 182
 	(response_function) 0,
182 183
 	(destroy_function) destroy,
... ...
@@ -313,6 +313,7 @@ struct module_exports exports = {
313 313
 	0,         /* exported statistics */
314 314
 	mi_cmds,   /* exported MI functions */
315 315
 	0,         /* exported pseudo-variables */
316
+	0,         /* extra processes */
316 317
 	mod_init,  /* module initialization function */
317 318
 	0,         /* response function */
318 319
 	destroy,   /* destroy function */
... ...
@@ -1,5 +1,5 @@
1 1
 /*
2
- * $Id: $
2
+ * $Id:$
3 3
  *
4 4
  * OpenSER LDAP Module
5 5
  *
... ...
@@ -144,6 +144,7 @@ struct module_exports exports = {
144 144
 	0,          /* exported statistics */
145 145
 	0,          /* exported MI functions */
146 146
 	0,          /* exported pseudo-variables */
147
+	0,          /* extra processes */
147 148
 	mod_init,   /* module initialization function */
148 149
 	0,          /* response function */
149 150
 	destroy,    /* destroy function */
... ...
@@ -114,6 +114,7 @@ struct module_exports exports = {
114 114
 	0,				/* exported statistics */
115 115
 	0,				/* exported MI functions */
116 116
 	0,              /* exported pseudo-variables */
117
+	0,              /* extra processes */
117 118
 	mod_init,		/* module initialization function */
118 119
 	0,				/* response function */
119 120
 	destroy,		/* destroy function */
... ...
@@ -84,6 +84,7 @@ struct module_exports exports= {
84 84
 	0,          /* exported statistics */
85 85
 	0,          /* exported MI functions */
86 86
 	0,          /* exported pseudo-variables */
87
+	0,          /* extra processes */
87 88
 	mod_init,
88 89
 	(response_function) 0,
89 90
 	(destroy_function) 0,
... ...
@@ -222,6 +222,7 @@ struct module_exports exports = {
222 222
     NULL,         // exported statistics
223 223
     NULL,         /* exported MI functions */
224 224
 	NULL,         /* exported pseudo-variables */
225
+	NULL,         /* extra processes */
225 226
     mod_init,     // module init (before any kid is created. kids will inherit)
226 227
     NULL,         // reply processing
227 228
     NULL,         // destroy function
... ...
@@ -124,6 +124,7 @@ struct module_exports exports = {
124 124
 	0,                             /* exported statistics */
125 125
 	0,                             /* exported MI functions */
126 126
 	0,                             /* exported pseudo-variables */
127
+	0,                             /* extra processes */
127 128
 	mi_mod_init,                   /* module initialization function */
128 129
 	(response_function) 0,         /* response handling function */
129 130
 	(destroy_function) mi_destroy, /* destroy function */
... ...
@@ -88,6 +88,7 @@ struct module_exports exports = {
88 88
 	0,                             /* exported statistics */
89 89
 	0,                             /* exported MI functions */
90 90
 	0,                             /* exported pseudo-variables */
91
+	0,                             /* extra processes */
91 92
 	mi_mod_init,                   /* module initialization function */
92 93
 	(response_function) 0,         /* response handling function */
93 94
 	(destroy_function) mi_destroy, /* destroy function */
... ...
@@ -74,17 +74,18 @@ static param_export_t mi_params[] = {
74 74
 
75 75
 /* module exports */
76 76
 struct module_exports exports = {
77
-	"mi_xmlrpc",                     	/* module name */
77
+	"mi_xmlrpc",                        /* module name */
78 78
 	DEFAULT_DLFLAGS,                    /* dlopen flags */
79
-	0,                             		/* exported functions */
80
-	mi_params,                    		/* exported parameters */
81
-	0,                             		/* exported statistics */
82
-	0,                             		/* exported MI functions */
83
-	0,                             		/* exported PV */
84
-	mod_init,                   		/* module initialization function */
85
-	(response_function) 0,         		/* response handling function */
86
-	(destroy_function) destroy, 		/* destroy function */
87
-	mod_child_init                  	/* per-child init function */
79
+	0,                                  /* exported functions */
80
+	mi_params,                          /* exported parameters */
81
+	0,                                  /* exported statistics */
82
+	0,                                  /* exported MI functions */
83
+	0,                                  /* exported PV */
84
+	0,                                  /* extra processes */
85
+	mod_init,                           /* module initialization function */
86
+	(response_function) 0,              /* response handling function */
87
+	(destroy_function) destroy,         /* destroy function */
88
+	mod_child_init                      /* per-child init function */
88 89
 };
89 90
 
90 91
 static int mod_init(void)
... ...
@@ -240,6 +240,7 @@ struct module_exports exports= {
240 240
 #endif
241 241
 	0,          /* exported MI functions */
242 242
 	0,          /* exported pseudo-variables */
243
+	0,          /* extra processes */
243 244
 	mod_init,   /* module initialization function */
244 245
 	(response_function) 0,       /* response handler */
245 246
 	(destroy_function) destroy,  /* module destroy function */
... ...
@@ -81,6 +81,7 @@ struct module_exports exports = {
81 81
 	0,               /* exported statistics */
82 82
 	0,               /* exported MI functions */
83 83
 	0,               /* exported pseudo-variables */
84
+	0,               /* extra processes */
84 85
 	mysql_mod_init,  /* module initialization function */
85 86
 	0,               /* response function*/
86 87
 	0,               /* destroy function */
... ...
@@ -422,6 +422,7 @@ struct module_exports exports = {
422 422
 	0,           /* exported statistics */
423 423
 	mi_cmds,     /* exported MI functions */
424 424
 	0,           /* exported pseudo-variables */
425
+	0,           /* extra processes */
425 426
 	mod_init,
426 427
 	0,           /* reply processing */
427 428
 	mod_destroy, /* destroy function */
... ...
@@ -83,6 +83,7 @@ struct module_exports exports = {
83 83
 	0,               /* exported statistics */
84 84
 	0,               /* exported MI functions */
85 85
 	0,               /* exported pseudo-variables */
86
+	0,               /* extra processes */
86 87
 	mod_init,        /* Initialization function */
87 88
 	0,               /* Response function */
88 89
 	0,               /* Destroy function */
... ...
@@ -150,6 +150,7 @@ struct module_exports exports = {
150 150
     0,                  /* exported statistics */
151 151
     0,                  /* exported MI functions */
152 152
     0,                  /* exported pseudo-variables */
153
+    0,                  /* extra processes */
153 154
     ospInitMod,         /* module initialization function */
154 155
     0,                  /* response function*/
155 156
     ospDestMod,         /* destroy function */
... ...
@@ -132,6 +132,7 @@ struct module_exports exports = {
132 132
 	0,           /* exported statistics */
133 133
 	0,           /* exported MI functions */
134 134
 	0,           /* exported pseudo-variables */
135
+	0,           /* extra processes */
135 136
 	pa_mod_init, /* module initialization function */
136 137
 	0,           /* response function*/
137 138
 	pa_destroy,  /* destroy function */
... ...
@@ -96,6 +96,7 @@ struct module_exports exports = {
96 96
 	0,          /* exported statistics */
97 97
 	0,          /* exported MI functions */
98 98
 	0,          /* exported pseudo-variables */
99
+	0,          /* extra processes */
99 100
 	mod_init,   /* module initialization function */
100 101
 	0,          /* response function */
101 102
 	destroy,    /* destroy function */
... ...
@@ -142,6 +142,7 @@ struct module_exports exports = {
142 142
 	0,
143 143
 	mi_cmds,        /* exported MI functions */
144 144
 	0,              /* exported pseudo-variables */
145
+	0,              /* extra processes */
145 146
 	mod_init,       /* module initialization function */
146 147
 	0,              /* response function */
147 148
 	mod_destroy,    /* destroy function */
... ...
@@ -157,6 +157,7 @@ struct module_exports exports = {
157 157
 	0,          /* exported statistics */
158 158
 	mi_cmds,    /* exported MI functions */
159 159
 	0,          /* exported pseudo-variables */
160
+	0,          /* extra processes */
160 161
 	mod_init,   /* module initialization function */
161 162
 	0,          /* response function */
162 163
 	destroy,    /* destroy function */
... ...
@@ -69,6 +69,7 @@ struct module_exports exports = {
69 69
 	0,           /* exported statistics */
70 70
 	0,           /* exported MI functions */
71 71
 	0,           /* exported pseudo-variables */
72
+	0,           /* extra processes */
72 73
 	mod_init,    /* module initialization function */
73 74
 	0,           /* response function*/
74 75
 	mod_destroy, /* destroy function */
... ...
@@ -196,6 +196,7 @@ struct module_exports exports = {
196 196
 	0,         /* exported statistics */
197 197
 	mi_cmds,   /* exported MI functions */
198 198
 	0,         /* exported pseudo-variables */
199
+	0,         /* extra processes */
199 200
 	mod_init,  /* module initialization function */
200 201
 	0,         /* response function */
201 202
 	mod_exit,  /* destroy function */
... ...
@@ -94,6 +94,7 @@ struct module_exports exports= {
94 94
 	0,           /* exported statistics */
95 95
 	mi_cmds,     /* exported MI functions */
96 96
 	0,           /* exported pseudo-variables */
97
+	0,           /* extra processes */
97 98
 	pike_init,   /* module initialization function */
98 99
 	(response_function) 0,
99 100
 	(destroy_function) pike_exit,   /* module exit function */
... ...
@@ -64,6 +64,7 @@ struct module_exports exports = {
64 64
 	0,   /* exported statistics */
65 65
 	0,   /* exported MI functions */
66 66
 	0,        /* exported pseudo-variables */
67
+	0,        /* extra processes */
67 68
 	mod_init, /* module initialization function */
68 69
 	0,        /* response function*/
69 70
 	0,        /* destroy function */
... ...
@@ -145,6 +145,7 @@ struct module_exports exports= {
145 145
 	0,							/* exported statistics */
146 146
 	mi_cmds,   					/* exported MI functions */
147 147
 	0,							/* exported pseudo-variables */
148
+	0,							/* extra processes */
148 149
 	mod_init,					/* module initialization function */
149 150
 	(response_function) 0,      /* response handling function */
150 151
 	(destroy_function) destroy, /* destroy function */
... ...
@@ -69,6 +69,7 @@ struct module_exports exports= {
69 69
     0,			        /* exported statistics */
70 70
     0,				/* exported MI functions */
71 71
     0,				/* exported pseudo-variables */
72
+	0,				/* extra processes */
72 73
     mod_init,			/* module initialization function */
73 74
     (response_function) 0,	/* response handling function */
74 75
     destroy,			/* destroy function */
... ...
@@ -82,6 +82,7 @@ struct module_exports exports= {
82 82
 	 0,							/* exported statistics */
83 83
 	 0,							/* exported MI functions */
84 84
 	 0,							/* exported pseudo-variables */
85
+	 0,							/* extra processes */
85 86
 	 mod_init,					/* module initialization function */
86 87
 	 (response_function) 0,		/* response handling function */
87 88
  	 destroy,					/* destroy function */
... ...
@@ -115,6 +115,7 @@ struct module_exports exports= {
115 115
 	0,							/* exported statistics */
116 116
 	0,							/* exported MI functions */
117 117
 	0,							/* exported pseudo-variables */
118
+	0,							/* extra processes */
118 119
 	mod_init,					/* module initialization function */
119 120
 	(response_function) 0,		/* response handling function */
120 121
 	destroy,					/* destroy function */
... ...
@@ -75,6 +75,7 @@ struct module_exports exports= {
75 75
 	 0,							/* exported statistics */
76 76
 	 0,							/* exported MI functions */
77 77
 	 0,							/* exported pseudo-variables */
78
+	 0,							/* extra processes */
78 79
 	 mod_init,					/* module initialization function */
79 80
 	 (response_function) 0,		/* response handling function */
80 81
  	 destroy,					/* destroy function */
... ...
@@ -75,6 +75,7 @@ struct module_exports exports= {
75 75
 	 0,							/* exported statistics */
76 76
 	 mi_cmds,					/* exported MI functions */
77 77
 	 0,							/* exported pseudo-variables */
78
+	 0,							/* extra processes */
78 79
 	 mod_init,					/* module initialization function */
79 80
 	 (response_function) 0,		/* response handling function */
80 81
  	 destroy,					/* destroy function */
... ...
@@ -88,6 +88,7 @@ struct module_exports exports= {
88 88
 	0,							/* exported statistics */
89 89
 	0,							/* exported MI functions */
90 90
 	0,							/* exported pseudo-variables */
91
+	0,							/* extra processes */
91 92
 	mod_init,					/* module initialization function */
92 93
 	(response_function) 0,		/* response handling function */
93 94
 	destroy,					/* destroy function */
... ...
@@ -105,6 +105,7 @@ struct module_exports exports= {
105 105
 	0,                          /* exported statistics */
106 106
 	0,							/* exported MI functions*/
107 107
 	0,							/* exported pseudo-variables */
108
+	0,							/* extra processes */
108 109
 	mod_init,                   /* module initialization function */
109 110
 	(response_function) 0,      /* response handling function */
110 111
 	(destroy_function) 0,       /* destroy function */
... ...
@@ -205,6 +205,7 @@ struct module_exports exports = {
205 205
 	mod_stats,   /* exported statistics */
206 206
 	0,           /* exported MI functions */
207 207
 	0,           /* exported pseudo-variables */
208
+	0,           /* extra processes */
208 209
 	mod_init,    /* module initialization function */
209 210
 	0,
210 211
 	mod_destroy, /* destroy function */
... ...
@@ -127,6 +127,7 @@ struct module_exports exports = {
127 127
 	0,           /* exported statistics */
128 128
 	0,           /* exported MI functions */
129 129
 	0,           /* exported pseudo-variables */
130
+	0,           /* extra processes */
130 131
 	mod_init,    /* initialize module */
131 132
 	0,           /* response function*/
132 133
 	mod_destroy, /* destroy function */
... ...
@@ -111,6 +111,7 @@ struct module_exports exports=
111 111
    0,
112 112
    0,
113 113
    0,
114
+   0,           /* extra processes */
114 115
    seas_init,   /* module initialization function */
115 116
    (response_function) 0,
116 117
    (destroy_function) seas_exit,   /* module exit function */
... ...
@@ -170,6 +170,7 @@ struct module_exports exports = {
170 170
 #endif
171 171
 	mi_cmds,    /* exported MI functions */
172 172
 	0,          /* exported pseudo-variables */
173
+	0,          /* extra processes */
173 174
 	mod_init,   /* module initialization function */
174 175
 	0,          /* response function */
175 176
 	destroy,    /* destroy function */
... ...
@@ -116,6 +116,7 @@ struct module_exports exports= {
116 116
 	mod_stats,    /* exported statistics */
117 117
 	0,            /* exported MI functions */
118 118
 	0,            /* exported pseudo-variables */
119
+	0,            /* extra processes */
119 120
 	mod_init,     /* module initialization function */
120 121
 	0,            /* reply processing function */
121 122
 	mod_destroy,
... ...
@@ -109,6 +109,7 @@ struct module_exports exports= {
109 109
 	0,          /* exported statistics */
110 110
 	0,          /* exported MI functions */
111 111
 	0,          /* exported pseudo-variables */
112
+	0,          /* extra processes */
112 113
 	sms_init,   /* module initialization function */
113 114
 	(response_function) 0,
114 115
 	(destroy_function) sms_exit,   /* module exit function */
... ...
@@ -110,8 +110,9 @@ struct module_exports exports =
110 110
 	0,                       /* exported functions */
111 111
 	mod_params,              /* param exports */
112 112
 	0,                       /* exported statistics */
113
-	0,	                 /* MI Functions */	
114
-	0,                       /* psuedo-variables */
113
+	0,                       /* MI Functions */
114
+	0,                       /* pseudo-variables */
115
+	0,                       /* extra processes */
115 116
 	mod_init,                /* module initialization function */
116 117
 	0,                       /* reply processing function */
117 118
 	mod_destroy,   /* Destroy function */
... ...
@@ -100,6 +100,7 @@ struct module_exports exports = {
100 100
 	0,          /* exported statistics */
101 101
 	0,          /* exported MI functions */
102 102
 	0,          /* exported pseudo-variables */
103
+	0,          /* extra processes */
103 104
 	mod_init,   /* module initialization function */
104 105
 	0,          /* response function */
105 106
 	destroy,    /* destroy function */
... ...
@@ -121,6 +121,7 @@ struct module_exports exports= {
121 121
 	mod_stats,    /* exported statistics */
122 122
 	0,            /* exported MI functions */
123 123
 	0,            /* exported pseudo-variables */
124
+	0,            /* extra processes */
124 125
 	mod_init,     /* module initialization function */
125 126
 	0,            /* reply processing function */
126 127
 	0,            /* Destroy function */
... ...
@@ -69,6 +69,7 @@ struct module_exports exports= {
69 69
 	0,            /* exported statistics */
70 70
 	0,            /* exported MI functions */
71 71
 	0,            /* exported pseudo-variables */
72
+	0,            /* extra processes */
72 73
 	mod_init,     /* module initialization function */
73 74
 	0,            /* reply processing function */
74 75
 	0,            /* module destroy function */
... ...
@@ -184,6 +184,7 @@ struct module_exports exports= {
184 184
 	0,          /* exported statistics */
185 185
 	0,          /* exported MI functions */
186 186
 	0,          /* exported pseudo-variables */
187
+	0,          /* extra processes */
187 188
 	mod_init,   /* module initialization function */
188 189
 	0,          /* response function */
189 190
 	0,          /* destroy function */
... ...
@@ -198,6 +198,7 @@ struct module_exports exports = {
198 198
 	0,           /* exported statistics */
199 199
 	0,           /* exported MI functions */
200 200
 	mod_items,   /* exported pseudo-variables */
201
+	0,           /* extra processes */
201 202
 	mod_init,    /* module initialization function */
202 203
 	0,           /* response function */
203 204
 	mod_destroy, /* destroy function */
... ...
@@ -268,6 +268,7 @@ struct module_exports exports= {
268 268
 	mod_stats, /* exported statistics */
269 269
 	mi_cmds,   /* exported MI functions */
270 270
 	mod_items, /* exported pseudo-variables */
271
+	0,         /* extra processes */
271 272
 	mod_init,  /* module initialization function */
272 273
 	(response_function) reply_received,
273 274
 	(destroy_function) tm_shutdown,
... ...
@@ -115,6 +115,7 @@ struct module_exports exports= {
115 115
 	0,          /* exported statistics */
116 116
 	0,          /* exported MI functions */
117 117
 	0,          /* exported pseudo-variables */
118
+	0,          /* extra processes */
118 119
 	mod_init,   /* module initialization function */
119 120
 	(response_function) 0,
120 121
 	mod_destroy,
... ...
@@ -97,6 +97,7 @@ struct module_exports exports = {
97 97
 	0,        /* exported statistics */
98 98
 	0,        /* exported MI functions */
99 99
 	0,        /* exported pseudo-variables */
100
+	0,        /* extra processes */
100 101
 	redirect_init, /* Module initialization function */
101 102
 	(response_function) 0,
102 103
 	(destroy_function) 0,
... ...
@@ -75,6 +75,7 @@ struct module_exports exports = {
75 75
 	0,          /* exported statistics */
76 76
 	0,          /* exported MI functions */
77 77
 	0,          /* exported pseudo-variables */
78
+	0,          /* extra processes */
78 79
 	0,          /* module initialization function */
79 80
 	0,          /* response function*/
80 81
 	0,          /* destroy function */
... ...
@@ -87,6 +87,7 @@ struct module_exports exports = {
87 87
 	0,         /* exported statistics */
88 88
 	0,         /* exported MI functions */
89 89
 	0,         /* exported pseudo-variables */
90
+	0,         /* extra processes */
90 91
 	0,         /* module initialization function */
91 92
 	0,         /* response function */
92 93
 	0,         /* destroy function */
... ...
@@ -137,6 +137,7 @@ struct module_exports exports = {
137 137
 	0,         /* exported statistics */
138 138
 	0 ,        /* exported MI functions */
139 139
 	0,         /* exported pseudo-variables */
140
+	0,         /* extra processes */
140 141
 	mod_init,  /* module initialization function */
141 142
 	0,         /* response function */
142 143
 	destroy,   /* destroy function */
... ...
@@ -79,6 +79,7 @@ struct module_exports exports = {
79 79
 	0,          /* exported statistics */
80 80
 	0,          /* exported MI functions */
81 81
 	0,          /* exported pseudo-variables */
82
+	0,          /* extra processes */
82 83
 	mod_init,   /* module initialization function */
83 84
 	0,          /* response function */
84 85
 	0,          /* destroy function */
... ...
@@ -222,6 +222,7 @@ struct module_exports exports = {
222 222
 	mod_stats,  /* exported statistics */
223 223
 	mi_cmds,    /* exported MI functions */
224 224
 	0,          /* exported pseudo-variables */
225
+	0,          /* extra processes */
225 226
 	mod_init,   /* Module initialization function */
226 227
 	0,          /* Response function */
227 228
 	destroy,    /* Destroy function */
... ...
@@ -85,6 +85,7 @@ struct module_exports exports= {
85 85
 	0,          /* exported statistics */
86 86
 	0  ,        /* exported MI functions */
87 87
 	0,          /* exported pseudo-variables */
88
+	0,          /* extra processes */
88 89
 	mod_init,   /* module initialization function */
89 90
 	(response_function) 0,
90 91
 	(destroy_function) destroy,
... ...
@@ -165,6 +165,7 @@ struct module_exports exports = {
165 165
 	0,               /* exported statistics */
166 166
 	0,               /* exported MI functions */
167 167
 	0,               /* exported pseudo-variables */
168
+	0,               /* extra processes */
168 169
 	mod_init,        /* Initialization function */
169 170
 	0,               /* Response function */
170 171
 	destroy,         /* Destroy function */