diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2014-12-15 01:39:42 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2015-02-11 11:12:04 +0100 |
commit | 5594736ea2618bb3e487f47fd199e1d2cf4c58fd (patch) | |
tree | 20e4f3303994f7855b80aca3038507e38193b424 /src/resolv/async_resolv.c | |
parent | bf54fbed126ec3d459af40ea370ffadacd31c76d (diff) | |
download | sssd-5594736ea2618bb3e487f47fd199e1d2cf4c58fd.tar.gz sssd-5594736ea2618bb3e487f47fd199e1d2cf4c58fd.tar.xz sssd-5594736ea2618bb3e487f47fd199e1d2cf4c58fd.zip |
RESOLV: Remove obsolete in-tree implementation of SRV and TXT parsing
SSSD contained several backwards-compatible definitions of SRV and TXT
APIs as well as structures that carry TTL data. These were intended for
RHEL-5 and older releases. Since we don't support those upstream, it's
better to remove the code -- it has drifted apart from upstream anyway.
Reviewed-by: Pavel Březina <pbrezina@redhat.com>
Diffstat (limited to 'src/resolv/async_resolv.c')
-rw-r--r-- | src/resolv/async_resolv.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/resolv/async_resolv.c b/src/resolv/async_resolv.c index 85c4d99a4..c9657ef41 100644 --- a/src/resolv/async_resolv.c +++ b/src/resolv/async_resolv.c @@ -42,25 +42,6 @@ #include "util/dlinklist.h" #include "util/util.h" -#ifndef HAVE_ARES_DATA -#define ares_parse_srv_reply(abuf, alen, srv_out) \ - _ares_parse_srv_reply(abuf, alen, srv_out) -#define ares_parse_txt_reply(abuf, alen, txt_out) \ - _ares_parse_txt_reply(abuf, alen, txt_out) -#define ares_free_data(dataptr) \ - _ares_free_data(dataptr) -#define ares_malloc_data(data) \ - _ares_malloc_data(data) -#endif /* HAVE_ARES_DATA */ - -#ifndef HAVE_STRUCT_ARES_ADDRTTL -#define ares_addrttl addrttl -#endif - -#ifndef HAVE_STRUCT_ARES_ADDR6TTL -#define ares_addr6ttl addr6ttl -#endif - #define DNS__16BIT(p) (((p)[0] << 8) | (p)[1]) /* |