Ensure all parameters have names in header files.
[tinc] / src / meta.h
index 8b00a5a..1c134ff 100644 (file)
@@ -1,3 +1,6 @@
+#ifndef TINC_META_H
+#define TINC_META_H
+
 /*
     meta.h -- header for meta.c
     Copyright (C) 2000-2014 Guus Sliepen <guus@tinc-vpn.org>,
     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 void send_meta_raw(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 connection_t *, const char *, int);
-extern bool receive_meta(struct connection_t *);
+extern bool send_meta(struct connection_t *c, const char *buffer, int length);
+extern void send_meta_raw(struct connection_t *c, const char *buffer, int length);
+extern bool send_meta_sptps(void *handle, uint8_t type, const void *data, size_t length);
+extern bool receive_meta_sptps(void *handle, uint8_t type, const void *data, uint16_t length);
+extern void broadcast_meta(struct connection_t *from, const char *buffer, int length);
+extern bool receive_meta(struct connection_t *c);
 
-#endif /* __TINC_META_H__ */
+#endif