#
# Makefile for the Squid Object Cache server
#
-# $Id: Makefile.in,v 1.73 1997/06/01 04:23:08 wessels Exp $
+# $Id: Makefile.in,v 1.74 1997/06/04 05:50:26 wessels Exp $
#
# Uncomment and customize the following to suit your needs:
#
CGIPROGS = cachemgr.cgi
OBJS = \
acl.o \
+ aiops.o \
+ async_io.o \
cache_cf.o \
client_db.o \
client_side.o \
/*
- * $Id: disk.cc,v 1.71 1997/06/02 19:56:01 wessels Exp $
+ * $Id: disk.cc,v 1.72 1997/06/04 05:50:27 wessels Exp $
*
* DEBUG: section 6 Disk I/O Routines
* AUTHOR: Harvest Derived
diskHandleRead(int fd, void *data)
{
dread_ctrl *ctrl_dat = data;
+#if !USE_ASYNC_IO
int len;
- disk_ctrl_t *ctrlp;
- ctrlp = xcalloc(1, sizeof(disk_ctrl_t));
+#endif
+ disk_ctrl_t *ctrlp = xcalloc(1, sizeof(disk_ctrl_t));
ctrlp->fd = fd;
ctrlp->data = ctrl_dat;
#if USE_ASYNC_IO
diskHandleWalk(int fd, void *data)
{
dwalk_ctrl *walk_dat = data;
+#if !USE_ASYNC_IO
int len;
- disk_ctrl_t *ctrlp;
- ctrlp = xcalloc(1, sizeof(disk_ctrl_t));
+#endif
+ disk_ctrl_t *ctrlp = xcalloc(1, sizeof(disk_ctrl_t));
ctrlp->fd = fd;
ctrlp->data = walk_dat;
#if USE_ASYNC_IO
- aioRead(fd, walk_dat->buf,
+ aioRead(fd,
+ walk_dat->buf,
DISK_LINE_LEN - 1,
diskHandleWalkComplete,
ctrlp);
/*
- * $Id: store.cc,v 1.250 1997/06/03 20:09:45 wessels Exp $
+ * $Id: store.cc,v 1.251 1997/06/04 05:50:29 wessels Exp $
*
* DEBUG: section 20 Storeage Manager
* AUTHOR: Harvest Derived
valid_ctrl_t *ctrlp;
char *path;
struct stat *sb;
+#if !USE_ASYNC_IO
int x;
+#endif
assert(!BIT_TEST(e->flag, ENTRY_VALIDATED));
if (e->swap_file_number < 0) {
BIT_RESET(e->flag, ENTRY_VALIDATED);