squid-
cache.org
Optimising Web Delivery
Docs
Download
Donate
Support
About
Contact
Shop
Blog
lib
rfcnb
std-includes.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 1996-2023 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
/*
10
*
11
* RFCNB Standard Includes
12
*
13
* Copyright (C) 1996, Richard Sharpe
14
*/
15
16
/*
17
* This program is free software; you can redistribute it and/or modify
18
* it under the terms of the GNU General Public License as published by
19
* the Free Software Foundation; either version 2 of the License, or
20
* (at your option) any later version.
21
*
22
* This program is distributed in the hope that it will be useful,
23
* but WITHOUT ANY WARRANTY; without even the implied warranty of
24
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25
* GNU General Public License for more details.
26
*
27
* You should have received a copy of the GNU General Public License
28
* along with this program; if not, write to the Free Software
29
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
30
*/
31
32
#ifndef _RFCNB_STD_INCLUDES_H
33
#define _RFCNB_STD_INCLUDES_H
34
35
/* RFCNB Standard includes ... */
36
/* One day we will conditionalize these on OS types ... */
37
38
#define BOOL int
39
typedef
short
int16
;
40
41
#if HAVE_NETDB_H
42
#include <netdb.h>
43
#endif
44
#include <sys/types.h>
45
#if HAVE_NETINET_IN_H
46
#include <netinet/in.h>
47
#endif
48
#if HAVE_SYS_SOCKET_H
49
#include <sys/socket.h>
50
#endif
51
#include <signal.h>
52
#include <errno.h>
53
#include <unistd.h>
54
55
#define TRUE 1
56
#define FALSE 0
57
58
/* Pick up define for INADDR_NONE */
59
60
#ifndef INADDR_NONE
61
#define INADDR_NONE -1
62
#endif
63
64
#endif
/* _RFCNB_STD_INCLUDES_H */
65
int16
short int16
Definition:
std-includes.h:39
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
Quick Setup
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:
il
...
full list
FTP Package Archive