summaryrefslogtreecommitdiff
path: root/gweb/gresolv.h
diff options
context:
space:
mode:
authorTomasz Bursztyka <tomasz.bursztyka@linux.intel.com>2011-07-04 14:34:56 +0300
committerSamuel Ortiz <sameo@linux.intel.com>2011-07-06 17:54:47 +0200
commit37bc8c858415df26772f6123a9a2f8b2827dd3d5 (patch)
tree8a97a42ccd9ee6493e0c7d5df4b73b1affcffc74 /gweb/gresolv.h
parent725d7ab070ad314bedb704b64f87ea28d0e64d70 (diff)
downloadconnman-37bc8c858415df26772f6123a9a2f8b2827dd3d5.tar.gz
connman-37bc8c858415df26772f6123a9a2f8b2827dd3d5.tar.bz2
connman-37bc8c858415df26772f6123a9a2f8b2827dd3d5.zip
gresolv: Queries address family scope restriction
Adding the capability to restrict DNS queries to a specific address family through gresolv_set_address_family(). By default, AF_UNSPEC is applied.
Diffstat (limited to 'gweb/gresolv.h')
-rw-r--r--gweb/gresolv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gweb/gresolv.h b/gweb/gresolv.h
index 1bcaf44a..fa6a55e3 100644
--- a/gweb/gresolv.h
+++ b/gweb/gresolv.h
@@ -67,6 +67,8 @@ guint g_resolv_lookup_hostname(GResolv *resolv, const char *hostname,
gboolean g_resolv_cancel_lookup(GResolv *resolv, guint id);
+gboolean g_resolv_set_address_family(GResolv *resolv, int family);
+
#ifdef __cplusplus
}
#endif