src/data_provider.[ch]: Move privider handling functions to a central place.
[collection4.git] / src / data_provider.h
index a5e9c76..054c0a9 100644 (file)
@@ -25,6 +25,7 @@
 #define DATA_PROVIDER_H 1
 
 #include "graph_types.h"
+#include "oconfig.h"
 
 #include <time.h>
 
@@ -63,5 +64,10 @@ struct data_provider_s
 };
 typedef struct data_provider_s data_provider_t;
 
+int data_provider_config (const oconfig_item_t *ci);
+
+int data_provider_register (const char *name, data_provider_t *p);
+int data_provider_get_idents (dp_get_idents_callback callback, void *user_data);
+
 #endif /* DATA_PROVIDER_H */
 /* vim: set sw=2 sts=2 et fdm=marker : */