graph_list: Add basic configuration infrastructure.
[collection4.git] / graph_list.h
1 #ifndef GRAPH_LIST_H
2 #define GRAPH_LIST_H 1
3
4 struct graph_ident_s;
5 typedef struct graph_ident_s graph_ident_t;
6
7 struct graph_list_s
8 {
9   char *host;
10   char *plugin;
11   char *plugin_instance;
12   char *type;
13   char *type_instance;
14 };
15 typedef struct graph_list_s graph_list_t;
16
17 typedef int (*gl_callback) (const graph_list_t *, void *);
18
19 int gl_update (void);
20 int gl_foreach (gl_callback callback, void *user_data);
21
22 #endif /* GRAPH_LIST_H */
23 /* vim: set sw=2 sts=2 et fdm=marker : */