X-Git-Url: http://git.meshlink.io/?p=meshlink;a=blobdiff_plain;f=src%2Fmeshlink_internal.h;h=45c6c951be3697d0d6d1fd7508aa2d9798e8c5fe;hp=f576eb1290a1178c14b02fddc273dd3f601a013c;hb=ed1f31db1e8840ffd6849b48bcad93e9975a24bb;hpb=2cd74834fff509cdd9ed51232a3a78e7cad04803 diff --git a/src/meshlink_internal.h b/src/meshlink_internal.h index f576eb12..45c6c951 100644 --- a/src/meshlink_internal.h +++ b/src/meshlink_internal.h @@ -101,6 +101,7 @@ struct meshlink_handle { struct list_t *connections; struct list_t *outgoings; + struct list_t *submeshes; meshlink_queue_t outpacketqueue; @@ -164,6 +165,12 @@ struct meshlink_node { void *priv; }; +/// A handle for a node Sub-Mesh. +struct meshlink_submesh { + const char *name; + void *priv; +}; + /// A channel. struct meshlink_channel { struct node_t *node;