Code

"graph_def_json" action: Make this work with ad-hoc DEFs, too.
[collection4.git] / src / graph.h
index 2873103ba1153f5c105ce0903f8e72080b7b5cec..46964e5e6f0b296f0f5bc03d8a0529cab8a76c11 100644 (file)
@@ -112,7 +112,9 @@ int graph_inst_search_field (graph_config_t *cfg,
 int graph_compare (graph_config_t *cfg, const graph_ident_t *ident);
 
 int graph_to_json (const graph_config_t *cfg, yajl_gen handler);
-int graph_def_to_json (const graph_config_t *cfg, yajl_gen handler);
+int graph_def_to_json (graph_config_t *cfg,
+    graph_instance_t *inst,
+    yajl_gen handler);
 
 size_t graph_num_instances (graph_config_t *cfg);