summaryrefslogtreecommitdiffstats
path: root/include/libssh/priv.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libssh/priv.h')
-rw-r--r--include/libssh/priv.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/libssh/priv.h b/include/libssh/priv.h
index 41ee58b6..709656b7 100644
--- a/include/libssh/priv.h
+++ b/include/libssh/priv.h
@@ -144,6 +144,15 @@ typedef struct pollfd_s {
short revents; /* returned events */
} pollfd_t;
+/* poll.c */
+#define POLLIN 0x001 /* There is data to read. */
+#define POLLPRI 0x002 /* There is urgent data to read. */
+#define POLLOUT 0x004 /* Writing now will not block. */
+
+#define POLLERR 0x008 /* Error condition. */
+#define POLLHUP 0x010 /* Hung up. */
+#define POLLNVAL 0x020 /* Invalid polling request. */
+
typedef unsigned long int nfds_t;
#endif /* HAVE_POLL */