/* 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,
_GSocket_Detected_Write(socket);
}
-void _GSocket_GUI_Init(GSocket *socket)
+bool _GSocket_GUI_Init(GSocket *socket)
{
gint *m_id;
m_id[0] = -1;
m_id[1] = -1;
+
+ return TRUE;
}
void _GSocket_GUI_Destroy(GSocket *socket)
_GSocket_Detected_Write(socket);
}
-void _GSocket_GUI_Init(GSocket *socket)
+bool _GSocket_GUI_Init(GSocket *socket)
{
gint *m_id;
m_id[0] = -1;
m_id[1] = -1;
+
+ return TRUE;
}
void _GSocket_GUI_Destroy(GSocket *socket)
_GSocket_Detected_Write(socket);
}
-void _GSocket_GUI_Init(GSocket *socket)
+bool _GSocket_GUI_Init(GSocket *socket)
{
int i;
int *m_id;
m_id[0] = -1;
m_id[1] = -1;
+
+ return TRUE;
}
void _GSocket_GUI_Destroy(GSocket *socket)