]> git.meshlink.io Git - meshlink/blobdiff - src/meshlink_internal.h
Add a poll callback to channels.
[meshlink] / src / meshlink_internal.h
index 782cc76e5c0200c54840ff2d442ac2aabe2efd9c..e36fd95f38b0a5f41d67b2444ff739ca55cbe4e7 100644 (file)
@@ -152,6 +152,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