/*
meshlink_internal.h -- Internal parts of the public API.
- Copyright (C) 2014, 2017 Guus Sliepen <guus@meshlink.io>
+ Copyright (C) 2014-2019 Guus Sliepen <guus@meshlink.io>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef MESHLINK_H
+#error You must not include both meshlink.h and meshlink_internal.h!
+#endif
+
#include "system.h"
#include "event.h"
struct list_t *connections;
struct list_t *outgoings;
+ struct list_t *submeshes;
meshlink_queue_t outpacketqueue;
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;