getnameinfo.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2018 The Squid Software Foundation and contributors
3  *
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.
7  */
8 
9 #ifndef _getnameinfo_h
10 #define _getnameinfo_h
11 
12 #if !HAVE_DECL_GETNAMEINFO
13 
14 // RFC 2553 / Posix resolver
15 // Reconstructed from KAME getnameinfo.c
16 SQUIDCEXTERN int xgetnameinfo(const struct sockaddr *sa,
17  socklen_t salen,
18  char *host,
19  size_t hostlen,
20  char *serv,
21  size_t servlen,
22  int flags );
23 #define getnameinfo xgetnameinfo
24 
25 #endif /* HAVE_DECL_GETNAMEINFO */
26 #endif /* _getnameinfo_h */
27 
int socklen_t
Definition: types.h:158
#define SQUIDCEXTERN
Definition: squid.h:26
int xgetnameinfo(const struct sockaddr *sa, socklen_t salen, char *host, size_t hostlen, char *serv, size_t servlen, int flags)
Definition: getnameinfo.cc:154

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors