diff options
Diffstat (limited to 'winsup/cygwin/wsock_event.h')
-rw-r--r-- | winsup/cygwin/wsock_event.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/wsock_event.h b/winsup/cygwin/wsock_event.h index 3f8638134..9a1f07ac1 100644 --- a/winsup/cygwin/wsock_event.h +++ b/winsup/cygwin/wsock_event.h @@ -14,7 +14,6 @@ details. */ class wsock_event { WSAEVENT event; - WSAOVERLAPPED ovr; public: wsock_event () : event (NULL) {}; ~wsock_event () @@ -25,8 +24,9 @@ public: }; /* The methods are implemented in net.cc */ - LPWSAOVERLAPPED prepare (); - int wait (int socket, LPDWORD flags); + bool prepare (int sock, long event_mask); + int wait (int sock, int &closed); + void release (int sock); }; #endif /* __WSOCK_EVENT_H__ */ |