X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=action_list_graphs.c;h=c239222051679003587bbcf769d407d9b2abd4df;hb=b2db68ebb7acdb345c07985fcdb35dcfbb36d4aa;hp=16d5cc4405761178a838a0e6de3426a4b93d5c98;hpb=bdd9ce2f4b4fc04f66fe96da300cc10d8f4222ee;p=collection4.git diff --git a/action_list_graphs.c b/action_list_graphs.c index 16d5cc4..c239222 100644 --- a/action_list_graphs.c +++ b/action_list_graphs.c @@ -43,16 +43,16 @@ static int print_graph_json (const graph_list_t *gl, void *user_data) /* {{{ */ return (0); } /* }}} int print_graph_json */ -static int print_graph_inst_html (__attribute__((unused)) graph_config_t *cfg, /* {{{ */ +static int print_graph_inst_html (graph_config_t *cfg, /* {{{ */ graph_instance_t *inst, __attribute__((unused)) void *user_data) { char buffer[1024]; memset (buffer, 0, sizeof (buffer)); - gl_instance_get_ident (inst, buffer, sizeof (buffer)); + gl_instance_get_params (cfg, inst, buffer, sizeof (buffer)); - printf ("
  • %s
  • \n", buffer); + printf ("
  • %s
  • \n", buffer, buffer); return (0); } /* }}} int print_graph_inst_html */ @@ -60,7 +60,12 @@ static int print_graph_inst_html (__attribute__((unused)) graph_config_t *cfg, / static int print_graph_html (graph_config_t *cfg, /* {{{ */ __attribute__((unused)) void *user_data) { - printf ("
  • %p\n