From 37bc8c858415df26772f6123a9a2f8b2827dd3d5 Mon Sep 17 00:00:00 2001 From: Tomasz Bursztyka Date: Mon, 4 Jul 2011 14:34:56 +0300 Subject: 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. --- gweb/gresolv.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gweb/gresolv.h') 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 -- cgit v1.2.3