/*
- * $Id: enums.h,v 1.185 2001/02/09 19:35:11 hno Exp $
+ * $Id: enums.h,v 1.186 2001/02/17 07:28:50 hno Exp $
*
*
* SQUID Web Proxy Cache http://www.squid-cache.org/
ENTRY_NEGCACHED,
ENTRY_VALIDATED,
ENTRY_BAD_LENGTH,
- ENTRY_ABORTED,
- ENTRY_DONT_LOG /* hack for gross 'Pump' entries */
+ ENTRY_ABORTED
+#if UNUSED_CODE
+ ENTRY_DONT_LOG
+#endif
};
typedef enum {
MEM_TLV,
MEM_SWAP_LOG_DATA,
MEM_GEN_CBDATA,
- MEM_PUMP_STATE_DATA,
MEM_CLIENT_REQ_BUF,
MEM_MAX
#ifdef NTLM_CACHING
/*
- * $Id: mem.cc,v 1.54 2001/01/12 00:37:19 wessels Exp $
+ * $Id: mem.cc,v 1.55 2001/02/17 07:28:50 hno Exp $
*
* DEBUG: section 13 High Level Memory Pool Management
* AUTHOR: Harvest Derived
memDataInit(MEM_STORE_IO, "storeIOState", sizeof(storeIOState), 0);
memDataInit(MEM_TLV, "storeSwapTLV", sizeof(tlv), 0);
memDataInit(MEM_GEN_CBDATA, "generic_cbdata", sizeof(generic_cbdata), 0);
- memDataInit(MEM_PUMP_STATE_DATA, "PumpStateData", sizeof(PumpStateData), 0);
memDataInit(MEM_CLIENT_REQ_BUF, "clientRequestBuffer", CLIENT_REQ_BUF_SZ, 0);
memDataInit(MEM_SWAP_LOG_DATA, "storeSwapLogData", sizeof(storeSwapLogData), 0);
/*
- * $Id: store_log.cc,v 1.21 2001/01/12 00:37:22 wessels Exp $
+ * $Id: store_log.cc,v 1.22 2001/02/17 07:28:50 hno Exp $
*
* DEBUG: section 20 Storage Manager Logging Functions
* AUTHOR: Duane Wessels
HttpReply *reply;
if (NULL == storelog)
return;
+#if UNUSED_CODE
if (EBIT_TEST(e->flags, ENTRY_DONT_LOG))
return;
+#endif
if (mem != NULL) {
if (mem->log_url == NULL) {
debug(20, 1) ("storeLog: NULL log_url for %s\n", mem->url);
/*
- * $Id: structs.h,v 1.382 2001/02/10 16:40:41 hno Exp $
+ * $Id: structs.h,v 1.383 2001/02/17 07:28:50 hno Exp $
*
*
* SQUID Web Proxy Cache http://www.squid-cache.org/
int zero_object_sz;
};
-struct _PumpStateData {
- FwdState *fwd;
- request_t *req;
- store_client *sc; /* The store client we're using */
- int c_fd; /* client fd */
- int s_fd; /* server end */
- int rcvd; /* bytes received from client */
- int sent; /* bytes sent to server */
- StoreEntry *request_entry; /* the request entry */
- StoreEntry *reply_entry; /* the reply entry */
- CWCB *callback; /* what to do when we finish sending */
- void *cbdata; /* callback data passed to callback func */
- struct {
- int closing:1;
- } flags;
- struct _PumpStateData *next;
-};
-
/*
* This defines an fs type
*/
/*
- * $Id: typedefs.h,v 1.122 2001/02/07 18:56:52 hno Exp $
+ * $Id: typedefs.h,v 1.123 2001/02/17 07:28:50 hno Exp $
*
*
* SQUID Web Proxy Cache http://www.squid-cache.org/
typedef struct _queued_read queued_read;
typedef struct _queued_write queued_write;
typedef struct _link_list link_list;
-typedef struct _PumpStateData PumpStateData;
typedef struct _storefs_entry storefs_entry_t;
typedef struct _storerepl_entry storerepl_entry_t;
typedef struct _diskd_queue diskd_queue;