|
ZOO_DLL_EXPORT void | _dumpMap (map *) |
| Dump a map on stderr. More...
|
|
ZOO_DLL_EXPORT void | dumpMap (map *) |
| Dump a map on stderr, see _dumpMap() More...
|
|
ZOO_DLL_EXPORT void | dumpMaps (maps *m) |
| Dump a maps on stderr, see dumpMap(). More...
|
|
ZOO_DLL_EXPORT void | dumpMapToFile (map *, FILE *) |
| Dump a map to a file. More...
|
|
ZOO_DLL_EXPORT void | dumpMapsToFile (maps *, char *, int) |
| Dump a maps to a file, see _dumpMapsToFile(). More...
|
|
ZOO_DLL_EXPORT map * | createMap (const char *, const char *) |
| Create a new map. More...
|
|
ZOO_DLL_EXPORT maps * | createMaps (const char *) |
| Create a new maps with the given name. More...
|
|
ZOO_DLL_EXPORT int | count (map *) |
| Count number of map in a map. More...
|
|
ZOO_DLL_EXPORT bool | hasKey (map *, const char *) |
| Verify if a key exist in a map. More...
|
|
ZOO_DLL_EXPORT maps * | getMaps (maps *, const char *) |
| Access a specific maps. More...
|
|
ZOO_DLL_EXPORT map * | getMap (map *, const char *) |
| Access a specific map. More...
|
|
ZOO_DLL_EXPORT map * | getLastMap (map *) |
| Access the last map. More...
|
|
ZOO_DLL_EXPORT map * | getMapFromMaps (maps *, const char *, const char *) |
| Access a specific map from a maps. More...
|
|
ZOO_DLL_EXPORT void | freeMap (map **) |
| Free allocated memory of a map. More...
|
|
ZOO_DLL_EXPORT void | freeMaps (maps **mo) |
| Free allocated memory of a maps. More...
|
|
ZOO_DLL_EXPORT iotype * | createIoType () |
| Create a new iotype*. More...
|
|
ZOO_DLL_EXPORT elements * | createEmptyElements () |
| Create an empty elements. More...
|
|
ZOO_DLL_EXPORT elements * | createElements (const char *) |
| Create a named elements. More...
|
|
ZOO_DLL_EXPORT void | setElementsName (elements **, char *) |
| Set the name of an elements. More...
|
|
ZOO_DLL_EXPORT bool | hasElement (elements *, const char *) |
| Verify if an elements contains a name equal to the given key. More...
|
|
ZOO_DLL_EXPORT elements * | getElements (elements *, const char *) |
| Access a specific elements named key. More...
|
|
ZOO_DLL_EXPORT void | freeIOType (iotype **) |
| Free allocated memory of an iotype. More...
|
|
ZOO_DLL_EXPORT void | freeElements (elements **) |
| Free allocated memory of an elements. More...
|
|
ZOO_DLL_EXPORT void | setServiceName (service **, char *) |
| Set the name of a service. More...
|
|
ZOO_DLL_EXPORT service * | createService () |
| Allocate memory for a service. More...
|
|
ZOO_DLL_EXPORT void | freeService (service **) |
| Free allocated memory of a service. More...
|
|
ZOO_DLL_EXPORT void | addToMap (map *, const char *, const char *) |
| Add key value pair to an existing map. More...
|
|
ZOO_DLL_EXPORT void | addIntToMap (map *, const char *, const int) |
| Add a key and an integer value to an existing map. More...
|
|
ZOO_DLL_EXPORT void | addIntToMapArray (map *, const char *, int, const int) |
| Add a key and an integer value to an existing map array. More...
|
|
ZOO_DLL_EXPORT map * | addToMapWithSize (map *, const char *, const char *, int) |
| Add a key and a binary value to an existing map. More...
|
|
ZOO_DLL_EXPORT void | addMapToMap (map **, map *) |
| Add a map at the end of another map. More...
|
|
ZOO_DLL_EXPORT void | addMapToIoType (iotype **, map *) |
| Add a map to iotype. More...
|
|
ZOO_DLL_EXPORT map * | getMapOrFill (map **, const char *, const char *) |
| Access a specific map or set its value. More...
|
|
ZOO_DLL_EXPORT bool | contains (map *, map *) |
| Verify if a map is contained in another map. More...
|
|
ZOO_DLL_EXPORT iotype * | getIoTypeFromElement (elements *, char *, map *) |
| Access a specific iotype from an elements. More...
|
|
ZOO_DLL_EXPORT void | loadMapBinary (map **, map *, int) |
| Load binary values from a map (in) and add them to another map (out) More...
|
|
ZOO_DLL_EXPORT void | loadMapBinaries (map **, map *) |
| Load binary values from a map (in) and add them to another map (out). More...
|
|
ZOO_DLL_EXPORT maps * | dupMaps (maps **) |
| Duplicate a Maps. More...
|
|
ZOO_DLL_EXPORT void | addMapsToMaps (maps **, maps *) |
| Add a maps at the end of another maps. More...
|
|
ZOO_DLL_EXPORT map * | getMapArray (map *, const char *, int) |
| Access a specific map array element. More...
|
|
ZOO_DLL_EXPORT void | setMapArray (map *, const char *, int, const char *) |
| Add a key value in a MapArray for a specific index. More...
|
|
ZOO_DLL_EXPORT map * | getMapType (map *) |
| Access the map "type". More...
|
|
ZOO_DLL_EXPORT int | addMapsArrayToMaps (maps **, maps *, char *) |
| Add a Maps containing a MapArray to a Maps. More...
|
|
ZOO_DLL_EXPORT void | setMapInMaps (maps *, const char *, const char *, const char *) |
| Set a key value pair to a map contained in a Maps. More...
|
|
ZOO_DLL_EXPORT void | dumpElements (elements *) |
| Dump an elements on stderr. More...
|
|
ZOO_DLL_EXPORT void | dumpElementsAsYAML (elements *, int) |
| Dump an elements on stderr using the YAML syntaxe. More...
|
|
ZOO_DLL_EXPORT elements * | dupElements (elements *) |
| Duplicate an elements. More...
|
|
ZOO_DLL_EXPORT void | addToElements (elements **, elements *) |
| Add an elements to another elements. More...
|
|
ZOO_DLL_EXPORT void | dumpService (service *) |
| Dump a service on stderr. More...
|
|
ZOO_DLL_EXPORT void | dumpServiceAsYAML (service *) |
| Dump a service on stderr using the YAML syntaxe. More...
|
|
ZOO_DLL_EXPORT service * | dupService (service *) |
| Duplicate a service. More...
|
|
ZOO_DLL_EXPORT void | dumpRegistry (registry *) |
| Print the registry on stderr. More...
|
|
ZOO_DLL_EXPORT bool | addServiceToRegistry (registry **, char *, service *) |
| Add a service to the registry. More...
|
|
ZOO_DLL_EXPORT void | freeRegistry (registry **) |
| Free memory allocated for the registry. More...
|
|
ZOO_DLL_EXPORT service * | getServiceFromRegistry (registry *, char *, char *) |
| Access a service in the registry. More...
|
|
ZOO_DLL_EXPORT void | inheritMap (map **, map *) |
| Apply inheritance to an out map from a reference in map. More...
|
|
ZOO_DLL_EXPORT void | inheritIOType (iotype **, iotype *) |
| Apply inheritance to an out iotype from a reference in iotype. More...
|
|
ZOO_DLL_EXPORT void | inheritElements (elements **, elements *) |
| Apply inheritance to an out elements from a reference in elements. More...
|
|
ZOO_DLL_EXPORT void | inheritance (registry *, service **) |
| Apply inheritance to a service based on a registry. More...
|
|
ZOO_DLL_EXPORT void | mapsToCharXXX (maps *, char ***) |
| Convert a maps to a char*** (only used for Fortran support) More...
|
|
ZOO_DLL_EXPORT void | charxxxToMaps (char ***, maps **) |
| Convert a char*** to a maps (only used for Fortran support) More...
|
|
ZOO_DLL_EXPORT bool | nonempty (map *map) |
| Verify that a map has a value. More...
|
|
ZOO_DLL_EXPORT bool | hasvalue (maps *source, const char *node, const char *key, map **kvp) |
| Verify that a particular map value exists in a maps data structure, and obtain that value. More...
|
|
ZOO_DLL_EXPORT char * | allocateMapValue (map *node, size_t num_bytes) |
|
void | crerror (const char *s) |
| Print on stderr the message and the line number of the error which occurred. More...
|
|
void | usage (void) |
|
int | crlex (void) |
|
int | crlex_destroy (void) |
|
| if (debug) |
|
| free (curr_key) |
|
| free (current_content) |
|
| snprintf (current_maps->name,(strlen($1)+1),"%s", $1) |
|
int | conf_read (const char *file, maps *my_map) |
| Parse the main.cfg file and fill the maps structure. More...
|
|