X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=graph_def.h;h=b2cd2282c50a909d44aec56bb06cf9cf9fa2c8d3;hb=af2ed61b280e1ec169aba2bcb9df30ac76b006d2;hp=3c27ac83b2a05531ed4192ee8d252b836dccb774;hpb=7ece08c71d12dfcebfc0395f7727d717033f0641;p=collection4.git diff --git a/graph_def.h b/graph_def.h index 3c27ac8..b2cd228 100644 --- a/graph_def.h +++ b/graph_def.h @@ -1,21 +1,24 @@ #ifndef GRAPH_DEF_H #define GRAPH_DEF_H 1 -#include "graph_ident.h" -#include "utils_array.h" -#include "graph_list.h" - struct graph_def_s; typedef struct graph_def_s graph_def_t; typedef int (*def_callback_t) (graph_def_t *def, void *user_data); +#include "graph.h" +#include "graph_ident.h" +#include "utils_array.h" +#include "oconfig.h" + graph_def_t *def_create (graph_config_t *cfg, graph_ident_t *ident, const char *ds_name); void def_destroy (graph_def_t *def); +int def_config (graph_config_t *cfg, const oconfig_item_t *ci); + int def_append (graph_def_t *head, graph_def_t *def); graph_def_t *def_search (graph_def_t *head, graph_ident_t *ident,