]> git.meshlink.io Git - meshlink/blobdiff - src/meta.h
Stop using the global variable mesh in most of the rest of the code.
[meshlink] / src / meta.h
index 011aff514318853c12da5b58207efa18ef6a156d..00cdc175aafcfbc1a4f5e8fb9589d0d7ad0011d0 100644 (file)
@@ -1,7 +1,6 @@
 /*
     meta.h -- header for meta.c
-    Copyright (C) 2000-2006 Guus Sliepen <guus@tinc-vpn.org>,
-                  2000-2005 Ivo Timmermans
+    Copyright (C) 2014 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
 
 #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 send_meta(struct meshlink_handle *mesh, struct connection_t *, const char *, int);
+extern bool send_meta_sptps(void *, uint8_t, 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 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 /* __TINC_META_H__ */