memset (i, 0, sizeof (*i));
i->select = ident_copy_with_selector (cfg->select, file,
- /* keep_all_selector = */ 1);
+ IDENT_FLAG_REPLACE_ANY);
i->files = NULL;
i->files_num = 0;
return (0);
} /* }}} int gl_graph_get_title */
+graph_ident_t *gl_graph_get_selector (graph_config_t *cfg) /* {{{ */
+{
+ if (cfg == NULL)
+ return (NULL);
+
+ return (ident_clone (cfg->select));
+} /* }}} graph_ident_t *gl_graph_get_selector */
+
int gl_instance_get_all (gl_inst_callback callback, /* {{{ */
void *user_data)
{