]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
isTcpHit needs to be global
authorwessels <>
Fri, 27 Mar 1998 11:41:32 +0000 (11:41 +0000)
committerwessels <>
Fri, 27 Mar 1998 11:41:32 +0000 (11:41 +0000)
src/client_side.cc
src/protos.h

index 90111a84736a45a6b98eb916e5a219427947e02a..5c9f47897daf38fb95f9a62787d333c328868c4f 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: client_side.cc,v 1.235 1998/03/25 09:23:19 kostas Exp $
+ * $Id: client_side.cc,v 1.236 1998/03/27 04:41:32 wessels Exp $
  *
  * DEBUG: section 33    Client-side Routines
  * AUTHOR: Duane Wessels
@@ -67,7 +67,6 @@ static void clientProcessOnlyIfCachedMiss(clientHttpRequest * http);
 static HttpReply *clientConstructProxyAuthReply(clientHttpRequest * http);
 static int clientCachable(clientHttpRequest * http);
 static int clientHierarchical(clientHttpRequest * http);
-static int isTcpHit(log_type code);
 static int clientCheckContentLength(request_t * r);
 
 static int
@@ -772,7 +771,7 @@ clientHierarchical(clientHttpRequest * http)
     return 1;
 }
 
-static int
+int
 isTcpHit(log_type code)
 {
     /* this should be a bitmap for better optimization */
index 749b8a970193a95580a9837c75d14179795c2281..9b4214366be4786298731d08629a2347fec732e6 100644 (file)
@@ -83,6 +83,7 @@ extern int checkNegativeHit(StoreEntry *);
 extern void clientHttpConnectionsOpen(void);
 extern void clientHttpConnectionsClose(void);
 extern StoreEntry *clientCreateStoreEntry(clientHttpRequest *, method_t, int);
+extern int isTcpHit(log_type);
 
 extern int commSetNonBlocking(int fd);
 extern void commSetCloseOnExec(int fd);