]> git.meshlink.io Git - meshlink/blobdiff - src/meshlink_internal.h
Move node_udp_cache, everyone and invitation_key to mesh.
[meshlink] / src / meshlink_internal.h
index 66b76aec8192ad549357117b47e29032afbc9c89..57c2a8f6fb6a45800b9ed3ccea23b84fbd881a84 100644 (file)
@@ -23,6 +23,7 @@
 #include "system.h"
 
 #include "event.h"
+#include "hash.h"
 #include "meshlink.h"
 #include "sockaddr.h"
 
@@ -84,6 +85,10 @@ struct meshlink_handle {
 
        bool localdiscovery;
        sockaddr_t localdiscovery_address;
+
+       hash_t *node_udp_cache;
+       struct connection_t *everyone;
+       struct ecdsa *invitation_key;
 };
 
 /// A handle for a MeshLink node.