X-Git-Url: http://git.meshlink.io/?p=utcp;a=blobdiff_plain;f=utcp.h;h=4b7075b56520eb79e4c3600ed7ca6427d0421b56;hp=5d646762437cafe093796d787d78ee45bd0e5532;hb=fa93ca75a603758e00781f2e9acb52bdbe6695b7;hpb=6ef1b39de8c0b0537da02b212acaba3242afe142 diff --git a/utcp.h b/utcp.h index 5d64676..4b7075b 100644 --- a/utcp.h +++ b/utcp.h @@ -89,6 +89,8 @@ extern void utcp_set_mtu(struct utcp *utcp, uint16_t mtu); extern void utcp_reset_timers(struct utcp *utcp); +extern void utcp_offline(struct utcp *utcp, bool offline); + // Per-socket options extern size_t utcp_get_sndbuf(struct utcp_connection *connection); @@ -110,4 +112,6 @@ extern void utcp_set_keepalive(struct utcp_connection *connection, bool keepaliv extern size_t utcp_get_outq(struct utcp_connection *connection); +extern void utcp_expect_data(struct utcp_connection *connection, bool expect); + #endif