From 2bd268f2cd19f681ad894c9b1ddd35f0a2e2883c Mon Sep 17 00:00:00 2001 From: michael Date: Mon, 20 Jan 2014 17:16:43 +0000 Subject: - Use the i/o subsystem to execute scheduled writes. Patch provided by Adam. git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2882 82007160-df01-0410-b94d-b575c5fd34c7 --- include/client.h | 6 +----- include/fdlist.h | 3 --- 2 files changed, 1 insertion(+), 8 deletions(-) (limited to 'include') diff --git a/include/client.h b/include/client.h index 9fce88c..ad9c69b 100644 --- a/include/client.h +++ b/include/client.h @@ -121,7 +121,7 @@ struct MaskItem; #define FLAGS_FLOODDONE 0x00008000 /**< Flood grace period has been ended. */ #define FLAGS_EOB 0x00010000 /**< server has sent us an EOB */ #define FLAGS_HIDDEN 0x00020000 /**< a hidden server. not shown in /links */ -#define FLAGS_BLOCKED 0x00040000 /**< must wait for COMM_SELECT_WRITE */ +#define FLAGS_UNUSED___ 0x00040000 /**< */ #define FLAGS_USERHOST 0x00080000 /**< client is in userhost hash */ #define FLAGS_BURSTED 0x00100000 /**< user was already bursted */ #define FLAGS_EXEMPTRESV 0x00200000 /**< client is exempt from RESV */ @@ -275,10 +275,6 @@ struct MaskItem; #define IsHidden(x) ((x)->flags & FLAGS_HIDDEN) #define SetHidden(x) ((x)->flags |= FLAGS_HIDDEN) -#define IsSendqBlocked(x) ((x)->flags & FLAGS_BLOCKED) -#define SetSendqBlocked(x) ((x)->flags |= FLAGS_BLOCKED) -#define ClearSendqBlocked(x) ((x)->flags &= ~FLAGS_BLOCKED) - /*! \brief addr_mask_type enumeration */ enum addr_mask_type diff --git a/include/fdlist.h b/include/fdlist.h index 4487ca0..a23c5c1 100644 --- a/include/fdlist.h +++ b/include/fdlist.h @@ -78,9 +78,6 @@ typedef struct _fde { unsigned int open:1; unsigned int is_socket:1; -#ifdef HAVE_LIBCRYPTO - unsigned int pending_read:1; -#endif } flags; struct -- cgit