diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2010-07-26 15:20:20 -0700 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-07-26 15:20:20 -0700 |
commit | f24b3cd2ac63beedcfe40993abab262924ceb586 (patch) | |
tree | 902a0d0a5f319ce1eff6d5b88c0fdc4a0f130f82 /gresolv/gresolv.h | |
parent | a4eba545630f97c259d5cb10293008bbb2b1cafd (diff) | |
download | connman-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.h | 2 |
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 |