X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=utcp.h;h=3e069a071a0e18781d9c8bd0be9741b78c21d7ec;hb=2c9dfa2823b30638bc2f7166c15008b722ddebbe;hp=9c80c451a3667f248ddb3e355849edbdf2386419;hpb=93d2e72d3e72e4d91575fc00545dbba96dcdea69;p=utcp diff --git a/utcp.h b/utcp.h index 9c80c45..3e069a0 100644 --- 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