Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
_GDatagramBasedInterface Struct Reference

#include <gdatagrambased.h>

Data Fields

GTypeInterface g_iface
 
gint(* receive_messages )(GDatagramBased *datagram_based, GInputMessage *messages, guint num_messages, gint flags, gint64 timeout, GCancellable *cancellable, GError **error)
 
gint(* send_messages )(GDatagramBased *datagram_based, GOutputMessage *messages, guint num_messages, gint flags, gint64 timeout, GCancellable *cancellable, GError **error)
 
GSource *(* create_source )(GDatagramBased *datagram_based, GIOCondition condition, GCancellable *cancellable)
 
GIOCondition(* condition_check )(GDatagramBased *datagram_based, GIOCondition condition)
 
gboolean(* condition_wait )(GDatagramBased *datagram_based, GIOCondition condition, gint64 timeout, GCancellable *cancellable, GError **error)
 

Detailed Description

GDatagramBasedInterface: @g_iface: The parent interface. @receive_messages: Virtual method for g_datagram_based_receive_messages(). @send_messages: Virtual method for g_datagram_based_send_messages(). @create_source: Virtual method for g_datagram_based_create_source(). @condition_check: Virtual method for g_datagram_based_condition_check(). @condition_wait: Virtual method for g_datagram_based_condition_wait().

Provides an interface for socket-like objects which have datagram semantics, following the Berkeley sockets API. The interface methods are thin wrappers around the corresponding virtual methods, and no pre-processing of inputs is implemented — so implementations of this API must handle all functionality documented in the interface methods.

Since: 2.48

Definition at line 64 of file gdatagrambased.h.

Field Documentation

◆ condition_check

GIOCondition(* _GDatagramBasedInterface::condition_check) (GDatagramBased *datagram_based, GIOCondition condition)

Definition at line 87 of file gdatagrambased.h.

◆ condition_wait

gboolean(* _GDatagramBasedInterface::condition_wait) (GDatagramBased *datagram_based, GIOCondition condition, gint64 timeout, GCancellable *cancellable, GError **error)

Definition at line 89 of file gdatagrambased.h.

◆ create_source

GSource *(* _GDatagramBasedInterface::create_source) (GDatagramBased *datagram_based, GIOCondition condition, GCancellable *cancellable)

Definition at line 84 of file gdatagrambased.h.

◆ g_iface

GTypeInterface _GDatagramBasedInterface::g_iface

Definition at line 66 of file gdatagrambased.h.

◆ receive_messages

gint(* _GDatagramBasedInterface::receive_messages) (GDatagramBased *datagram_based, GInputMessage *messages, guint num_messages, gint flags, gint64 timeout, GCancellable *cancellable, GError **error)

Definition at line 69 of file gdatagrambased.h.

◆ send_messages

gint(* _GDatagramBasedInterface::send_messages) (GDatagramBased *datagram_based, GOutputMessage *messages, guint num_messages, gint flags, gint64 timeout, GCancellable *cancellable, GError **error)

Definition at line 76 of file gdatagrambased.h.


The documentation for this struct was generated from the following file: