]>
git.ipfire.org Git - thirdparty/squid.git/blob - compat/getnameinfo.h
774909bf58e2d9a459ba7af99d657559ba232b96
2 * Copyright (C) 1996-2016 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 */