void storeClientCopy(store_client *, StoreEntry *, StoreIOBuffer, STCB *, void *);
store_client* storeClientListAdd(StoreEntry * e, void *data);
-int storeClientCopyPending(store_client *, StoreEntry * e, void *data);
int storeUnregister(store_client * sc, StoreEntry * e, void *data);
int storePendingNClients(const StoreEntry * e);
int storeClientIsThisAClient(store_client * sc, void *someClient);
fileRead();
}
-int
-storeClientCopyPending(store_client * sc, StoreEntry * e, void *data)
-{
-#if STORE_CLIENT_LIST_DEBUG
- assert(sc == storeClientListSearch(e->mem_obj, data));
-#else
- (void)data;
-#endif
-
- assert(sc);
- assert(sc->entry == e);
-
- if (!sc->_callback.pending())
- return 0;
-
- return 1;
-}
-
/*
* This routine hasn't been optimised to take advantage of the
* passed sc. Yet.