diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2009-07-04 13:41:16 +0200 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2009-07-04 13:41:16 +0200 |
commit | 708c0d32a23e677533ed49884feda596f0de7fe6 (patch) | |
tree | d8ab7d7d63778aef0fd8e57d5d6709e8f1e7307e /include/libssh/priv.h | |
parent | 3659e8c04ac1684fa73aecc7005c2e6da9f53c3e (diff) | |
download | libssh-708c0d32a23e677533ed49884feda596f0de7fe6.tar.gz libssh-708c0d32a23e677533ed49884feda596f0de7fe6.tar.xz libssh-708c0d32a23e677533ed49884feda596f0de7fe6.zip |
Put back the poll declarations into priv.h
That are, poll constants.
Diffstat (limited to 'include/libssh/priv.h')
-rw-r--r-- | include/libssh/priv.h | 9 |
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 */ |