summaryrefslogtreecommitdiffstats
path: root/src/resolv/async_resolv.h
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2011-05-27 11:44:16 +0200
committerStephen Gallagher <sgallagh@redhat.com>2011-06-02 14:12:42 -0400
commit38e989bc5d5ff556505dbd149a0757276774983d (patch)
tree15aaa40e7bcb05b019bb5b3344f5772770505c5d /src/resolv/async_resolv.h
parent1b07993867e74129d2fedde93d16d73ff466a483 (diff)
downloadsssd-38e989bc5d5ff556505dbd149a0757276774983d.tar.gz
sssd-38e989bc5d5ff556505dbd149a0757276774983d.tar.xz
sssd-38e989bc5d5ff556505dbd149a0757276774983d.zip
Add utility function to return IP address as string
Diffstat (limited to 'src/resolv/async_resolv.h')
-rw-r--r--src/resolv/async_resolv.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/resolv/async_resolv.h b/src/resolv/async_resolv.h
index b6a13d7fa..d6cbe1494 100644
--- a/src/resolv/async_resolv.h
+++ b/src/resolv/async_resolv.h
@@ -76,6 +76,9 @@ int resolv_gethostbyname_recv(struct tevent_req *req,
int *timeouts,
struct hostent **hostent);
+char *
+resolv_get_string_address(TALLOC_CTX *mem_ctx, struct hostent *hostent);
+
/** Get SRV record **/
struct tevent_req *resolv_getsrv_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,