-extern bool send_meta(struct connection_t *, const char *, int);
-extern void broadcast_meta(struct connection_t *, const char *, int);
-extern void flush_meta(int fd, short events, void *data);
-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 void broadcast_submesh_meta(struct meshlink_handle *mesh, connection_t *from, submesh_t *s,
+ const char *buffer, int length);
+extern bool receive_meta(struct meshlink_handle *mesh, struct connection_t *);