22#ifndef __G_DATAGRAM_BASED_H__
23#define __G_DATAGRAM_BASED_H__
25#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
26#error "Only <gio/gio.h> can be included directly."
33#define G_TYPE_DATAGRAM_BASED (g_datagram_based_get_type ())
34#define G_DATAGRAM_BASED(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), \
35 G_TYPE_DATAGRAM_BASED, GDatagramBased))
36#define G_IS_DATAGRAM_BASED(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), \
37 G_TYPE_DATAGRAM_BASED))
38#define G_DATAGRAM_BASED_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), \
39 G_TYPE_DATAGRAM_BASED, \
40 GDatagramBasedInterface))
41#define G_TYPE_IS_DATAGRAM_BASED(type) (g_type_is_a ((type), \
42 G_TYPE_DATAGRAM_BASED))
GIO_AVAILABLE_IN_2_48 GIOCondition g_datagram_based_condition_check(GDatagramBased *datagram_based, GIOCondition condition)
GIO_AVAILABLE_IN_2_48 GType g_datagram_based_get_type(void)
GIO_AVAILABLE_IN_2_48 gboolean g_datagram_based_condition_wait(GDatagramBased *datagram_based, GIOCondition condition, gint64 timeout, GCancellable *cancellable, GError **error)
GIO_AVAILABLE_IN_2_48 GSource * g_datagram_based_create_source(GDatagramBased *datagram_based, GIOCondition condition, GCancellable *cancellable)
GIO_AVAILABLE_IN_2_48 gint g_datagram_based_send_messages(GDatagramBased *datagram_based, GOutputMessage *messages, guint num_messages, gint flags, gint64 timeout, GCancellable *cancellable, GError **error)
GIO_AVAILABLE_IN_2_48 gint g_datagram_based_receive_messages(GDatagramBased *datagram_based, GInputMessage *messages, guint num_messages, gint flags, gint64 timeout, GCancellable *cancellable, GError **error)
#define GIO_AVAILABLE_IN_2_48
struct _GDatagramBased GDatagramBased
static void error(LoadState *S, const char *why)
gint(* send_messages)(GDatagramBased *datagram_based, GOutputMessage *messages, guint num_messages, gint flags, gint64 timeout, GCancellable *cancellable, GError **error)
GIOCondition(* condition_check)(GDatagramBased *datagram_based, GIOCondition condition)
gint(* receive_messages)(GDatagramBased *datagram_based, GInputMessage *messages, guint num_messages, gint flags, gint64 timeout, GCancellable *cancellable, GError **error)
gboolean(* condition_wait)(GDatagramBased *datagram_based, GIOCondition condition, gint64 timeout, GCancellable *cancellable, GError **error)