[glib] Document g_simple_proxy_resolver_set_ignore_hosts
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Document g_simple_proxy_resolver_set_ignore_hosts
- Date: Tue, 9 Jul 2013 18:27:43 +0000 (UTC)
commit e38ee2f468bbbed0d354a95bbace3e9e19e8e695
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Jul 9 13:28:07 2013 -0400
Document g_simple_proxy_resolver_set_ignore_hosts
gio/gsimpleproxyresolver.c | 17 +++++++++++++++--
1 files changed, 15 insertions(+), 2 deletions(-)
---
diff --git a/gio/gsimpleproxyresolver.c b/gio/gsimpleproxyresolver.c
index 417459e..fcfce6d 100644
--- a/gio/gsimpleproxyresolver.c
+++ b/gio/gsimpleproxyresolver.c
@@ -550,9 +550,22 @@ g_simple_proxy_resolver_set_default_proxy (GSimpleProxyResolver *resolver,
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
-g_simple_proxy_resolver_set_ignore_hosts (GSimpleProxyResolver *resolver,
- gchar **ignore_hosts)
+g_simple_proxy_resolver_set_ignore_hosts (GSimpleProxyResolver *resolver,
+ gchar **ignore_hosts)
{
g_return_if_fail (G_IS_SIMPLE_PROXY_RESOLVER (resolver));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]