saves us 4 bytes per StoreEntry.
/*
- * $Id: structs.h,v 1.376 2001/01/09 01:13:36 wessels Exp $
+ * $Id: structs.h,v 1.377 2001/01/09 01:43:08 hno Exp $
*
*
* SQUID Internet Object Cache http://squid.nlanr.net/Squid/
struct _StoreEntry {
hash_link hash; /* must be first */
MemObject *mem_obj;
+ RemovalPolicyNode repl;
time_t timestamp;
time_t lastref;
time_t expires;
time_t lastmod;
size_t swap_file_sz;
+ sfileno swap_filen:24;
+ sdirno swap_dirn:8;
u_short refcount;
u_short flags;
- sdirno swap_dirn;
- sfileno swap_filen;
- RemovalPolicyNode repl;
u_short lock_count; /* Assume < 65536! */
mem_status_t mem_status:3;
ping_status_t ping_status:3;
/*
- * $Id: typedefs.h,v 1.117 2001/01/08 19:36:27 hno Exp $
+ * $Id: typedefs.h,v 1.118 2001/01/09 01:43:08 hno Exp $
*
*
* SQUID Internet Object Cache http://squid.nlanr.net/Squid/
typedef unsigned int ping_status_t;
typedef unsigned int swap_status_t;
typedef int sfileno;
-typedef int sdirno;
+typedef char sdirno;
typedef struct {
size_t bytes;