]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
rename SwapDir->obj.log to SwapDir->log.write
authorwessels <>
Wed, 26 May 1999 12:48:06 +0000 (12:48 +0000)
committerwessels <>
Wed, 26 May 1999 12:48:06 +0000 (12:48 +0000)
storeUfsFilenoBelongsHere() can be static

src/protos.h
src/store_dir.cc
src/structs.h
src/typedefs.h

index 9c4b56465485eb9c3c827de35aa25a9d797833d9..82bd69ba8d082d0dc91d28eaaf9d9b666f5de1e3 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $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/
@@ -938,7 +938,6 @@ extern void storeDirUpdateSwapSize(int fn, size_t size, int sign);
  * 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 *);
index 25ae38df3e07851161ed0bc3eeade676e0dbe33b..2f8bb057f5fbef4729c416c39cabaa19a2d34a81 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $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
@@ -263,7 +263,7 @@ storeDirSwapLog(const StoreEntry * e, int op)
        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
index 4a05111e036eeb75af30d62e31d7284cbf742e1f..1b70d1453f2b43afd84b66e4191ed5a9ffc3cb54 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $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/
@@ -1279,11 +1279,11 @@ struct _SwapDir {
        STOBJREAD *read;
        STOBJWRITE *write;
        STOBJUNLINK *unlink;
-       STOBJLOG *log;
     } obj;
     struct {
        STLOGOPEN *open;
        STLOGCLOSE *close;
+       STLOGWRITE *write;
        struct {
            STLOGCLEANOPEN *open;
            STLOGCLEANWRITE *write;
index f4369a1e67e75e58251fa187d77ae1a8404946af..8a97baf6412830f45744b34ced5e4125fbbf864a 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $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/
@@ -218,9 +218,9 @@ typedef void STOBJCLOSE(storeIOState *);
 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 *);