]>
git.ipfire.org Git - thirdparty/squid.git/blob - compat/inet_ntop.h
2 * Copyright (C) 1996-2023 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.
9 #ifndef _INC_INET_NTOP_H
10 #define _INC_INET_NTOP_H
12 /* Use the system provided version where possible */
13 #if !HAVE_DECL_INET_NTOP
16 * inet_ntop(af, src, dst, size)
17 * convert a network format address to presentation format.
19 * pointer to presentation format address (`dst'), or NULL (see errno).
23 SQUIDCEXTERN
const char * xinet_ntop(int af
, const void *src
, char *dst
, size_t size
);
25 #define inet_ntop xinet_ntop
28 #endif /* HAVE_DECL_INET_NTOP */
29 #endif /* _INC_INET_NTOP_H */