]> git.ipfire.org Git - thirdparty/squid.git/blob - compat/inet_ntop.h
Merge from trunk. and Save Comm::Connection in IoCallback
[thirdparty/squid.git] / compat / inet_ntop.h
1 #ifndef _INC_INET_NTOP_H
2 #define _INC_INET_NTOP_H
3
4 /* Use the system provided version where possible */
5 #if !HAVE_INET_NTOP
6
7 /* char *
8 * inet_ntop(af, src, dst, size)
9 * convert a network format address to presentation format.
10 * return:
11 * pointer to presentation format address (`dst'), or NULL (see errno).
12 * author:
13 * Paul Vixie, 1996.
14 */
15 SQUIDCEXTERN const char * xinet_ntop(int af, const void *src, char *dst, size_t size);
16 #define inet_ntop xinet_ntop
17
18 #endif
19 #endif /* _INC_INET_NTOP_H */