Merge branch 'search'
[collection4.git] / src / graph_list.h
1 #ifndef GRAPH_LIST_H
2 #define GRAPH_LIST_H 1
3
4 #include "graph_types.h"
5 #include "graph.h"
6 #include "graph_instance.h"
7
8 /*
9  * Functions
10  */
11 int gl_add_graph (graph_config_t *cfg);
12
13 int gl_config_submit (void);
14
15 graph_config_t *gl_graph_get_selected (void);
16
17 int gl_graph_get_all (graph_callback_t callback, void *user_data);
18
19 int gl_graph_instance_get_all (graph_config_t *cfg, graph_inst_callback_t callback,
20     void *user_data);
21
22 int gl_instance_get_all (graph_inst_callback_t callback, void *user_data);
23
24 int gl_search (const char *search, graph_inst_callback_t callback,
25     void *user_data);
26
27 int gl_update (void);
28
29 #endif /* GRAPH_LIST_H */
30 /* vim: set sw=2 sts=2 et fdm=marker : */