X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;ds=sidebyside;f=graph.c;h=c09248297c3bfbbad7ae381590a256287133e37f;hb=beb1cb55ddc89ad2e8bfd31ecf1e5cf39e73204a;hp=025a8670f11f2c19fa1f0c980a9fe136b73e1e01;hpb=7d88264832d9ddc7b53413623f3f0c26e4991d37;p=collection4.git diff --git a/graph.c b/graph.c index 025a867..c092482 100644 --- a/graph.c +++ b/graph.c @@ -201,31 +201,31 @@ int gl_graph_get_title (graph_config_t *cfg, /* {{{ */ return (0); } /* }}} int gl_graph_get_title */ -graph_ident_t *gl_graph_get_selector (graph_config_t *cfg) /* {{{ */ +graph_ident_t *graph_get_selector (graph_config_t *cfg) /* {{{ */ { if (cfg == NULL) return (NULL); return (ident_clone (cfg->select)); -} /* }}} graph_ident_t *gl_graph_get_selector */ +} /* }}} graph_ident_t *graph_get_selector */ -graph_instance_t *gl_graph_get_instances (graph_config_t *cfg) /* {{{ */ +graph_instance_t *graph_get_instances (graph_config_t *cfg) /* {{{ */ { if (cfg == NULL) return (NULL); return (cfg->instances); -} /* }}} graph_instance_t *gl_graph_get_instances */ +} /* }}} graph_instance_t *graph_get_instances */ -graph_def_t *gl_graph_get_defs (graph_config_t *cfg) /* {{{ */ +graph_def_t *graph_get_defs (graph_config_t *cfg) /* {{{ */ { if (cfg == NULL) return (NULL); return (cfg->defs); -} /* }}} graph_def_t *gl_graph_get_defs */ +} /* }}} graph_def_t *graph_get_defs */ -int gl_graph_add_def (graph_config_t *cfg, graph_def_t *def) /* {{{ */ +int graph_add_def (graph_config_t *cfg, graph_def_t *def) /* {{{ */ { if ((cfg == NULL) || (def == NULL)) return (EINVAL); @@ -237,7 +237,7 @@ int gl_graph_add_def (graph_config_t *cfg, graph_def_t *def) /* {{{ */ } return (def_append (cfg->defs, def)); -} /* }}} int gl_graph_add_def */ +} /* }}} int graph_add_def */ _Bool graph_matches (graph_config_t *cfg, const graph_ident_t *ident) /* {{{ */ {