diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2013-04-30 16:40:00 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-05-03 20:25:46 +0200 |
commit | a398adc5b40381fc567a2aee1841b26af78aea17 (patch) | |
tree | 4de66827028e07dd9faf66f605c83050ad23afd6 /src/resolv/async_resolv.h | |
parent | 5a4239490c7fb7d732180a9d40f27f0247c56631 (diff) | |
download | sssd-a398adc5b40381fc567a2aee1841b26af78aea17.tar.gz sssd-a398adc5b40381fc567a2aee1841b26af78aea17.tar.bz2 sssd-a398adc5b40381fc567a2aee1841b26af78aea17.zip |
resolver: Return PTR record as string
This is a requirement to update the PTR records.
Includes a unit test.
Diffstat (limited to 'src/resolv/async_resolv.h')
-rw-r--r-- | src/resolv/async_resolv.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/resolv/async_resolv.h b/src/resolv/async_resolv.h index 3a025588..d759a82f 100644 --- a/src/resolv/async_resolv.h +++ b/src/resolv/async_resolv.h @@ -121,6 +121,10 @@ resolv_get_string_address_index(TALLOC_CTX *mem_ctx, struct resolv_hostent *hostent, unsigned int addrindex); +char * +resolv_get_string_ptr_address(TALLOC_CTX *mem_ctx, + int family, uint8_t *address); + #define resolv_get_string_address(mem_ctx, hostent) \ resolv_get_string_address_index(mem_ctx, hostent, 0) |