X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=graph_list.c;h=965fcbac4f6caad5913b9a0097dd2937ec773ffb;hb=3dfc071fbc2e15897d1888e7d75c444a7a801189;hp=83c5e68012ee85083a4bd965c5da0d4d5533729e;hpb=7d88264832d9ddc7b53413623f3f0c26e4991d37;p=collection4.git diff --git a/graph_list.c b/graph_list.c index 83c5e68..965fcba 100644 --- a/graph_list.c +++ b/graph_list.c @@ -128,7 +128,7 @@ int gl_add_graph (graph_config_t *cfg) /* {{{ */ return (gl_add_graph_internal (cfg, &gl_staging, &gl_staging_num)); } /* }}} int gl_add_graph */ -int graph_config_submit (void) /* {{{ */ +int gl_config_submit (void) /* {{{ */ { graph_config_t **old; size_t old_num; @@ -175,7 +175,7 @@ int gl_graph_get_all (gl_cfg_callback callback, /* {{{ */ return (0); } /* }}} int gl_graph_get_all */ -graph_config_t *graph_get_selected (void) /* {{{ */ +graph_config_t *gl_graph_get_selected (void) /* {{{ */ { const char *host = get_part_from_param ("graph_host", "host"); const char *plugin = get_part_from_param ("graph_plugin", "plugin"); @@ -205,7 +205,7 @@ graph_config_t *graph_get_selected (void) /* {{{ */ ident_destroy (ident); return (NULL); -} /* }}} graph_config_t *graph_get_selected */ +} /* }}} graph_config_t *gl_graph_get_selected */ /* gl_instance_get_all, gl_graph_instance_get_all {{{ */ struct gl_inst_callback_data /* {{{ */ @@ -236,7 +236,7 @@ int gl_graph_instance_get_all (graph_config_t *cfg, /* {{{ */ if ((cfg == NULL) || (callback == NULL)) return (EINVAL); - return (inst_foreach (gl_graph_get_instances (cfg), + return (inst_foreach (graph_get_instances (cfg), gl_inst_callback_handler, &data)); } /* }}} int gl_graph_instance_get_all */