--------------------- PatchSet 5895 Date: 2003/08/21 20:59:44 Author: dwsquid Branch: icap-2_5 Tag: (none) Log: rename scheduleReadReply -> icapScheduleReadReply and make it static Members: src/icap.c:1.1.16.10->1.1.16.11 Index: squid/src/icap.c =================================================================== RCS file: /cvsroot/squid-sf//squid/src/Attic/icap.c,v retrieving revision 1.1.16.10 retrieving revision 1.1.16.11 diff -u -r1.1.16.10 -r1.1.16.11 --- squid/src/icap.c 21 Aug 2003 20:52:39 -0000 1.1.16.10 +++ squid/src/icap.c 21 Aug 2003 20:59:44 -0000 1.1.16.11 @@ -1,5 +1,5 @@ /* - * $Id: icap.c,v 1.1.16.10 2003/08/21 20:52:39 dwsquid Exp $ + * $Id: icap.c,v 1.1.16.11 2003/08/21 20:59:44 dwsquid Exp $ * * DEBUG: section 81 Internet Content Adaptation Protocol (ICAP) Client * AUTHOR: Geetha Manjunath, Hewlett Packard Company @@ -43,7 +43,7 @@ static void getICAPReqModString(MemBuf * mb, int hdrLen, int bodyLen, char *service, char *client_addr); static void getICAPRespModString(MemBuf * mb, int o1, int o2, int o3, char *service, char *client_addr); static int buildRespModHeader(MemBuf * mb, HttpStateData * httpState, char *buf, ssize_t len, int theEnd); -static void scheduleReadReply(int fd, void *data); +static void icapScheduleReadReply(int fd, void *data); static IcapStateData *startICAP(const char *note); static REQHOOK icapReqModReadReplyDone; @@ -667,7 +667,7 @@ httpState->reply_hdr_size = 0; httpState->icap->chunk_size = 0; /* body comes in chunked encoding */ #endif - scheduleReadReply(fd, httpState); + icapScheduleReadReply(fd, httpState); cbdataUnlock(httpState); } @@ -942,14 +942,14 @@ /* Schedule read reply. */ -void -scheduleReadReply(int fd, void *data) +static void +icapScheduleReadReply(int fd, void *data) { HttpStateData *httpState = data; if (httpState->orig_request->flags.do_icap) if (startICAPrespmod(httpState) >= 0) return; - debug(81, 3) ("scheduleReadReply: FD %d, httpState %p: call httpReadReply directly.\n", fd, httpState); + debug(81, 3) ("icapScheduleReadReply: FD %d, httpState %p: call httpReadReply directly.\n", fd, httpState); httpReadReply(fd, httpState); }