X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fgraph.h;h=925fe2ffa7d46652ba85c264beef8513501ad0aa;hb=9d3d34cbab5172976d2f3ea7a0e297b7ae6adad5;hp=0d5be20c1ca6262391a0deb28c22daf41ce09f82;hpb=0200d3cd5d773d9b101c33264532d2a301c2af32;p=meshlink diff --git a/src/graph.h b/src/graph.h index 0d5be20c..925fe2ff 100644 --- a/src/graph.h +++ b/src/graph.h @@ -1,7 +1,6 @@ /* graph.h -- header for graph.c - Copyright (C) 2001-2006 Guus Sliepen , - 2001-2005 Ivo Timmermans + Copyright (C) 2014 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,19 +12,14 @@ 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$ + 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__ +#ifndef __MESHLINK_GRAPH_H__ +#define __MESHLINK_GRAPH_H__ -extern void graph(void); -extern void mst_kruskal(void); -extern void sssp_bfs(void); -extern void dump_graph(void); +extern void graph(struct meshlink_handle *mesh); -#endif /* __TINC_GRAPH_H__ */ +#endif /* __MESHLINK_GRAPH_H__ */