|
@@ -65,6 +65,7 @@
|
|
|
#include "../../pt.h"
|
|
|
#include "../../mem/mem.h"
|
|
|
#include "../../mem/shm_mem.h"
|
|
|
+#include "../../cfg/cfg_struct.h"
|
|
|
|
|
|
xmlrpc_env env;
|
|
|
xmlrpc_value * xr_response;
|
|
@@ -134,6 +135,9 @@ static int mod_init(void)
|
|
|
/* add space for extra processes */
|
|
|
register_procs(1);
|
|
|
|
|
|
+ /* add child to update local config framework structures */
|
|
|
+ cfg_register_child(1);
|
|
|
+
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
@@ -146,6 +150,11 @@ static int child_init(int rank)
|
|
|
return -1; /* error */
|
|
|
if(pid==0){
|
|
|
/* child */
|
|
|
+
|
|
|
+ /* initialize the config framework */
|
|
|
+ if (cfg_child_init())
|
|
|
+ return -1;
|
|
|
+
|
|
|
xmlrpc_process(1);
|
|
|
}
|
|
|
}
|