From: wessels <> Date: Fri, 27 Mar 1998 11:41:32 +0000 (+0000) Subject: isTcpHit needs to be global X-Git-Tag: SQUID_3_0_PRE1~3741 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf50a0af1fa164598c52391e675beba96ac22e5e;p=thirdparty%2Fsquid.git isTcpHit needs to be global --- diff --git a/src/client_side.cc b/src/client_side.cc index 90111a8473..5c9f47897d 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -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 */ diff --git a/src/protos.h b/src/protos.h index 749b8a9701..9b4214366b 100644 --- a/src/protos.h +++ b/src/protos.h @@ -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);