]> git.meshlink.io Git - utcp/blobdiff - utcp.h
Add functions to get the amount of bytes in the send and receive buffers.
[utcp] / utcp.h
diff --git a/utcp.h b/utcp.h
index fe4c7205e726bd0c3a18f76d122e5e9d9f7e43a2..5d646762437cafe093796d787d78ee45bd0e5532 100644 (file)
--- a/utcp.h
+++ b/utcp.h
@@ -99,6 +99,9 @@ extern size_t utcp_get_rcvbuf(struct utcp_connection *connection);
 extern void utcp_set_rcvbuf(struct utcp_connection *connection, size_t size);
 extern size_t utcp_get_rcvbuf_free(struct utcp_connection *connection);
 
+extern size_t utcp_get_sendq(struct utcp_connection *connection);
+extern size_t utcp_get_recvq(struct utcp_connection *connection);
+
 extern bool utcp_get_nodelay(struct utcp_connection *connection);
 extern void utcp_set_nodelay(struct utcp_connection *connection, bool nodelay);