#include "graph_config.h"
#include "common.h"
#include "filesystem.h"
-#include "utils_params.h"
+#include "utils_cgi.h"
#include <fcgiapp.h>
#include <fcgi_stdio.h>
if ((cfg == NULL) || (callback == NULL))
return (EINVAL);
- return (inst_foreach (graph_get_instances (cfg),
- gl_inst_callback_handler, &data));
+ return (graph_inst_foreach (cfg, gl_inst_callback_handler, &data));
} /* }}} int gl_graph_instance_get_all */
int gl_instance_get_all (graph_inst_callback_t callback, /* {{{ */
{
int status;
- status = graph_search (gl_active[i], term,
+ status = graph_inst_search (gl_active[i], term,
/* callback = */ callback,
/* user data = */ user_data);
if (status != 0)