summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: eadd1b6)
raw | patch | inline | side by side (parent: eadd1b6)
author | Florian Forster <ff@octo.it> | |
Wed, 1 Sep 2010 09:33:25 +0000 (11:33 +0200) | ||
committer | Florian Forster <ff@octo.it> | |
Wed, 1 Sep 2010 09:33:25 +0000 (11:33 +0200) |
src/graph_list.c | patch | blob | history | |
src/graph_list.h | patch | blob | history |
diff --git a/src/graph_list.c b/src/graph_list.c
index 02c7de8db75f0b2c0fad8042b0cb7abf498a4ae1..ed8d41a78cf2f1cce4bf73ed9de7c21902c1a880 100644 (file)
--- a/src/graph_list.c
+++ b/src/graph_list.c
return (0);
} /* }}} int graph_config_submit */
+int gl_register_ident (const char *provider, const graph_ident_t *ident)
+{
+ char *ident_str = ident_to_string (ident);
+
+ fprintf (stderr, "gl_register_ident (provider = %s, ident = %s)\n",
+ provider, ident_str);
+
+ free (ident_str);
+ return (0);
+} /* }}} int gl_register_ident */
+
int gl_graph_get_all (_Bool include_dynamic, /* {{{ */
graph_callback_t callback, void *user_data)
{
diff --git a/src/graph_list.h b/src/graph_list.h
index 43d44066f9d28f330d3df47ab8d3b685916d6f90..596235f308a8868ddb98eb70d3ebd8beba5bb424 100644 (file)
--- a/src/graph_list.h
+++ b/src/graph_list.h
int gl_config_submit (void);
+int gl_register_ident (const char *provider, const graph_ident_t *ident);
+
graph_config_t *gl_graph_get_selected (void);
int gl_graph_get_all (_Bool include_dynamic,