return (0);
} /* }}} int gl_update_cache */
-static int gl_scan_directory (void)
-{
- return (-1);
-} /* }}} int gl_scan_directory */
-
/*
* JSON parsing functions
*/
return (0);
} /* }}} int graph_config_submit */
-int gl_register_ident (const char *provider, const graph_ident_t *ident)
+int gl_register_ident (const char *provider, const graph_ident_t *ident) /* {{{ */
{
char *ident_str = ident_to_string (ident);
return (0);
} /* }}} int gl_register_ident */
+int gl_register_data_provider (const char *name, data_provider_t *p) /* {{{ */
+{
+ fprintf (stderr, "gl_register_data_provider (name = %s, ptr = %p)\n",
+ name, (void *) p);
+
+ return (0);
+} /* }}} int gl_register_data_provider */
+
int gl_graph_get_all (_Bool include_dynamic, /* {{{ */
graph_callback_t callback, void *user_data)
{
#include "graph_types.h"
#include "graph_ident.h"
#include "utils_search.h"
+#include "data_provider.h"
/*
* Functions
int gl_config_submit (void);
int gl_register_ident (const char *provider, const graph_ident_t *ident);
+int gl_register_data_provider (const char *name, data_provider_t *p);
graph_config_t *gl_graph_get_selected (void);