diff options
author | Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com> | 2011-07-04 14:34:56 +0300 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-07-06 17:54:47 +0200 |
commit | 37bc8c858415df26772f6123a9a2f8b2827dd3d5 (patch) | |
tree | 8a97a42ccd9ee6493e0c7d5df4b73b1affcffc74 /gweb/gresolv.h | |
parent | 725d7ab070ad314bedb704b64f87ea28d0e64d70 (diff) | |
download | connman-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.h | 2 |
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 |