--------------------- PatchSet 1007 Date: 2000/12/30 09:35:21 Author: hno Branch: etc_hosts Tag: (none) Log: date: 2000/12/27 16:21:01; author: kinkie; state: Exp; lines: +2 -1 Added code to read and parse /etc/hosts upon start and reconfigure. This is especially useful when using the internal DNS code which blissfully ignores /etc/hosts. Members: src/protos.h:1.6->1.6.8.1 Index: squid/src/protos.h =================================================================== RCS file: /cvsroot/squid-sf//squid/src/protos.h,v retrieving revision 1.6 retrieving revision 1.6.8.1 diff -u -r1.6 -r1.6.8.1 --- squid/src/protos.h 12 Dec 2000 23:21:19 -0000 1.6 +++ squid/src/protos.h 30 Dec 2000 09:35:21 -0000 1.6.8.1 @@ -1,6 +1,6 @@ /* - * $Id: protos.h,v 1.6 2000/12/12 23:21:19 adri Exp $ + * $Id: protos.h,v 1.6.8.1 2000/12/30 09:35:21 hno Exp $ * * * SQUID Internet Object Cache http://squid.nlanr.net/Squid/ @@ -558,6 +558,7 @@ extern void ipcacheFreeMemory(void); extern ipcache_addrs *ipcacheCheckNumeric(const char *name); extern void ipcache_restart(void); +extern int ipcacheAddEntryFromHosts(char *name, char *ip_address); /* MemBuf */ /* init with specific sizes */