"graph_def_json" action: Make this work with ad-hoc DEFs, too.
[collection4.git] / src / graph.h
index 2873103..46964e5 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_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);
 
 
 size_t graph_num_instances (graph_config_t *cfg);