mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-23 12:41:50 +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
|
* GUnixFDMessage:
|
||||||
* @title: GUnixFDMessage
|
|
||||||
* @short_description: A GSocketControlMessage containing a GUnixFDList
|
|
||||||
* @include: gio/gunixfdmessage.h
|
|
||||||
* @see_also: #GUnixConnection, #GUnixFDList, #GSocketControlMessage
|
|
||||||
*
|
*
|
||||||
* This #GSocketControlMessage contains a #GUnixFDList.
|
* This [class@Gio.SocketControlMessage] contains a [class@Gio.UnixFDList].
|
||||||
* It may be sent using g_socket_send_message() and received using
|
* It may be sent using [method@Gio.Socket.send_message] and received using
|
||||||
* g_socket_receive_message() over UNIX sockets (ie: sockets in the
|
* [method@Gio.Socket.receive_message] over UNIX sockets (ie: sockets in the
|
||||||
* %G_SOCKET_FAMILY_UNIX family). The file descriptors are copied
|
* `G_SOCKET_FAMILY_UNIX` family). The file descriptors are copied
|
||||||
* between processes by the kernel.
|
* between processes by the kernel.
|
||||||
*
|
*
|
||||||
* For an easier way to send and receive file descriptors over
|
* For an easier way to send and receive file descriptors over
|
||||||
* stream-oriented UNIX sockets, see g_unix_connection_send_fd() and
|
* stream-oriented UNIX sockets, see [method@Gio.UnixConnection.send_fd] and
|
||||||
* g_unix_connection_receive_fd().
|
* [method@Gio.UnixConnection.receive_fd].
|
||||||
*
|
*
|
||||||
* Note that `<gio/gunixfdmessage.h>` belongs to the UNIX-specific GIO
|
* 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
|
* interfaces, thus you have to use the `gio-unix-2.0.pc` pkg-config
|
||||||
* file when using it.
|
* file when using it.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
|
||||||
* GUnixFDMessage:
|
|
||||||
*
|
|
||||||
* #GUnixFDMessage is an opaque data structure and can only be accessed
|
|
||||||
* using the following functions.
|
|
||||||
**/
|
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user