ec_os_mingw.h (ettercap-0.8.3) | : | ec_os_mingw.h (ettercap-0.8.3.1) | ||
---|---|---|---|---|
skipping to change at line 114 | skipping to change at line 114 | |||
#define POLLIN 0x0001 | #define POLLIN 0x0001 | |||
#define POLLPRI 0x0002 /* not used */ | #define POLLPRI 0x0002 /* not used */ | |||
#define POLLOUT 0x0004 | #define POLLOUT 0x0004 | |||
#define POLLERR 0x0008 | #define POLLERR 0x0008 | |||
#define POLLHUP 0x0010 /* not used */ | #define POLLHUP 0x0010 /* not used */ | |||
#define POLLNVAL 0x0020 /* not used */ | #define POLLNVAL 0x0020 /* not used */ | |||
struct pollfd { | struct pollfd { | |||
int fd; | int fd; | |||
int events; /* in param: what to poll for */ | int events; /* in param: what to poll for */ | |||
int revents; /* out param: what events occured */ | int revents; /* out param: what events occurred */ | |||
}; | }; | |||
#undef HAVE_POLL | #undef HAVE_POLL | |||
#define HAVE_POLL 1 | #define HAVE_POLL 1 | |||
EC_API_EXTERN int ec_win_poll (struct pollfd *p, int num, int timeout); | EC_API_EXTERN int ec_win_poll (struct pollfd *p, int num, int timeout); | |||
/* User/program dir | /* User/program dir | |||
*/ | */ | |||
EC_API_EXTERN const char *ec_win_get_user_dir (void); | EC_API_EXTERN const char *ec_win_get_user_dir (void); | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |