X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Froute.h;h=284fc69a6733bffbda0d0b101f642c466dc3310b;hb=8c5cd31cecf9d91d362199dc89effcfe59072e13;hp=4180d4a2d2a0d04426e24e7da8772353cdce05e3;hpb=cd773445d9117289614743597840591105f01dab;p=meshlink diff --git a/src/route.h b/src/route.h index 4180d4a2..284fc69a 100644 --- a/src/route.h +++ b/src/route.h @@ -1,6 +1,9 @@ +#ifndef MESHLINK_ROUTE_H +#define MESHLINK_ROUTE_H + /* route.h -- header file for route.c - Copyright (C) 2014 Guus Sliepen + 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 @@ -17,14 +20,9 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __TINC_ROUTE_H__ -#define __TINC_ROUTE_H__ - #include "net.h" #include "node.h" -extern bool decrement_ttl; - -extern void route(struct node_t *, struct vpn_packet_t *); +extern void route(struct meshlink_handle *mesh, struct node_t *, struct vpn_packet_t *); -#endif /* __TINC_ROUTE_H__ */ +#endif