X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=graph_def.c;h=a5511f6fbb742bc38f9a725785fd8a859b61b13a;hb=57811ec03166433462141458b43b1347199e0519;hp=71ba1bdfe84c2ef3fd352f3132a8731a892ec423;hpb=1a67ab2ea5b397c66b8d37d80fdd3276d290b0d8;p=collection4.git diff --git a/graph_def.c b/graph_def.c index 71ba1bd..a5511f6 100644 --- a/graph_def.c +++ b/graph_def.c @@ -3,6 +3,7 @@ #include #include "graph_def.h" +#include "graph.h" #include "graph_config.h" #include "common.h" #include "oconfig.h" @@ -79,10 +80,10 @@ static graph_def_t *def_config_get_obj (graph_config_t *cfg, /* {{{ */ graph_def_t *def; int i; - ident = gl_graph_get_selector (cfg); + ident = graph_get_selector (cfg); if (ident == NULL) { - fprintf (stderr, "def_config_get_obj: gl_graph_get_selector failed"); + fprintf (stderr, "def_config_get_obj: graph_get_selector failed"); return (NULL); } @@ -134,7 +135,7 @@ graph_def_t *def_create (graph_config_t *cfg, graph_ident_t *ident, /* {{{ */ if ((cfg == NULL) || (ident == NULL) || (ds_name == NULL)) return (NULL); - selector = gl_graph_get_selector (cfg); + selector = graph_get_selector (cfg); if (selector == NULL) return (NULL); @@ -217,7 +218,7 @@ int def_config (graph_config_t *cfg, const oconfig_item_t *ci) /* {{{ */ child->key); } - return (gl_graph_add_def (cfg, def)); + return (graph_add_def (cfg, def)); } /* }}} int def_config */ int def_append (graph_def_t *head, graph_def_t *def) /* {{{ */