]> git.meshlink.io Git - meshlink/blobdiff - src/graph.h
Avoid allocating packet buffers unnecessarily.
[meshlink] / src / graph.h
index ab8fff20d586abdb11e4d6753aac2e737f4b7e15..2375cc6c99724a5d7ae8d9f207bf94d8e79269ad 100644 (file)
@@ -1,7 +1,9 @@
+#ifndef MESHLINK_GRAPH_H
+#define MESHLINK_GRAPH_H
+
 /*
     graph.h -- header for graph.c
-    Copyright (C) 2001-2002 Guus Sliepen <guus@sliepen.warande.net>,
-                  2001-2002 Ivo Timmermans <itimmermans@bigfoot.com>
+    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: graph.h,v 1.2 2002/04/09 15:26:00 zarq 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.
 */
 
-extern void graph(void);
-extern void mst_kruskal(void);
-extern void sssp_bfs(void);
+extern void graph(struct meshlink_handle *mesh);
+
+#endif