Changeset 790 for trunk/zoo-project/zoo-kernel/service.h
- Timestamp:
- Dec 19, 2016, 6:01:06 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-kernel/service.h
r788 r790 154 154 */ 155 155 //#define MAPS_SIZE (2*sizeof(char*))+sizeof(map*)+MAP_SIZE 156 #define MAPS_SIZE sizeof(char*)+sizeof(map*)+ sizeof(maps*)156 #define MAPS_SIZE sizeof(char*)+sizeof(map*)+(2*sizeof(maps*)) 157 157 /** 158 158 * The memory size to create a service … … 205 205 char* name; //!< the maps name 206 206 struct map* content; //!< the content map 207 struct maps* child; //!< the child maps 207 208 struct maps* next; //!< the pointer to the next maps if any or NULL 208 209 } maps; … … 268 269 ZOO_DLL_EXPORT void dumpMapsToFile(maps*,char*,int); 269 270 ZOO_DLL_EXPORT map* createMap(const char*,const char*); 271 ZOO_DLL_EXPORT maps* createMaps(const char*); 270 272 ZOO_DLL_EXPORT int count(map*); 271 273 ZOO_DLL_EXPORT bool hasKey(map*,const char*); … … 278 280 279 281 282 ZOO_DLL_EXPORT elements* createEmptyElements(); 283 ZOO_DLL_EXPORT elements* createElements(char*); 284 ZOO_DLL_EXPORT void setElementsName(elements**,char*); 280 285 ZOO_DLL_EXPORT bool hasElement(elements*,const char*); 281 286 ZOO_DLL_EXPORT elements* getElements(elements*,char*); 282 287 ZOO_DLL_EXPORT void freeIOType(iotype**); 283 288 ZOO_DLL_EXPORT void freeElements(elements**); 289 ZOO_DLL_EXPORT void setServiceName(service**,char*); 284 290 ZOO_DLL_EXPORT void freeService(service**); 285 291 ZOO_DLL_EXPORT void addToMap(map*,const char*,const char*); … … 301 307 ZOO_DLL_EXPORT void setMapInMaps(maps*,const char*,const char*,const char*); 302 308 ZOO_DLL_EXPORT void dumpElements(elements*); 303 ZOO_DLL_EXPORT void dumpElementsAsYAML(elements* );309 ZOO_DLL_EXPORT void dumpElementsAsYAML(elements*,int); 304 310 ZOO_DLL_EXPORT elements* dupElements(elements*); 305 311 ZOO_DLL_EXPORT void addToElements(elements**,elements*);
Note: See TracChangeset
for help on using the changeset viewer.