From: Florian Forster Date: Wed, 1 Sep 2010 09:33:25 +0000 (+0200) Subject: src/graph_list.[ch]: Implement a stub for "gl_register_ident". X-Git-Tag: v4.0.0~56 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=60f9e98201a0a261f2a8c002e928b863d1fe611a;p=collection4.git src/graph_list.[ch]: Implement a stub for "gl_register_ident". --- diff --git a/src/graph_list.c b/src/graph_list.c index 02c7de8..ed8d41a 100644 --- 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 */ +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 43d4406..596235f 100644 --- 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_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,