mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-01 06:55:30 +00:00
define a few socket event (read/write) attributes
This commit is contained in:
@@ -102,6 +102,10 @@ struct isc_socket_connev {
|
|||||||
isc_result_t result; /* OK, EOF, whatever else */
|
isc_result_t result; /* OK, EOF, whatever else */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#define ISC_SOCKEVENTATTR_TRUNC 0x8000000U
|
||||||
|
#define ISC_SOCKEVENTATTR_CTRUNC 0x4000000U
|
||||||
|
#define ISC_SOCKEVENTATTR_TIMESTAMP 0x2000000U
|
||||||
|
|
||||||
#define ISC_SOCKEVENT_ANYEVENT (0)
|
#define ISC_SOCKEVENT_ANYEVENT (0)
|
||||||
#define ISC_SOCKEVENT_RECVDONE (ISC_EVENTCLASS_SOCKET + 1)
|
#define ISC_SOCKEVENT_RECVDONE (ISC_EVENTCLASS_SOCKET + 1)
|
||||||
#define ISC_SOCKEVENT_SENDDONE (ISC_EVENTCLASS_SOCKET + 2)
|
#define ISC_SOCKEVENT_SENDDONE (ISC_EVENTCLASS_SOCKET + 2)
|
||||||
|
Reference in New Issue
Block a user