Function

GioDatagramBasedSourceFunc

Declaration

gboolean
(* GDatagramBasedSourceFunc) (
  GDatagramBased* datagram_based,
  GIOCondition condition,
  gpointer user_data
)

Description [src]

This is the function type of the callback used for the GSource returned by g_datagram_based_create_source().

Available since:2.48

Parameters

datagram_based GDatagramBased
 

The GDatagramBased.

 The data is owned by the caller of the function.
condition GIOCondition
 

The current condition at the source fired.

user_data gpointer
 

Data passed in by the user.

Return value

Returns: gboolean
 

G_SOURCE_REMOVE if the source should be removed, G_SOURCE_CONTINUE otherwise.