]> git.ipfire.org Git - thirdparty/squid.git/blame - include/inet_ntop.h
Bug 2827: assertion failed: FilledChecklist.cc:90: "conn() != NULL"
[thirdparty/squid.git] / include / inet_ntop.h
CommitLineData
0e076fb1 1#ifndef _INC_INET_NTOP_H
2#define _INC_INET_NTOP_H
3
e1f7507e
AJ
4#include "config.h"
5
0e076fb1 6#if HAVE_INET_NTOP
7
8/* Use the system provided version where possible */
9#define xinet_ntop inet_ntop
10
11#else
12
13/* char *
c5dd4956
AJ
14* inet_ntop(af, src, dst, size)
15* convert a network format address to presentation format.
16* return:
17* pointer to presentation format address (`dst'), or NULL (see errno).
18* author:
19* Paul Vixie, 1996.
20*/
0e076fb1 21SQUIDCEXTERN const char * xinet_ntop(int af, const void *src, char *dst, size_t size);
22
23#endif
24
25#endif /* _INC_INET_NTOP_H */