X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fgraph.h;h=e9c603ac8dcdbc2510bd42a7d16232627f5cdefe;hb=0e847a9762cd2399b4b3aeda25cab26380455abe;hp=0c4ff76b2e8ea14d3d0d94cc6b6371c0b8dcb044;hpb=c60546477991d9a881e51dd05ee4fadc38dc6bc1;p=collection4.git diff --git a/src/graph.h b/src/graph.h index 0c4ff76..e9c603a 100644 --- a/src/graph.h +++ b/src/graph.h @@ -42,6 +42,10 @@ void graph_destroy (graph_config_t *graph); int graph_config_add (const oconfig_item_t *ci); +/* Add "inst" to the internal list. The instance is *not* copied and may not be + * freed from the outside. */ +int graph_add_inst (graph_config_t *graph, graph_instance_t *inst); + int graph_add_file (graph_config_t *cfg, const graph_ident_t *file); int graph_get_title (graph_config_t *cfg,