src/graph_list.[ch]: Implement "gl_search_field".
[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_ident.h"
6
7 /*
8  * Functions
9  */
10 int gl_add_graph (graph_config_t *cfg);
11
12 int gl_config_submit (void);
13
14 graph_config_t *gl_graph_get_selected (void);
15
16 int gl_graph_get_all (graph_callback_t callback, void *user_data);
17
18 int gl_graph_instance_get_all (graph_config_t *cfg, graph_inst_callback_t callback,
19     void *user_data);
20
21 int gl_instance_get_all (graph_inst_callback_t callback, void *user_data);
22
23 int gl_search (const char *search, graph_inst_callback_t callback,
24     void *user_data);
25
26 int gl_search_field (graph_ident_field_t field, const char *field_value,
27     graph_inst_callback_t callback, void *user_data);
28
29 int gl_update (void);
30
31 #endif /* GRAPH_LIST_H */
32 /* vim: set sw=2 sts=2 et fdm=marker : */