]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
- added storeEntryReply()
authorrousskov <>
Wed, 8 Apr 1998 05:59:26 +0000 (05:59 +0000)
committerrousskov <>
Wed, 8 Apr 1998 05:59:26 +0000 (05:59 +0000)
src/store.cc

index e4f8f484762515a4b86a424aa9173df6cae5a612..f5772d7dbc383231e1f5e87259467cc7ee1f7e4f 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: store.cc,v 1.400 1998/04/02 17:11:26 rousskov Exp $
+ * $Id: store.cc,v 1.401 1998/04/07 23:59:26 rousskov Exp $
  *
  * DEBUG: section 20    Storage Manager
  * AUTHOR: Harvest Derived
@@ -1122,3 +1122,13 @@ contentLen(const StoreEntry * e)
     assert(e->mem_obj->reply != NULL);
     return e->mem_obj->object_sz - e->mem_obj->reply->hdr_sz;
 }
+
+HttpReply *
+storeEntryReply(StoreEntry * e)
+{
+    if (NULL == e)
+       return NULL;
+    if (NULL == e->mem_obj)
+       return NULL;
+    return e->mem_obj->reply;
+}