#
# Makefile for the Squid Object Cache server
#
-# $Id: Makefile.in,v 1.81 1997/07/07 05:29:37 wessels Exp $
+# $Id: Makefile.in,v 1.82 1997/07/14 03:33:33 wessels Exp $
#
# Uncomment and customize the following to suit your needs:
#
$(CC) -o $@ $(LDFLAGS) cachemgr.o $(CLIENT_LIBS)
pinger: pinger.o
- $(CC) -o $@ $(LDFLAGS) pinger.o debug.o $(PINGER_LIBS)
+ $(CC) -o $@ $(LDFLAGS) pinger.o debug.o globals.o $(PINGER_LIBS)
unlinkd: unlinkd.c
$(CC) $(CFLAGS) -DUNLINK_DAEMON $(srcdir)/unlinkd.c -o $@ $(LDFLAGS)
/*
- * $Id: acl.cc,v 1.102 1997/07/07 05:29:38 wessels Exp $
+ * $Id: acl.cc,v 1.103 1997/07/14 03:33:34 wessels Exp $
*
* DEBUG: section 28 Access Control
* AUTHOR: Duane Wessels
#include "splay.h"
#endif
-/* Global */
-const char *AclMatchedName = NULL;
-
static int aclFromFile = 0;
static FILE *aclFile;
/*
- * $Id: comm.cc,v 1.172 1997/07/07 05:29:42 wessels Exp $
+ * $Id: comm.cc,v 1.173 1997/07/14 03:33:35 wessels Exp $
*
* DEBUG: section 5 Socket Functions
* AUTHOR: Harvest Derived
* running shy of free file descriptors. For example, under SunOS, we'll keep
* 64 file descriptors free for disk-i/o and connections to remote servers */
-int RESERVED_FD = 64;
-int polledinc = 0;
-
#define min(x,y) ((x)<(y)? (x) : (y))
#define max(a,b) ((a)>(b)? (a) : (b))
int fd;
} ConnectStateData;
-/* GLOBAL */
-fde *fd_table = NULL; /* also used in disk.c */
-
/* STATIC */
+static int polledinc = 0;
static int commBind _PARAMS((int s, struct in_addr, u_short port));
#if !HAVE_POLL
static int examine_select _PARAMS((fd_set *, fd_set *));
/*
- * $Id: debug.cc,v 1.45 1997/06/04 06:15:49 wessels Exp $
+ * $Id: debug.cc,v 1.46 1997/07/14 03:33:36 wessels Exp $
*
* DEBUG: section 0 Debug Routines
* AUTHOR: Harvest Derived
#include "squid.h"
-FILE *debug_log = NULL;
static char *debug_log_file = NULL;
-int debugLevels[MAX_DEBUG_SECTIONS];
static char *accessLogTime _PARAMS((time_t));
extern int opt_debug_stderr;
-#ifdef HAVE_SYSLOG
-int _db_level = 0;
-#endif
-
#ifdef __STDC__
void
_db_print(const char *format,...)
/*
- * $Id: errorpage.cc,v 1.57 1997/06/19 22:51:48 wessels Exp $
+ * $Id: errorpage.cc,v 1.58 1997/07/14 03:33:37 wessels Exp $
*
* DEBUG: section 4 Error Generation
* AUTHOR: Duane Wessels
"You must authenticate yourself before accessing this cache."}
};
-/* GLOBAL */
-char *tmp_error_buf;
-
/* LOCAL */
static char *tbuf = NULL;
static char *auth_msg = NULL;
/*
- * $Id: icmp.cc,v 1.38 1997/07/07 05:29:46 wessels Exp $
+ * $Id: icmp.cc,v 1.39 1997/07/14 03:33:38 wessels Exp $
*
* DEBUG: section 37 ICMP Routines
* AUTHOR: Duane Wessels
#include "squid.h"
-int icmp_sock = -1;
-
#if USE_ICMP
#define S_ICMP_ECHO 1
/*
- * $Id: stmem.cc,v 1.45 1997/07/07 05:29:55 wessels Exp $
+ * $Id: stmem.cc,v 1.46 1997/07/14 03:33:40 wessels Exp $
*
* DEBUG: section 19 Memory Primitives
* AUTHOR: Harvest Derived
#include "squid.h"
-stmem_stats sm_stats;
-stmem_stats disk_stats;
-stmem_stats request_pool;
-stmem_stats mem_obj_pool;
-
#define min(x,y) ((x)<(y)? (x) : (y))
#ifndef USE_MEMALIGN
/*
- * $Id: tools.cc,v 1.111 1997/07/07 05:29:57 wessels Exp $
+ * $Id: tools.cc,v 1.112 1997/07/14 03:33:41 wessels Exp $
*
* DEBUG: section 21 Misc Functions
* AUTHOR: Harvest Derived
#include "squid.h"
-int do_mallinfo = 0; /* don't do mallinfo() unless this gets set */
-time_t squid_curtime;
-struct timeval current_time;
-
#define DEAD_MSG "\
The Squid Cache (version %s) died.\n\
\n\