+ printf ("<li>%s</li>\n", buffer);
+
+ return (0);
+} /* }}} int print_graph_inst_html */
+
+static int print_graph_html (graph_config_t *cfg, /* {{{ */
+ __attribute__((unused)) void *user_data)
+{
+ printf ("<li>%p\n<ul>\n", (void *) cfg);
+ gl_graph_instance_get_all (cfg, print_graph_inst_html, /* user_data = */ NULL);
+ printf ("</ul>\n");
+
+ return (0);
+} /* }}} int print_graph_html */
+
+static int list_graphs_json (void) /* {{{ */
+{
+ _Bool first = 1;
+
+ printf ("Content-Type: application/json\n\n");