inet_ntop.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 1996-2022 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#ifndef inet_ntop
25#define inet_ntop xinet_ntop
26#endif
27
28#endif /* HAVE_DECL_INET_NTOP */
29#endif /* _INC_INET_NTOP_H */
30
int size
Definition: ModDevPoll.cc:75
SQUIDCEXTERN const char * xinet_ntop(int af, const void *src, char *dst, size_t size)
Definition: inet_ntop.cc:111
#define SQUIDCEXTERN
Definition: squid.h:21

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors