src/graph.[ch]: Implement "graph_get_params".
[collection4.git] / src / graph.h
index 57a866f..7f1115c 100644 (file)
@@ -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);