source: squid-ssl/trunk/fuentes/compat/inet_ntop.h @ 5495

Last change on this file since 5495 was 5495, checked in by Juanma, 2 years ago

Initial release

File size: 817 bytes
Line 
1/*
2 * Copyright (C) 1996-2015 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 _INC_INET_NTOP_H
10#define _INC_INET_NTOP_H
11
12/* Use the system provided version where possible */
13#if !HAVE_DECL_INET_NTOP
14
15/* char *
16* inet_ntop(af, src, dst, size)
17*      convert a network format address to presentation format.
18* return:
19*      pointer to presentation format address (`dst'), or NULL (see errno).
20* author:
21*      Paul Vixie, 1996.
22*/
23SQUIDCEXTERN const char * xinet_ntop(int af, const void *src, char *dst, size_t size);
24#define inet_ntop xinet_ntop
25
26#endif /* HAVE_DECL_INET_NTOP */
27#endif /* _INC_INET_NTOP_H */
28
Note: See TracBrowser for help on using the repository browser.