summaryrefslogtreecommitdiffstats
path: root/usr.sbin/smtpd/ioev.h
diff options
context:
space:
mode:
authoreric <eric@openbsd.org>2016-11-30 17:43:32 +0000
committereric <eric@openbsd.org>2016-11-30 17:43:32 +0000
commitf80a744f3a766bb077a76a239184b60d91ef0cae (patch)
tree8afba99506c69b612d0a89536e2a6c265bcc98d3 /usr.sbin/smtpd/ioev.h
parentCopyright and license. (diff)
downloadwireguard-openbsd-f80a744f3a766bb077a76a239184b60d91ef0cae.tar.xz
wireguard-openbsd-f80a744f3a766bb077a76a239184b60d91ef0cae.zip
hide internal io flags and rename IO_PAUSE_{IN,OUT} to IO_{IN,OUT}
ok gilles@ sunil@
Diffstat (limited to 'usr.sbin/smtpd/ioev.h')
-rw-r--r--usr.sbin/smtpd/ioev.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/usr.sbin/smtpd/ioev.h b/usr.sbin/smtpd/ioev.h
index 573708f4a01..f1c398482cf 100644
--- a/usr.sbin/smtpd/ioev.h
+++ b/usr.sbin/smtpd/ioev.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ioev.h,v 1.15 2016/11/30 11:52:48 eric Exp $ */
+/* $OpenBSD: ioev.h,v 1.16 2016/11/30 17:43:32 eric Exp $ */
/*
* Copyright (c) 2012 Eric Faurot <eric@openbsd.org>
*
@@ -26,13 +26,8 @@ enum {
IO_ERROR, /* details? */
};
-#define IO_READ 0x01
-#define IO_WRITE 0x02
-#define IO_RW (IO_READ | IO_WRITE)
-#define IO_PAUSE_IN 0x04
-#define IO_PAUSE_OUT 0x08
-#define IO_RESET 0x10 /* internal */
-#define IO_HELD 0x20 /* internal */
+#define IO_IN 0x01
+#define IO_OUT 0x02
struct io;