Put back the poll declarations into priv.h
That are, poll constants.
Этот коммит содержится в:
родитель
3659e8c04a
Коммит
708c0d32a2
@ -376,13 +376,6 @@ int ssh_userauth_kbdint_setanswer(SSH_SESSION *session, unsigned int i,
|
|||||||
const char *answer);
|
const char *answer);
|
||||||
|
|
||||||
/* poll.c */
|
/* 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 struct ssh_poll_ctx SSH_POLL_CTX;
|
typedef struct ssh_poll_ctx SSH_POLL_CTX;
|
||||||
typedef struct ssh_poll SSH_POLL;
|
typedef struct ssh_poll SSH_POLL;
|
||||||
|
@ -144,6 +144,15 @@ typedef struct pollfd_s {
|
|||||||
short revents; /* returned events */
|
short revents; /* returned events */
|
||||||
} pollfd_t;
|
} 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;
|
typedef unsigned long int nfds_t;
|
||||||
#endif /* HAVE_POLL */
|
#endif /* HAVE_POLL */
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user