mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Add GI annotations to Gio DNS resolution classes
This commit is contained in:
parent
add8cf9c09
commit
53364788e9
@ -141,7 +141,7 @@ g_proxy_resolver_is_supported (GProxyResolver *resolver)
|
||||
* g_proxy_resolver_lookup:
|
||||
* @resolver: a #GProxyResolver
|
||||
* @uri: a URI representing the destination to connect to
|
||||
* @cancellable: a #GCancellable, or %NULL
|
||||
* @cancellable: (allow-none): a #GCancellable, or %NULL
|
||||
* @error: return location for a #GError, or %NULL
|
||||
*
|
||||
* Looks into the system proxy configuration to determine what proxy,
|
||||
@ -160,8 +160,9 @@ g_proxy_resolver_is_supported (GProxyResolver *resolver)
|
||||
* Direct connection should not be attempted unless it is part of the
|
||||
* returned array of proxies.
|
||||
*
|
||||
* Return value: (transfer full) (element-type utf8): A NULL-terminated array of proxy URIs. Must be freed with
|
||||
* g_strfreev().
|
||||
* Return value: (transfer full) (array zero-terminated=1): A
|
||||
* NULL-terminated array of proxy URIs. Must be freed
|
||||
* with g_strfreev().
|
||||
*
|
||||
* Since: 2.26
|
||||
*/
|
||||
@ -185,9 +186,9 @@ g_proxy_resolver_lookup (GProxyResolver *resolver,
|
||||
* g_proxy_resolver_lookup_async:
|
||||
* @resolver: a #GProxyResolver
|
||||
* @uri: a URI representing the destination to connect to
|
||||
* @cancellable: a #GCancellable, or %NULL
|
||||
* @callback: callback to call after resolution completes
|
||||
* @user_data: data for @callback
|
||||
* @cancellable: (allow-none): a #GCancellable, or %NULL
|
||||
* @callback: (scope async): callback to call after resolution completes
|
||||
* @user_data: (closure): data for @callback
|
||||
*
|
||||
* Asynchronous lookup of proxy. See g_proxy_resolver_lookup() for more
|
||||
* details.
|
||||
@ -221,8 +222,9 @@ g_proxy_resolver_lookup_async (GProxyResolver *resolver,
|
||||
* g_proxy_resolver_lookup_async() is complete. See
|
||||
* g_proxy_resolver_lookup() for more details.
|
||||
*
|
||||
* Return value: (transfer full) (element-type utf8): A NULL-terminated array of proxy URIs. Must be freed with
|
||||
* g_strfreev().
|
||||
* Return value: (transfer full) (array zero-terminated=1): A
|
||||
* NULL-terminated array of proxy URIs. Must be freed
|
||||
* with g_strfreev().
|
||||
*
|
||||
* Since: 2.26
|
||||
*/
|
||||
|
@ -215,7 +215,7 @@ g_resolver_maybe_reload (GResolver *resolver)
|
||||
* g_resolver_lookup_by_name:
|
||||
* @resolver: a #GResolver
|
||||
* @hostname: the hostname to look up
|
||||
* @cancellable: a #GCancellable, or %NULL
|
||||
* @cancellable: (allow-none): a #GCancellable, or %NULL
|
||||
* @error: return location for a #GError, or %NULL
|
||||
*
|
||||
* Synchronously resolves @hostname to determine its associated IP
|
||||
@ -279,9 +279,9 @@ g_resolver_lookup_by_name (GResolver *resolver,
|
||||
* g_resolver_lookup_by_name_async:
|
||||
* @resolver: a #GResolver
|
||||
* @hostname: the hostname to look up the address of
|
||||
* @cancellable: a #GCancellable, or %NULL
|
||||
* @callback: callback to call after resolution completes
|
||||
* @user_data: data for @callback
|
||||
* @cancellable: (allow-none): a #GCancellable, or %NULL
|
||||
* @callback: (scope async): callback to call after resolution completes
|
||||
* @user_data: (closure): data for @callback
|
||||
*
|
||||
* Begins asynchronously resolving @hostname to determine its
|
||||
* associated IP address(es), and eventually calls @callback, which
|
||||
@ -401,7 +401,7 @@ g_resolver_free_addresses (GList *addresses)
|
||||
* g_resolver_lookup_by_address:
|
||||
* @resolver: a #GResolver
|
||||
* @address: the address to reverse-resolve
|
||||
* @cancellable: a #GCancellable, or %NULL
|
||||
* @cancellable: (allow-none): a #GCancellable, or %NULL
|
||||
* @error: return location for a #GError, or %NULL
|
||||
*
|
||||
* Synchronously reverse-resolves @address to determine its
|
||||
@ -437,9 +437,9 @@ g_resolver_lookup_by_address (GResolver *resolver,
|
||||
* g_resolver_lookup_by_address_async:
|
||||
* @resolver: a #GResolver
|
||||
* @address: the address to reverse-resolve
|
||||
* @cancellable: a #GCancellable, or %NULL
|
||||
* @callback: callback to call after resolution completes
|
||||
* @user_data: data for @callback
|
||||
* @cancellable: (allow-none): a #GCancellable, or %NULL
|
||||
* @callback: (scope async): callback to call after resolution completes
|
||||
* @user_data: (closure): data for @callback
|
||||
*
|
||||
* Begins asynchronously reverse-resolving @address to determine its
|
||||
* associated hostname, and eventually calls @callback, which must
|
||||
@ -521,7 +521,7 @@ g_resolver_get_service_rrname (const char *service,
|
||||
* @service: the service type to look up (eg, "ldap")
|
||||
* @protocol: the networking protocol to use for @service (eg, "tcp")
|
||||
* @domain: the DNS domain to look up the service in
|
||||
* @cancellable: a #GCancellable, or %NULL
|
||||
* @cancellable: (allow-none): a #GCancellable, or %NULL
|
||||
* @error: return location for a #GError, or %NULL
|
||||
*
|
||||
* Synchronously performs a DNS SRV lookup for the given @service and
|
||||
@ -585,9 +585,9 @@ g_resolver_lookup_service (GResolver *resolver,
|
||||
* @service: the service type to look up (eg, "ldap")
|
||||
* @protocol: the networking protocol to use for @service (eg, "tcp")
|
||||
* @domain: the DNS domain to look up the service in
|
||||
* @cancellable: a #GCancellable, or %NULL
|
||||
* @callback: callback to call after resolution completes
|
||||
* @user_data: data for @callback
|
||||
* @cancellable: (allow-none): a #GCancellable, or %NULL
|
||||
* @callback: (scope async): callback to call after resolution completes
|
||||
* @user_data: (closure): data for @callback
|
||||
*
|
||||
* Begins asynchronously performing a DNS SRV lookup for the given
|
||||
* @service and @protocol in the given @domain, and eventually calls
|
||||
|
Loading…
Reference in New Issue
Block a user