container_t getContainerByName (const char *name)
{
- return (container_t)xbt_dict_get (allContainers, name);
+ return (container_t)xbt_dict_get_or_null (allContainers, name);
}
char *getContainerIdByName (const char *name)
return NULL;
}
-type_t getType (const char *name)
+type_t getType (const char *name, type_t father)
{
- return recursiveGetType (name, rootType);
+ return recursiveGetType (name, father);
}
void destroyContainer (container_t container)