-static void recursiveNewUserHostVariableType (const char *new_typename, const char *color, type_t root)
-{
- if (!strcmp (root->name, "HOST")){
- getVariableType(new_typename, color, root);
- }
- xbt_dict_cursor_t cursor = NULL;
- type_t child_type;
- char *name;
- xbt_dict_foreach(root->children, cursor, name, child_type) {
- recursiveNewUserHostVariableType (new_typename, color, child_type);
- }
-}
-
-void instr_new_user_host_variable_type (const char *new_typename, const char *color)
-{
- recursiveNewUserHostVariableType (new_typename, color, getRootType());
-}