X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fgraph.h;h=2375cc6c99724a5d7ae8d9f207bf94d8e79269ad;hb=902446edf822a32383c4fa4b7c13b83a568095ad;hp=fa521f53fbf2b81767b0f8ac28e0d6ad799d469d;hpb=4712d8f92e63e86e835ffb624d6399343ee568ea;p=meshlink diff --git a/src/graph.h b/src/graph.h index fa521f53..2375cc6c 100644 --- a/src/graph.h +++ b/src/graph.h @@ -1,7 +1,9 @@ +#ifndef MESHLINK_GRAPH_H +#define MESHLINK_GRAPH_H + /* graph.h -- header for graph.c - Copyright (C) 2001-2012 Guus Sliepen , - 2001-2005 Ivo Timmermans + Copyright (C) 2014, 2017 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -18,10 +20,6 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __TINC_GRAPH_H__ -#define __TINC_GRAPH_H__ - -extern void graph(void); -extern void dump_graph(void); +extern void graph(struct meshlink_handle *mesh); -#endif /* __TINC_GRAPH_H__ */ +#endif