X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fmeta.h;h=6372e34af91dfb562a9d9aeaa072a27983072b5b;hb=61d9b04f66055e61f0afdf8955ff890f4da39288;hp=011aff514318853c12da5b58207efa18ef6a156d;hpb=19be9cf7150858311f7898fa3fb525d692d02f64;p=meshlink diff --git a/src/meta.h b/src/meta.h index 011aff51..6372e34a 100644 --- a/src/meta.h +++ b/src/meta.h @@ -1,7 +1,9 @@ +#ifndef MESHLINK_META_H +#define MESHLINK_META_H + /* meta.h -- header for meta.c - Copyright (C) 2000-2006 Guus Sliepen , - 2000-2005 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 @@ -18,15 +20,12 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __TINC_META_H__ -#define __TINC_META_H__ - #include "connection.h" -extern bool send_meta(struct connection_t *, const char *, int); -extern bool send_meta_sptps(void *, const char *, size_t); -extern bool receive_meta_sptps(void *, uint8_t, const char *, uint16_t); -extern void broadcast_meta(struct connection_t *, const char *, int); -extern bool receive_meta(struct connection_t *); +extern bool send_meta(struct meshlink_handle *mesh, struct connection_t *, const char *, int); +extern bool send_meta_sptps(void *, uint8_t, const void *, size_t); +extern bool receive_meta_sptps(void *, uint8_t, const void *, uint16_t); +extern void broadcast_meta(struct meshlink_handle *mesh, struct connection_t *, const char *, int); +extern bool receive_meta(struct meshlink_handle *mesh, struct connection_t *); -#endif /* __TINC_META_H__ */ +#endif