X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fgraph.h;h=2375cc6c99724a5d7ae8d9f207bf94d8e79269ad;hb=be83b0af60449c7b35d17d97f2e6dc12f611e831;hp=fb4109614c67e4f9742a9bcb425ea419d5e610f4;hpb=6d08eb1614b59d5f86a43edda9db06fca72b76cd;p=meshlink diff --git a/src/graph.h b/src/graph.h index fb410961..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-2006 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