mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-31 22:23:39 +02:00
Document g_simple_proxy_resolver_set_ignore_hosts
This commit is contained in:
@@ -550,9 +550,22 @@ g_simple_proxy_resolver_set_default_proxy (GSimpleProxyResolver *resolver,
|
|||||||
g_object_notify (G_OBJECT (resolver), "default-proxy");
|
g_object_notify (G_OBJECT (resolver), "default-proxy");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* g_simple_proxy_resolver_set_ignore_hosts:
|
||||||
|
* @resolver: a #GSimpleProxyResolver
|
||||||
|
* @ignore_hosts: %NULL-terminated list of hosts/IP addresses
|
||||||
|
* to not use a proxy for
|
||||||
|
*
|
||||||
|
* Sets the list of ignored hosts.
|
||||||
|
*
|
||||||
|
* See #GSimpleProxyResolver:ignore-hosts for more details on how the
|
||||||
|
* @ignore_hosts argument is interpreted.
|
||||||
|
*
|
||||||
|
* Since: 2.36
|
||||||
|
*/
|
||||||
void
|
void
|
||||||
g_simple_proxy_resolver_set_ignore_hosts (GSimpleProxyResolver *resolver,
|
g_simple_proxy_resolver_set_ignore_hosts (GSimpleProxyResolver *resolver,
|
||||||
gchar **ignore_hosts)
|
gchar **ignore_hosts)
|
||||||
{
|
{
|
||||||
g_return_if_fail (G_IS_SIMPLE_PROXY_RESOLVER (resolver));
|
g_return_if_fail (G_IS_SIMPLE_PROXY_RESOLVER (resolver));
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user