]> git.meshlink.io Git - utcp/blobdiff - utcp.h
Start implementing timeout handling.
[utcp] / utcp.h
diff --git a/utcp.h b/utcp.h
index 9c80c451a3667f248ddb3e355849edbdf2386419..3e069a071a0e18781d9c8bd0be9741b78c21d7ec 100644 (file)
--- a/utcp.h
+++ b/utcp.h
@@ -53,6 +53,7 @@ extern int utcp_recv(struct utcp *utcp, const void *data, size_t len);
 extern int utcp_close(struct utcp_connection *connection);
 extern int utcp_abort(struct utcp_connection *connection);
 extern int utcp_shutdown(struct utcp_connection *connection, int how);
-extern void utcp_timeout(struct utcp *utcp);
+extern int utcp_timeout(struct utcp *utcp);
+extern int utcp_set_connection_timeout(struct utcp *utcp, int seconds);
 
 #endif