/*
- * $Id: protos.h,v 1.333 1999/05/26 04:36:56 wessels Exp $
+ * $Id: protos.h,v 1.334 1999/05/26 06:48:06 wessels Exp $
*
*
* SQUID Internet Object Cache http://squid.nlanr.net/Squid/
* store_dir_ufs.c
*/
extern OBJH storeUfsDirStats;
-extern int storeUfsFilenoBelongsHere(int, int, int, int);
extern void storeUfsDirParse(cacheSwap * swap);
extern void storeUfsDirDump(StoreEntry * entry, const char *name, SwapDir * s);
extern void storeUfsDirFree(SwapDir *);
/*
- * $Id: store_dir.cc,v 1.96 1999/05/25 22:10:13 wessels Exp $
+ * $Id: store_dir.cc,v 1.97 1999/05/26 06:48:08 wessels Exp $
*
* DEBUG: section 47 Store Directory Routines
* AUTHOR: Duane Wessels
storeKeyText(e->key),
e->swap_file_number);
sd = &Config.cacheSwap.swapDirs[dirn];
- sd->obj.log(sd, e, op);
+ sd->log.write(sd, e, op);
}
void
/*
- * $Id: structs.h,v 1.293 1999/05/25 22:18:20 wessels Exp $
+ * $Id: structs.h,v 1.294 1999/05/26 06:48:10 wessels Exp $
*
*
* SQUID Internet Object Cache http://squid.nlanr.net/Squid/
STOBJREAD *read;
STOBJWRITE *write;
STOBJUNLINK *unlink;
- STOBJLOG *log;
} obj;
struct {
STLOGOPEN *open;
STLOGCLOSE *close;
+ STLOGWRITE *write;
struct {
STLOGCLEANOPEN *open;
STLOGCLEANWRITE *write;
/*
- * $Id: typedefs.h,v 1.93 1999/05/25 22:05:59 wessels Exp $
+ * $Id: typedefs.h,v 1.94 1999/05/26 06:48:11 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 SwapDir *, const StoreEntry *, int);
typedef void STLOGOPEN(SwapDir *);
typedef void STLOGCLOSE(SwapDir *);
+typedef void STLOGWRITE(const SwapDir *, const StoreEntry *, int);
typedef int STLOGCLEANOPEN(SwapDir *);
typedef void STLOGCLEANWRITE(const StoreEntry *, SwapDir *);