]> git.meshlink.io Git - meshlink/blobdiff - src/utcp.h
Wake up the MeshLink thread if framed channel data is pending to be flushed.
[meshlink] / src / utcp.h
index 60ecdd34d24e12418b8910ef0cd9faa62e6e7aec..c54814991ed23d7f43e44334c0691639447e5e79 100644 (file)
@@ -88,6 +88,7 @@ void utcp_set_user_timeout(struct utcp *utcp, int seconds);
 
 int utcp_get_flush_timeout(struct utcp *utcp);
 void utcp_set_flush_timeout(struct utcp *utcp, int milliseconds);
+bool utcp_get_flush_needed(struct utcp_connection *connection);
 
 uint16_t utcp_get_mtu(struct utcp *utcp);
 uint16_t utcp_get_mss(struct utcp *utcp);