mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-02 17:26:17 +01:00
docs: Move the GProxyAddressEnumerator SECTION
Move it to the struct docs. Signed-off-by: Philip Withnall <philip@tecnocode.co.uk> Helps: #3037
This commit is contained in:
parent
34fc02d5ac
commit
7b32b5a9f0
@ -42,19 +42,18 @@
|
|||||||
#include "gsocketconnectable.h"
|
#include "gsocketconnectable.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* SECTION:gproxyaddressenumerator
|
* GProxyAddressEnumerator:
|
||||||
* @short_description: Proxy wrapper enumerator for socket addresses
|
|
||||||
* @include: gio/gio.h
|
|
||||||
*
|
*
|
||||||
* #GProxyAddressEnumerator is a wrapper around #GSocketAddressEnumerator which
|
* `GProxyAddressEnumerator` is a wrapper around
|
||||||
* takes the #GSocketAddress instances returned by the #GSocketAddressEnumerator
|
* [class@Gio.SocketAddressEnumerator] which takes the [class@Gio.SocketAddress]
|
||||||
* and wraps them in #GProxyAddress instances, using the given
|
* instances returned by the [class@Gio.SocketAddressEnumerator]
|
||||||
* #GProxyAddressEnumerator:proxy-resolver.
|
* and wraps them in [class@Gio.ProxyAddress] instances, using the given
|
||||||
|
* [property@Gio.ProxyAddressEnumerator:proxy-resolver].
|
||||||
*
|
*
|
||||||
* This enumerator will be returned (for example, by
|
* This enumerator will be returned (for example, by
|
||||||
* g_socket_connectable_enumerate()) as appropriate when a proxy is configured;
|
* [method@Gio.SocketConnectable.enumerate]) as appropriate when a proxy is
|
||||||
* there should be no need to manually wrap a #GSocketAddressEnumerator instance
|
* configured; there should be no need to manually wrap a
|
||||||
* with one.
|
* [class@Gio.SocketAddressEnumerator] instance with one.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define GET_PRIVATE(o) (G_PROXY_ADDRESS_ENUMERATOR (o)->priv)
|
#define GET_PRIVATE(o) (G_PROXY_ADDRESS_ENUMERATOR (o)->priv)
|
||||||
|
@ -38,14 +38,6 @@ G_BEGIN_DECLS
|
|||||||
#define G_IS_PROXY_ADDRESS_ENUMERATOR_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_PROXY_ADDRESS_ENUMERATOR))
|
#define G_IS_PROXY_ADDRESS_ENUMERATOR_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_PROXY_ADDRESS_ENUMERATOR))
|
||||||
#define G_PROXY_ADDRESS_ENUMERATOR_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), G_TYPE_PROXY_ADDRESS_ENUMERATOR, GProxyAddressEnumeratorClass))
|
#define G_PROXY_ADDRESS_ENUMERATOR_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), G_TYPE_PROXY_ADDRESS_ENUMERATOR, GProxyAddressEnumeratorClass))
|
||||||
|
|
||||||
/**
|
|
||||||
* GProxyAddressEnumerator:
|
|
||||||
*
|
|
||||||
* A subclass of #GSocketAddressEnumerator that takes another address
|
|
||||||
* enumerator and wraps each of its results in a #GProxyAddress as
|
|
||||||
* directed by the default #GProxyResolver.
|
|
||||||
*/
|
|
||||||
|
|
||||||
typedef struct _GProxyAddressEnumeratorClass GProxyAddressEnumeratorClass;
|
typedef struct _GProxyAddressEnumeratorClass GProxyAddressEnumeratorClass;
|
||||||
typedef struct _GProxyAddressEnumeratorPrivate GProxyAddressEnumeratorPrivate;
|
typedef struct _GProxyAddressEnumeratorPrivate GProxyAddressEnumeratorPrivate;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user