- if (strcasecmp ("Host", child->key) == 0)
- config_get_string (child, &host);
- else if (strcasecmp ("Plugin", child->key) == 0)
- config_get_string (child, &plugin);
- else if (strcasecmp ("PluginInstance", child->key) == 0)
- config_get_string (child, &plugin_instance);
- else if (strcasecmp ("Type", child->key) == 0)
- config_get_string (child, &type);
- else if (strcasecmp ("TypeInstance", child->key) == 0)
- config_get_string (child, &type_instance);
- else if (strcasecmp ("Title", child->key) == 0)
- config_get_string (child, &cfg->title);
+ if (strcasecmp ("Title", child->key) == 0)
+ graph_config_get_string (child, &cfg->title);