X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fgraph.h;h=7f1115ce6215e7d9501f2dfdb712fc59ed8543da;hb=173727f52463a5e2f60e7363456f90905d67e669;hp=57a866f996cc090c2e392adb62b8f8be1c8d1b71;hpb=2c85f876c1b9d5c161694cfb03cf20773b74c844;p=collection4.git diff --git a/src/graph.h b/src/graph.h index 57a866f..7f1115c 100644 --- a/src/graph.h +++ b/src/graph.h @@ -19,6 +19,8 @@ int graph_add_file (graph_config_t *cfg, const graph_ident_t *file); int graph_get_title (graph_config_t *cfg, char *buffer, size_t buffer_size); +int graph_get_params (graph_config_t *cfg, char *buffer, size_t buffer_size); + graph_ident_t *graph_get_selector (graph_config_t *cfg); graph_instance_t *graph_get_instances (graph_config_t *cfg); @@ -29,6 +31,9 @@ int graph_add_def (graph_config_t *cfg, graph_def_t *def); _Bool graph_matches (graph_config_t *cfg, const graph_ident_t *ident); +int graph_inst_foreach (graph_config_t *cfg, + inst_callback_t cb, void *user_data); + int graph_search (graph_config_t *cfg, const char *term, graph_inst_callback_t callback, void *user_data);