mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-04 00:13:40 +02:00
gio: Add GDatagramBased interface and rebase GSocket on it
GDatagramBased is an interface abstracting datagram-based communications in the style of the Berkeley sockets API. It may be contrasted to (for example) GIOStream, which supports only streaming I/O. GDatagramBased allows socket-like communications to be done through any object, not just a concrete GSocket (which wraps socket()). This adds the GDatagramBased interface, and implements it in GSocket. https://bugzilla.gnome.org/show_bug.cgi?id=697907
This commit is contained in:
@@ -1995,6 +1995,27 @@ G_TYPE_NETWORK_SERVICE
|
||||
g_network_service_get_type
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>gdatagrambased</FILE>
|
||||
<TITLE>GDatagramBased</TITLE>
|
||||
GDatagramBased
|
||||
GDatagramBasedInterface
|
||||
GDatagramBasedSourceFunc
|
||||
g_datagram_based_receive_messages
|
||||
g_datagram_based_send_messages
|
||||
g_datagram_based_create_source
|
||||
g_datagram_based_condition_check
|
||||
g_datagram_based_condition_wait
|
||||
<SUBSECTION Standard>
|
||||
G_DATAGRAM_BASED
|
||||
G_DATAGRAM_BASED_GET_IFACE
|
||||
G_IS_DATAGRAM_BASED
|
||||
G_TYPE_DATAGRAM_BASED
|
||||
G_TYPE_IS_DATAGRAM_BASED
|
||||
<SUBSECTION Private>
|
||||
g_datagram_based_get_type
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>gsocket</FILE>
|
||||
<TITLE>GSocket</TITLE>
|
||||
|
Reference in New Issue
Block a user