]> git.ipfire.org Git - thirdparty/squid.git/blob - compat/inet_ntop.h
Compat: shuffle replacement OS function fiels into libcompat
[thirdparty/squid.git] / compat / inet_ntop.h
1 #ifndef SQUID_CONFIG_H
2 #include "config.h"
3 #endif
4
5 #ifndef _INC_INET_NTOP_H
6 #define _INC_INET_NTOP_H
7
8 /* Use the system provided version where possible */
9 #if !HAVE_INET_NTOP
10
11 /* char *
12 * inet_ntop(af, src, dst, size)
13 * convert a network format address to presentation format.
14 * return:
15 * pointer to presentation format address (`dst'), or NULL (see errno).
16 * author:
17 * Paul Vixie, 1996.
18 */
19 SQUIDCEXTERN const char * xinet_ntop(int af, const void *src, char *dst, size_t size);
20 #define inet_ntop xinet_ntop
21
22 #endif
23 #endif /* _INC_INET_NTOP_H */