]>
git.ipfire.org Git - thirdparty/squid.git/blob - compat/getnameinfo.h
2 * Copyright (C) 1996-2015 The Squid Software Foundation and contributors
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
10 #define _getnameinfo_h
12 #if !HAVE_DECL_GETNAMEINFO
14 // RFC 2553 / Posix resolver
15 // Reconstructed from KAME getnameinfo.c
16 SQUIDCEXTERN
int xgetnameinfo(const struct sockaddr
*sa
,
23 #define getnameinfo xgetnameinfo
25 #endif /* HAVE_DECL_GETNAMEINFO */
26 #endif /* _getnameinfo_h */