]> git.ipfire.org Git - thirdparty/squid.git/blob - compat/getnameinfo.h
Enable source-formatting tools to collapse multiple whitelines in the source to one.
[thirdparty/squid.git] / compat / getnameinfo.h
1 #ifndef _getnameinfo_h
2 #define _getnameinfo_h
3 /*
4 * Reconstructed from KAME getnameinfo.c (in lib/)
5 */
6
7 #if !HAVE_GETNAMEINFO
8
9 /* RFC 2553 / Posix resolver */
10 SQUIDCEXTERN int xgetnameinfo(const struct sockaddr *sa,
11 socklen_t salen,
12 char *host,
13 size_t hostlen,
14 char *serv,
15 size_t servlen,
16 int flags );
17 #define getnameinfo xgetnameinfo
18
19
20 #endif /* HAVE_GETNAMEINFO */
21 #endif /* _getnameinfo_h */