+#ifndef MESHLINK_GRAPH_H
+#define MESHLINK_GRAPH_H
+
/*
graph.h -- header for graph.c
- Copyright (C) 2001-2006 Guus Sliepen <guus@tinc-vpn.org>,
- 2001-2005 Ivo Timmermans
+ Copyright (C) 2014, 2017 Guus Sliepen <guus@meshlink.io>
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
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__
-
-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