X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0ce742cf092c9244f27957e308c16f3c2631042d..d1e418eaea09da4d74cc0d2b9d6bb1f9decbfa49:/include/wx/msw/gsockmsw.h diff --git a/include/wx/msw/gsockmsw.h b/include/wx/msw/gsockmsw.h index 6cd735b092..ba6a2848d5 100644 --- a/include/wx/msw/gsockmsw.h +++ b/include/wx/msw/gsockmsw.h @@ -21,9 +21,11 @@ #include "gsocket.h" #endif +#if defined(__BORLANDC__) +#include +#endif #include - #ifdef __cplusplus extern "C" { #endif @@ -36,6 +38,7 @@ struct _GSocket GAddress *m_peer; GSocketError m_error; + /* Attributes */ bool m_non_blocking; bool m_server; bool m_stream; @@ -43,6 +46,7 @@ struct _GSocket struct timeval m_timeout; /* Callbacks */ + GSocketEventFlags m_detected; GSocketCallback m_cbacks[GSOCK_MAX_EVENT]; char *m_data[GSOCK_MAX_EVENT]; int m_msgnumber; @@ -72,7 +76,8 @@ int _GSocket_Send_Dgram(GSocket *socket, const char *buffer, int size); /* Callbacks */ -void _GSocket_Configure_Callbacks(GSocket *socket); +void _GSocket_Enable_Events(GSocket *socket); +void _GSocket_Disable_Events(GSocket *socket); LRESULT CALLBACK _GSocket_Internal_WinProc(HWND, UINT, WPARAM, LPARAM); /* GAddress */