X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fmeta.c;fp=src%2Fmeta.c;h=d79dc6edbec77482c4a1e6ec5fc152f175b8bbad;hb=8eb1e508a3fd32a93f1dabab098b3293f527ac2b;hp=94aab98136261d46bde95755fe385c0be8fe6b2d;hpb=b549eb9642b4b8b441b0e23cd3e0b4d7f39907ae;p=meshlink-tiny diff --git a/src/meta.c b/src/meta.c index 94aab98..d79dc6e 100644 --- a/src/meta.c +++ b/src/meta.c @@ -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);