squid-
cache.org
Optimising Web Delivery
Docs
Download
Donate
Support
About
Contact
Shop
Blog
compat
inet_pton.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_PTON_H
10
#define _INC_INET_PTON_H
11
12
/* Use the system provided version where possible */
13
#if !HAVE_DECL_INET_PTON
14
15
/* int
16
* inet_pton(af, src, dst)
17
* convert from presentation format (which usually means ASCII printable)
18
* to network format (which is usually some kind of binary format).
19
* return:
20
* 1 if the address was valid for the specified address family
21
* 0 if the address wasn't valid (`dst' is untouched in this case)
22
* -1 if some other error occurred (`dst' is untouched in this case, too)
23
* author:
24
* Paul Vixie, 1996.
25
*/
26
SQUIDCEXTERN
int
xinet_pton
(
int
af,
const
char
*src,
void
*dst);
27
#ifndef inet_pton
28
#define inet_pton xinet_pton
29
#endif
30
31
#endif
/* HAVE_DECL_INET_PTON */
32
#endif
/* _INC_INET_NTOP_H */
33
xinet_pton
SQUIDCEXTERN int xinet_pton(int af, const char *src, void *dst)
Definition:
inet_pton.cc:109
SQUIDCEXTERN
#define SQUIDCEXTERN
Definition:
squid.h:21
Introduction
About Squid
Why Squid?
Squid Developers
How to Donate
How to Help Out
Getting Squid
Squid Source Packages
Squid Deployment Case-Studies
Squid Software Foundation
Documentation
Configuration:
Reference
Examples
FAQ
and
Wiki
Guide Books:
Beginners
Definitive
Non-English
More...
Support
Security Advisories
Bugzilla Database
Mailing lists
Contacting us
Commercial services
Project Sponsors
Squid-based products
Miscellaneous
Developer Resources
Related Writings
Related Software:
Authenticators
Ecap
Icap
Ident
Log Analysis
Monitor
Proxies
Redirectors
General
Squid Artwork
Web Site Translations
Japanese
Mirrors
Website:
gr
il
jp
pl
...
full list
FTP Package Archive