]> git.meshlink.io Git - meshlink-tiny/blobdiff - src/meta.c
Remove support for submeshes.
[meshlink-tiny] / src / meta.c
index 94aab98136261d46bde95755fe385c0be8fe6b2d..d79dc6edbec77482c4a1e6ec5fc152f175b8bbad 100644 (file)
@@ -70,18 +70,6 @@ void broadcast_meta(meshlink_handle_t *mesh, connection_t *from, const char *buf
                }
 }
 
-void broadcast_submesh_meta(meshlink_handle_t *mesh, connection_t *from, const submesh_t *s, const char *buffer, int length) {
-       assert(buffer);
-       assert(length);
-
-       for list_each(connection_t, c, mesh->connections)
-               if(c != from && c->status.active) {
-                       if(c->node && submesh_allows_node(s, c->node)) {
-                               send_meta(mesh, c, buffer, length);
-                       }
-               }
-}
-
 bool receive_meta_sptps(void *handle, uint8_t type, const void *data, uint16_t length) {
        assert(handle);
        assert(!length || data);