/*
- * $Id: protos.h,v 1.436 2002/04/21 21:23:15 hno Exp $
+ * $Id: protos.h,v 1.437 2002/04/21 21:52:47 hno Exp $
*
*
* SQUID Web Proxy Cache http://www.squid-cache.org/
extern void storeSetPublicKey(StoreEntry *);
extern void storeComplete(StoreEntry *);
extern void storeInit(void);
-extern int storeClientWaiting(const StoreEntry *);
extern void storeAbort(StoreEntry *);
extern void storeAppend(StoreEntry *, const char *, int);
extern void storeLockObject(StoreEntry *);
/*
- * $Id: store_client.cc,v 1.110 2002/04/16 22:45:25 wessels Exp $
+ * $Id: store_client.cc,v 1.111 2002/04/21 21:52:47 hno Exp $
*
* DEBUG: section 20 Storage Manager Client-Side Interface
* AUTHOR: Duane Wessels
static int CheckQuickAbort2(StoreEntry * entry);
static void CheckQuickAbort(StoreEntry * entry);
-/* check if there is any client waiting for this object at all */
-/* return 1 if there is at least one client */
-int
-storeClientWaiting(const StoreEntry * e)
-{
- MemObject *mem = e->mem_obj;
- dlink_node *node;
- store_client *sc;
- for (node = mem->clients.head; node; node = node->next) {
- sc = node->data;
- if (sc->callback_data != NULL)
- return 1;
- }
- return 0;
-}
-
#if STORE_CLIENT_LIST_DEBUG
static store_client *
storeClientListSearch(const MemObject * mem, void *data)