X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fgraph.h;h=17757327b7f1234ed402b73a050834a109093f24;hb=4b6c01b1d5383b1a7417244a31ad4652aab2d5db;hp=3ce02f38ad61bed31899296d63823c227701675e;hpb=42e01abd54bd36ee84a45a2b646cfa27034de8d1;p=meshlink diff --git a/src/graph.h b/src/graph.h index 3ce02f38..17757327 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-2003 Guus Sliepen , - 2001-2003 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 @@ -13,18 +15,11 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - - $Id: graph.h,v 1.1.2.6 2003/09/03 16:20:33 guus Exp $ + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __TINC_GRAPH_H__ -#define __TINC_GRAPH_H__ - -extern void graph(void); -extern void mst_kruskal(void); -extern void sssp_bfs(void); +void graph(struct meshlink_handle *mesh); -#endif /* __TINC_GRAPH_H__ */ +#endif