Function
GioSocketSourceFunc
since: 2.22
Declaration
gboolean
(* GSocketSourceFunc) (
GSocket* socket,
GIOCondition condition,
gpointer data
)
Description
This is the function type of the callback used for the GSource
returned by g_socket_create_source().
Available since: 2.22
Parameters
socket-
Type:
GSocketThe
GSocket.The data is owned by the caller of the function. condition-
Type:
GIOConditionThe current condition at the source fired.
data-
Type:
gpointerData passed in by the user.
The argument can be NULL.The data is owned by the caller of the function.