summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 477b8a3)
raw | patch | inline | side by side (parent: 477b8a3)
author | Florian Forster <ff@octo.it> | |
Mon, 14 Jun 2010 14:51:15 +0000 (16:51 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Mon, 14 Jun 2010 14:51:15 +0000 (16:51 +0200) |
graph_list.c | patch | blob | history | |
graph_list.h | patch | blob | history |
diff --git a/graph_list.c b/graph_list.c
index 2d0f57500a111a50e67a1b80fe45c9ea4309b965..0a934776a7450ff5f72be38283334e03611e69af 100644 (file)
--- a/graph_list.c
+++ b/graph_list.c
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)
{
diff --git a/graph_list.h b/graph_list.h
index 41e6ca3c577e29a9406f359b61df4d16eac1961a..b9045d5d58574ae29526f03330bbd53dda62da1d 100644 (file)
--- a/graph_list.h
+++ b/graph_list.h
int gl_graph_get_title (graph_config_t *cfg,
char *buffer, size_t buffer_size);
+graph_ident_t *gl_graph_get_selector (graph_config_t *cfg);
+
int gl_graph_instance_get_all (graph_config_t *cfg,
gl_inst_callback callback, void *user_data);