]> git.meshlink.io Git - meshlink/blobdiff - src/meshlink_internal.h
2nd approach again: class meshlink::mesh has the handle as member, not as base class.
[meshlink] / src / meshlink_internal.h
index 782cc76e5c0200c54840ff2d442ac2aabe2efd9c..b3ac72c40a2833f74abd78f68cb292b4a54f2e20 100644 (file)
@@ -112,6 +112,8 @@ struct meshlink_handle {
        bool localdiscovery;
        sockaddr_t localdiscovery_address;
 
+       bool default_blacklist;
+
        hash_t *node_udp_cache;
        struct connection_t *everyone;
        struct ecdsa *invitation_key;
@@ -152,6 +154,7 @@ struct meshlink_channel {
 
        struct utcp_connection *c;
        meshlink_channel_receive_cb_t receive_cb;
+       meshlink_channel_poll_cb_t poll_cb;
 };
 
 /// Header for data packets routed between nodes