X-Git-Url: http://git.meshlink.io/?p=utcp;a=blobdiff_plain;f=utcp.h;fp=utcp.h;h=a29ef96b9293975db7482c92d4508e4e0a3df63e;hp=085a28779cc1bd0acf64b43f19cf15bc77b4bcb9;hb=f1467a0aa5dc2f683d657d6b3670c98bcf1b1abe;hpb=2049874f3c436cc1d85bb8bcccb272a3b933f4a9 diff --git a/utcp.h b/utcp.h index 085a287..a29ef96 100644 --- a/utcp.h +++ b/utcp.h @@ -40,6 +40,10 @@ struct utcp; struct utcp_connection; #endif +#define UTCP_SHUT_RD 0 +#define UTCP_SHUT_WR 1 +#define UTCP_SHUT_RDWR 2 + typedef bool (*utcp_pre_accept_t)(struct utcp *utcp, uint16_t port); typedef void (*utcp_accept_t)(struct utcp_connection *utcp_connection, uint16_t port);