[SSSD] [PATCH] Provide TTL structure names for c-ares < 1.7

Stephen Gallagher sgallagh at redhat.com
Thu Jun 16 16:29:45 UTC 2011


On Thu, 2011-06-16 at 17:45 +0200, Jakub Hrozek wrote:
> In c-ares 1.7, the upstream renamed the addrttl/addr6ttl structures to
> ares_addrttl/ares_addr6ttl so they are in the ares_ namespace.
> 
> Because they are committed to stable ABI, the contents are the same,
> just the name changed -- so it is safe to just #define the new name for
> older c-ares version.

Is it possible to make this:
#ifndef ares_addrttl
#define ares_addrttl addrttl
#endif

I'd prefer not to forcibly #define those in case sometime in the future
they opt to drop the old ABI.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20110616/e5f4cbca/attachment.sig>


More information about the sssd-devel mailing list