- Timestamp:
- Feb 2, 2015, 10:04:56 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PublicaMundi_David-devel/zoo-project/zoo-kernel/service_zcfg.c
r533 r549 6 6 #include "service.h" 7 7 #include "service_internal.h" 8 extern "C" { 8 9 #include <libxml/tree.h> 9 10 #include <libxml/xmlmemory.h> … … 11 12 #include <libxml/xpath.h> 12 13 #include <libxml/xpathInternals.h> 13 14 #include "service.h" 15 #include "service_internal.h" 16 } 14 17 15 18 … … 18 21 19 22 static GList *serviceCfgList; 23 24 //static maps * main_conf = NULL; 25 26 27 /*int 28 load_main_conf(char * path){ 29 if (main_conf != NULL) 30 freeMaps(&main_conf); 31 main_conf = (maps *) malloc (MAP_SIZE); 32 return conf_read (path, main_conf); 33 } 34 35 maps * get_main_conf(){ 36 return dupMaps(&main_conf); 37 } 38 39 */ 20 40 21 41 static int … … 118 138 serviceCfgList = g_list_append (serviceCfgList, s1); 119 139 } 120 freeMap (&m);140 freeMaps(&m); 121 141 } 122 142
Note: See TracChangeset
for help on using the changeset viewer.