#
# Makefile for the Squid Object Cache server
#
-# $Id: Makefile.in,v 1.173 1999/05/04 21:06:21 wessels Exp $
+# $Id: Makefile.in,v 1.174 1999/05/25 22:05:47 wessels Exp $
#
# Uncomment and customize the following to suit your needs:
#
store.o \
store_io.o \
store_io_ufs.o \
- store_clean.o \
store_client.o \
store_digest.o \
store_dir.o \
/*
- * $Id: main.cc,v 1.299 1999/05/19 19:57:47 wessels Exp $
+ * $Id: main.cc,v 1.300 1999/05/25 22:05:50 wessels Exp $
*
* DEBUG: section 1 Startup and Main Loop
* AUTHOR: Harvest Derived
debug(1, 1) ("Ready to serve requests.\n");
if (!configured_once) {
eventAdd("storeMaintain", storeMaintainSwapSpace, NULL, 1.0, 1);
- eventAdd("storeDirClean", storeDirClean, NULL, 15.0, 1);
if (Config.onoff.announce)
eventAdd("start_announce", start_announce, NULL, 3600.0, 1);
eventAdd("ipcache_purgelru", ipcache_purgelru, NULL, 10.0, 1);
/*
- * $Id: protos.h,v 1.331 1999/05/25 06:53:44 wessels Exp $
+ * $Id: protos.h,v 1.332 1999/05/25 22:05:52 wessels Exp $
*
*
* SQUID Internet Object Cache http://squid.nlanr.net/Squid/
extern HASHCMP storeKeyHashCmp;
/*
- * store_clean.c
+ * store_digest.c
*/
-extern EVH storeDirClean;
-
-/* store_digest.c */
extern void storeDigestInit(void);
extern void storeDigestNoteStoreReady(void);
extern void storeDigestScheduleRebuild(void);
/*
- * $Id: store_dir.cc,v 1.94 1999/05/25 20:38:06 wessels Exp $
+ * $Id: store_dir.cc,v 1.95 1999/05/25 22:05:56 wessels Exp $
*
* DEBUG: section 47 Store Directory Routines
* AUTHOR: Duane Wessels
storeDirSwapLog(const StoreEntry * e, int op)
{
int dirn = e->swap_file_number >> SWAP_DIR_SHIFT;
+ SwapDir *sd;
assert(dirn < Config.cacheSwap.n_configured);
assert(!EBIT_TEST(e->flags, KEY_PRIVATE));
assert(e->swap_file_number >= 0);
swap_log_op_str[op],
storeKeyText(e->key),
e->swap_file_number);
- Config.cacheSwap.swapDirs[dirn].obj.log(e, op);
+ sd = &Config.cacheSwap.swapDirs[dirn];
+ sd->obj.log(sd, e, op);
}
void
/*
- * $Id: typedefs.h,v 1.92 1999/05/25 06:53:54 wessels Exp $
+ * $Id: typedefs.h,v 1.93 1999/05/25 22:05:59 wessels Exp $
*
*
* SQUID Internet Object Cache http://squid.nlanr.net/Squid/
typedef void STOBJREAD(storeIOState *, char *, size_t, off_t, STRCB *, void *);
typedef void STOBJWRITE(storeIOState *, char *, size_t, off_t, FREE *);
typedef void STOBJUNLINK(sfileno);
-typedef void STOBJLOG(const StoreEntry *, int);
+typedef void STOBJLOG(const SwapDir *, const StoreEntry *, int);
typedef void STLOGOPEN(SwapDir *);
typedef void STLOGCLOSE(SwapDir *);
typedef int STLOGCLEANOPEN(SwapDir *);