X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fgraph.h;h=2375cc6c99724a5d7ae8d9f207bf94d8e79269ad;hb=be83b0af60449c7b35d17d97f2e6dc12f611e831;hp=c69fc98bd5402a3fc7115884203c9aa7aa70d579;hpb=cc9473d8c6467e9eaa82fe8a639d8edba232ee76;p=meshlink diff --git a/src/graph.h b/src/graph.h index c69fc98b..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 Guus Sliepen , - 2001 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,13 +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.1 2001/10/29 13:14:57 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. */ -extern void mst_kruskal(void); -extern void mst_prim(void); -extern void sssp_bfs(void); +extern void graph(struct meshlink_handle *mesh); + +#endif