4 #include "graph_types.h"
6 #include "utils_array.h"
11 graph_config_t *graph_create (const graph_ident_t *selector);
13 void graph_destroy (graph_config_t *graph);
15 int graph_config_add (const oconfig_item_t *ci);
17 int graph_add_file (graph_config_t *cfg, const graph_ident_t *file);
19 int graph_get_title (graph_config_t *cfg,
20 char *buffer, size_t buffer_size);
22 graph_ident_t *graph_get_selector (graph_config_t *cfg);
24 graph_instance_t *graph_get_instances (graph_config_t *cfg);
26 graph_def_t *graph_get_defs (graph_config_t *cfg);
28 int graph_add_def (graph_config_t *cfg, graph_def_t *def);
30 _Bool graph_matches (graph_config_t *cfg, const graph_ident_t *ident);
32 int graph_search (graph_config_t *cfg, const char *term,
33 graph_inst_callback_t callback, void *user_data);
35 int graph_compare (graph_config_t *cfg, const graph_ident_t *ident);
37 int graph_clear_instances (graph_config_t *cfg);
39 int graph_get_rrdargs (graph_config_t *cfg, graph_instance_t *inst,
43 /* vim: set sw=2 sts=2 et fdm=marker : */