src\unix\gsocket.c

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Guillermo Rodriguez Garcia
2000-03-14 04:41:34 +00:00
parent ac6482e0eb
commit 5ff8699684
4 changed files with 16 additions and 9 deletions

View File

@@ -73,18 +73,19 @@ int _GSocket_Send_Dgram(GSocket *socket, const char *buffer, int size);
/* Callbacks */
void _GSocket_Enable(GSocket *socket, GSocketEvent event);
void _GSocket_Disable(GSocket *socket, GSocketEvent event);
void _GSocket_Detected_Read(GSocket *socket);
void _GSocket_Detected_Write(GSocket *socket);
void _GSocket_GUI_Init(GSocket *socket);
bool _GSocket_GUI_Init(GSocket *socket);
void _GSocket_GUI_Destroy(GSocket *socket);
void _GSocket_Enable_Events(GSocket *socket);
void _GSocket_Disable_Events(GSocket *socket);
void _GSocket_Install_Callback(GSocket *socket, GSocketEvent event);
void _GSocket_Uninstall_Callback(GSocket *socket, GSocketEvent event);
void _GSocket_Enable(GSocket *socket, GSocketEvent event);
void _GSocket_Disable(GSocket *socket, GSocketEvent event);
void _GSocket_Detected_Read(GSocket *socket);
void _GSocket_Detected_Write(GSocket *socket);
/* GAddress */
GSocketError _GAddress_translate_from(GAddress *address,

View File

@@ -31,7 +31,7 @@ void _GSocket_GDK_Input(gpointer data,
_GSocket_Detected_Write(socket);
}
void _GSocket_GUI_Init(GSocket *socket)
bool _GSocket_GUI_Init(GSocket *socket)
{
gint *m_id;
@@ -40,6 +40,8 @@ void _GSocket_GUI_Init(GSocket *socket)
m_id[0] = -1;
m_id[1] = -1;
return TRUE;
}
void _GSocket_GUI_Destroy(GSocket *socket)

View File

@@ -31,7 +31,7 @@ void _GSocket_GDK_Input(gpointer data,
_GSocket_Detected_Write(socket);
}
void _GSocket_GUI_Init(GSocket *socket)
bool _GSocket_GUI_Init(GSocket *socket)
{
gint *m_id;
@@ -40,6 +40,8 @@ void _GSocket_GUI_Init(GSocket *socket)
m_id[0] = -1;
m_id[1] = -1;
return TRUE;
}
void _GSocket_GUI_Destroy(GSocket *socket)

View File

@@ -32,7 +32,7 @@ static void _GSocket_Motif_Output(XtPointer data, int *fid,
_GSocket_Detected_Write(socket);
}
void _GSocket_GUI_Init(GSocket *socket)
bool _GSocket_GUI_Init(GSocket *socket)
{
int i;
int *m_id;
@@ -42,6 +42,8 @@ void _GSocket_GUI_Init(GSocket *socket)
m_id[0] = -1;
m_id[1] = -1;
return TRUE;
}
void _GSocket_GUI_Destroy(GSocket *socket)