From bfdcff2b28f399d236b592d13663c7283d6eac2c Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Fri, 27 May 2011 11:44:16 +0200 Subject: Add utility function to return IP address as string --- src/resolv/async_resolv.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/resolv/async_resolv.h') 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, -- cgit