removed GSocket_[Un]Streamed(), GSocket_SetNonOriented() must be used instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -287,9 +287,6 @@ GSocketError GSocket_GetSockOpt(GSocket *socket, int level, int optname,
|
|||||||
GSocketError GSocket_SetSockOpt(GSocket *socket, int level, int optname,
|
GSocketError GSocket_SetSockOpt(GSocket *socket, int level, int optname,
|
||||||
const void *optval, int optlen);
|
const void *optval, int optlen);
|
||||||
|
|
||||||
void GSocket_Streamed(GSocket *socket);
|
|
||||||
void GSocket_Unstreamed(GSocket *socket);
|
|
||||||
|
|
||||||
/* Attributes */
|
/* Attributes */
|
||||||
|
|
||||||
/* GSocket_SetNonBlocking:
|
/* GSocket_SetNonBlocking:
|
||||||
|
@@ -1156,16 +1156,6 @@ GSocketError GSocket_SetSockOpt(GSocket *socket, int level, int optname,
|
|||||||
return GSOCK_OPTERR;
|
return GSOCK_OPTERR;
|
||||||
}
|
}
|
||||||
|
|
||||||
void GSocket_Streamed(GSocket *socket)
|
|
||||||
{
|
|
||||||
socket->m_stream = TRUE;
|
|
||||||
}
|
|
||||||
|
|
||||||
void GSocket_Unstreamed(GSocket *socket)
|
|
||||||
{
|
|
||||||
socket->m_stream = FALSE;
|
|
||||||
}
|
|
||||||
|
|
||||||
#define CALL_CALLBACK(socket, event) { \
|
#define CALL_CALLBACK(socket, event) { \
|
||||||
_GSocket_Disable(socket, event); \
|
_GSocket_Disable(socket, event); \
|
||||||
if (socket->m_cbacks[event]) \
|
if (socket->m_cbacks[event]) \
|
||||||
|
Reference in New Issue
Block a user