8 typedef struct graph_config_s graph_config_t;
10 #include "graph_def.h"
11 #include "graph_ident.h"
12 #include "graph_instance.h"
13 #include "utils_array.h"
19 typedef int (*gl_cfg_callback) (graph_config_t *cfg,
22 typedef int (*gl_inst_callback) (graph_config_t *cfg,
23 graph_instance_t *inst, void *user_data);
28 int graph_config_add (const oconfig_item_t *ci);
29 int graph_config_submit (void);
31 int gl_graph_get_all (gl_cfg_callback callback,
34 graph_config_t *graph_get_selected (void);
36 int gl_graph_get_title (graph_config_t *cfg,
37 char *buffer, size_t buffer_size);
39 graph_ident_t *gl_graph_get_selector (graph_config_t *cfg);
41 graph_instance_t *gl_graph_get_instances (graph_config_t *cfg);
43 graph_def_t *gl_graph_get_defs (graph_config_t *cfg);
45 int gl_graph_add_def (graph_config_t *cfg, graph_def_t *def);
47 int gl_graph_instance_get_all (graph_config_t *cfg,
48 gl_inst_callback callback, void *user_data);
50 int gl_instance_get_all (gl_inst_callback callback,
55 #endif /* GRAPH_LIST_H */
56 /* vim: set sw=2 sts=2 et fdm=marker : */