mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
docs: Move the GUnixFDMessage SECTION
Move it to the struct docs. Signed-off-by: Philip Withnall <pwithnall@gnome.org> Helps: #3037
This commit is contained in:
parent
a84a704dc6
commit
3d8f1dc203
@ -15,34 +15,23 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* SECTION:gunixfdmessage
|
||||
* @title: GUnixFDMessage
|
||||
* @short_description: A GSocketControlMessage containing a GUnixFDList
|
||||
* @include: gio/gunixfdmessage.h
|
||||
* @see_also: #GUnixConnection, #GUnixFDList, #GSocketControlMessage
|
||||
* GUnixFDMessage:
|
||||
*
|
||||
* This #GSocketControlMessage contains a #GUnixFDList.
|
||||
* It may be sent using g_socket_send_message() and received using
|
||||
* g_socket_receive_message() over UNIX sockets (ie: sockets in the
|
||||
* %G_SOCKET_FAMILY_UNIX family). The file descriptors are copied
|
||||
* This [class@Gio.SocketControlMessage] contains a [class@Gio.UnixFDList].
|
||||
* It may be sent using [method@Gio.Socket.send_message] and received using
|
||||
* [method@Gio.Socket.receive_message] over UNIX sockets (ie: sockets in the
|
||||
* `G_SOCKET_FAMILY_UNIX` family). The file descriptors are copied
|
||||
* between processes by the kernel.
|
||||
*
|
||||
* For an easier way to send and receive file descriptors over
|
||||
* stream-oriented UNIX sockets, see g_unix_connection_send_fd() and
|
||||
* g_unix_connection_receive_fd().
|
||||
* stream-oriented UNIX sockets, see [method@Gio.UnixConnection.send_fd] and
|
||||
* [method@Gio.UnixConnection.receive_fd].
|
||||
*
|
||||
* Note that `<gio/gunixfdmessage.h>` belongs to the UNIX-specific GIO
|
||||
* interfaces, thus you have to use the `gio-unix-2.0.pc` pkg-config
|
||||
* file when using it.
|
||||
*/
|
||||
|
||||
/**
|
||||
* GUnixFDMessage:
|
||||
*
|
||||
* #GUnixFDMessage is an opaque data structure and can only be accessed
|
||||
* using the following functions.
|
||||
**/
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <unistd.h>
|
||||
|
Loading…
Reference in New Issue
Block a user