~clint-fewbar/ubuntu/precise/squid3/ignore-sighup-early

« back to all changes in this revision

Viewing changes to helpers/basic_auth/MSNT/std-includes.h

  • Committer: Bazaar Package Importer
  • Author(s): Luigi Gangitano
  • Date: 2006-11-11 10:32:06 UTC
  • Revision ID: james.westby@ubuntu.com-20061111103206-f3p0r9g0vq44rp3r
Tags: upstream-3.0.PRE5
ImportĀ upstreamĀ versionĀ 3.0.PRE5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* RFCNB Standard includes ... */
 
2
/*
 
3
 * 
 
4
 * RFCNB Standard Includes
 
5
 * 
 
6
 * Copyright (C) 1996, Richard Sharpe
 
7
 */
 
8
/* One day we will conditionalize these on OS types ... */
 
9
 
 
10
/*
 
11
 * This program is free software; you can redistribute it and/or modify
 
12
 * it under the terms of the GNU General Public License as published by
 
13
 * the Free Software Foundation; either version 2 of the License, or
 
14
 * (at your option) any later version.
 
15
 * 
 
16
 * This program is distributed in the hope that it will be useful,
 
17
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
18
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
19
 * GNU General Public License for more details.
 
20
 * 
 
21
 * You should have received a copy of the GNU General Public License
 
22
 * along with this program; if not, write to the Free Software
 
23
 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
24
 */
 
25
 
 
26
/* the types are provided by squid's configure preocess */
 
27
#include "config.h"
 
28
#define BOOL int16_t
 
29
#define int16 int16_t
 
30
 
 
31
#include <netdb.h>
 
32
#include <sys/types.h>
 
33
#include <netinet/in.h>
 
34
#include <sys/socket.h>
 
35
#include <signal.h>
 
36
#include <errno.h>
 
37
#include <stdio.h>
 
38
#include <unistd.h>
 
39
 
 
40
#define TRUE 1
 
41
#define FALSE 0
 
42
 
 
43
/* Pick up define for INADDR_NONE */
 
44
 
 
45
#ifndef INADDR_NONE
 
46
#define INADDR_NONE -1
 
47
#endif