/*
edge.h -- header for edge.c
Copyright (C) 2001-2006 Guus Sliepen <guus@tinc-vpn.org>,
/*
edge.h -- header for edge.c
Copyright (C) 2001-2006 Guus Sliepen <guus@tinc-vpn.org>,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
int weight; /* weight of this edge */
struct connection_t *connection; /* connection associated with this edge, if available */
int weight; /* weight of this edge */
struct connection_t *connection; /* connection associated with this edge, if available */
extern edge_t *lookup_edge(struct node_t *, struct node_t *);
extern void dump_edges(void);
extern edge_t *lookup_edge(struct node_t *, struct node_t *);
extern void dump_edges(void);