summaryrefslogtreecommitdiff
path: root/gresolv/gresolv.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-07-26 15:20:20 -0700
committerMarcel Holtmann <marcel@holtmann.org>2010-07-26 15:20:20 -0700
commitf24b3cd2ac63beedcfe40993abab262924ceb586 (patch)
tree902a0d0a5f319ce1eff6d5b88c0fdc4a0f130f82 /gresolv/gresolv.h
parenta4eba545630f97c259d5cb10293008bbb2b1cafd (diff)
downloadconnman-f24b3cd2ac63beedcfe40993abab262924ceb586.tar.gz
connman-f24b3cd2ac63beedcfe40993abab262924ceb586.tar.bz2
connman-f24b3cd2ac63beedcfe40993abab262924ceb586.zip
Add initial support for hostname lookup via resolver
Diffstat (limited to 'gresolv/gresolv.h')
-rw-r--r--gresolv/gresolv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gresolv/gresolv.h b/gresolv/gresolv.h
index 40b49728..baafd355 100644
--- a/gresolv/gresolv.h
+++ b/gresolv/gresolv.h
@@ -48,6 +48,8 @@ int g_resolv_add_nameserver(GResolv *resolv, const char *address,
uint16_t port, unsigned long flags);
void g_resolv_flush_nameservers(GResolv *resolv);
+int g_resolv_lookup_hostname(GResolv *resolv, const char *hostname);
+
#ifdef __cplusplus
}
#endif