#include <errno.h>
#include "action_list_graphs.h"
+#include "graph.h"
#include "graph_list.h"
#include "utils_params.h"
first = user_data;
- ident = gl_instance_get_selector (inst);
+ ident = inst_get_selector (inst);
if (ident == NULL)
return (-1);
char buffer[1024];
memset (buffer, 0, sizeof (buffer));
- gl_instance_get_params (cfg, inst, buffer, sizeof (buffer));
+ inst_get_params (cfg, inst, buffer, sizeof (buffer));
printf ("<li><a href=\"test.fcgi?action=graph;%s\">%s</a></li>\n", buffer, buffer);
char buffer[1024];
memset (buffer, 0, sizeof (buffer));
- gl_graph_get_title (cfg, buffer, sizeof (buffer));
+ graph_get_title (cfg, buffer, sizeof (buffer));
printf ("<li>%s\n<ul>\n", buffer);
gl_graph_instance_get_all (cfg, print_graph_inst_html, /* user_data = */ NULL);