projects
/
collection4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
eadd1b6
)
src/graph_list.[ch]: Implement a stub for "gl_register_ident".
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
02c7de8
..
ed8d41a
100644
(file)
--- a/
src/graph_list.c
+++ b/
src/graph_list.c
@@
-780,6
+780,17
@@
int gl_config_submit (void) /* {{{ */
return (0);
} /* }}} int graph_config_submit */
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)
{
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
43d4406
..
596235f
100644
(file)
--- a/
src/graph_list.h
+++ b/
src/graph_list.h
@@
-35,6
+35,8
@@
int gl_add_graph (graph_config_t *cfg);
int gl_config_submit (void);
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,
graph_config_t *gl_graph_get_selected (void);
int gl_graph_get_all (_Bool include_dynamic,