3 #include <ccan/aga/aga.h>
4 #include <ccan/aga/aga.c>
6 typedef struct edge edge_t;
27 EDGE1 *(*first_edge)(const struct aga_graph *g,
28 const struct aga_node *n) = NULL;
29 EDGE2 *(*next_edge)(const struct aga_graph *g,
30 const struct aga_node *n,
32 int (*edge_info)(const struct aga_graph *g, const struct aga_node *n,
33 EDGE4 *e, struct aga_edge_info *ei) = NULL;
35 aga_init_graph(&g, first_edge, next_edge, edge_info);