* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
- *
+ *
*/
#ifndef SQUID_CACHEDIGEST_H_
extern void cacheDigestGuessStatsReport(const CacheDigestGuessStats * stats, StoreEntry * sentry, const char *label);
extern void cacheDigestReport(CacheDigest * cd, const char *label, StoreEntry * e);
-
#endif /* SQUID_CACHEDIGEST_H_ */
extern void externalAclInit(void);
extern void externalAclShutdown(void);
-
#endif /* SQUID_EXTERNALACL_H */
extern int httpHeaderParseInt(const char *start, int *val);
extern void httpHeaderPutStrf(HttpHeader * hdr, http_hdr_type id, const char *fmt,...) PRINTF_FORMAT_ARG3;
-
#endif
extern void peerDigestNotePeerGone(PeerDigest * pd);
extern void peerDigestStatsReport(const PeerDigest * pd, StoreEntry * e);
-
#endif /* USE_CACHE_DIGESTS */
#endif /* SQUID_PEERDIGEST_H */
class HttpRequest;
class HttpRequestMethod;
-
extern AnyP::ProtocolType urlParseProtocol(const char *, const char *e = NULL);
extern void urlInitialize(void);
extern HttpRequest *urlParse(const HttpRequestMethod&, char *, HttpRequest *request = NULL);
*
*/
-
#ifndef SQUID_CACHE_CF_H_
#define SQUID_CACHE_CF_H_
*
*/
-
#ifndef SQUID_CARP_H_
#define SQUID_CARP_H_
*
*/
-
#ifndef SQUID_CLIENT_DB_H_
#define SQUID_CLIENT_DB_H_
extern ClientInfo * clientdbGetInfo(const Ip::Address &addr);
#endif
-
#endif /* SQUID_CLIENT_DB_H_ */
*
*/
-
#ifndef SQUID_DISK_H_
#define SQUID_DISK_H_
*
*/
-
#ifndef SQUID_FD_H_
#define SQUID_FD_H_
#endif
}
-
/**
\ingroup FQDNCacheAPI
*
*
*/
-
#ifndef SQUID_FQDNCACHE_H_
#define SQUID_FQDNCACHE_H_
//extern const char *fqdnFromAddr(const Ip::Address &);
extern void fqdncache_nbgethostbyaddr(const Ip::Address &, FQDNH *, void *);
-
-
-
#endif /* SQUID_FQDNCACHE_H_ */
/// \ingroup ServerProtocolFTPAPI
extern const char *ftpUrlWith2f(HttpRequest *);
-
#endif /* SQUID_FTP_H_ */
*
*/
-
#ifndef SQUID_GOPHER_H_
#define SQUID_GOPHER_H_
/// \ingroup ServerProtocolGopherAPI
extern int gopherCachable(const HttpRequest *);
-
#endif /* SQUID_GOPHER_H_ */
extern void httpStart(FwdState *);
extern const char *httpMakeVaryMark(HttpRequest * request, HttpReply const * reply);
-
#endif /* SQUID_HTTP_H */
#include "Mem.h"
#include "disk.h"
-
#if HAVE_SYS_STAT_H
#include <sys/stat.h>
#endif
*
*/
-
#ifndef SQUID_INTERNAL_H_
#define SQUID_INTERNAL_H_
extern const char *internalHostname(void);
extern int internalHostnameIs(const char *);
-
-
#endif /* SQUID_INTERNAL_H_ */
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
- *
+ *
*/
#ifndef SQUID_LOG_ACCESS_LOG_H_
#define SQUID_LOG_ACCESS_LOG_H_
-
extern int logTypeIsATcpHit(log_type);
extern void fvdbCountVia(const char *key);
extern void fvdbCountForw(const char *key);
extern void headersLog(int cs, int pq, const HttpRequestMethod& m, void *data);
#endif
-
#endif /* SQUID_LOG_ACCESS_LOG_H_ */
*
*/
-
#ifndef SQUID_NEIGHBORS_H_
#define SQUID_NEIGHBORS_H_
*
*/
-
#ifndef SQUID_PEER_SOURCEHASH_H_
#define SQUID_PEER_SOURCEHASH_H_
extern void peerSourceHashInit(void);
extern peer * peerSourceHashSelectParent(HttpRequest * request);
-
-
#endif /* SQUID_PEER_SOURCEHASH_H_ */
*
*/
-
#ifndef SQUID_PEER_USERHASH_H_
#define SQUID_PEER_USERHASH_H_
#include "HttpStatusCode.h"
#include "lookup_t.h"
-
class HttpRequestMethod;
#if USE_DELAY_POOLS
class ClientInfo;
#endif
-
class FwdState;
-
class HttpRequest;
class HttpReply;
extern const char *getStringPrefix(const char *str, const char *end);
-
-
/* store report about current header usage and other stats */
void httpHeaderStoreReport(StoreEntry * e);
SQUIDCEXTERN void httpHdrMangleList(HttpHeader *, HttpRequest *, int req_or_rep);
SQUIDCEXTERN void redirectInit(void);
SQUIDCEXTERN void redirectShutdown(void);
-
extern void shut_down(int);
extern void rotate_logs(int);
extern void reconfigure(int);
-
extern void start_announce(void *unused);
extern void waisStart(FwdState *);
extern void storeLogClose(void);
extern void storeLogOpen(void);
-
/*
* store_digest.c
*/
/// checks whether the loaded entry should be kept; updates counters
extern bool storeRebuildKeepEntry(const StoreEntry &e, const cache_key *key, struct _store_rebuild_data &counts);
-
/*
* store_swapin.c
*/
SQUIDCEXTERN int storePendingNClients(const StoreEntry * e);
SQUIDCEXTERN int storeClientIsThisAClient(store_client * sc, void *someClient);
-
SQUIDCEXTERN const char *getMyHostname(void);
SQUIDCEXTERN const char *uniqueHostname(void);
SQUIDCEXTERN void safeunlink(const char *path, int quiet);
SQUIDCEXTERN void unlinkdUnlink(const char *);
#endif
-
SQUIDCEXTERN peer_t parseNeighborType(const char *s);
SQUIDCEXTERN int stringHasWhitespace(const char *); //String.cc
SQUIDCEXTERN char *strwordtok(char *buf, char **t); //String.cc
-
/*
* ipc.c
*/
int *wfd,
void **hIpc);
-
/*
* prototypes for system functions missing from system includes
*/
class StatCounters;
SQUIDCEXTERN StatCounters *snmpStatGet(int);
-
/* CygWin & Windows NT Port */
/* win32.c */
#if _SQUID_WINDOWS_
#endif
-extern char *strtokFile(void);
+ extern char *strtokFile(void);
#if USE_AUTH
#if HAVE_AUTH_MODULE_NEGOTIATE && HAVE_KRB5 && HAVE_GSSAPI
- /* upstream proxy authentication */
- SQUIDCEXTERN char *peer_proxy_negotiate_auth(char *principal_name, char *proxy);
+ /* upstream proxy authentication */
+ SQUIDCEXTERN char *peer_proxy_negotiate_auth(char *principal_name, char *proxy);
#endif
- namespace Auth {
- /* call to ensure the auth component schemes exist. */
- extern void Init(void);
- } // namespace Auth
+ namespace Auth {
+ /* call to ensure the auth component schemes exist. */
+ extern void Init(void);
+ } // namespace Auth
#endif /* USE_AUTH */
*
*/
-
#ifndef SQUID_REFRESH_H_
#define SQUID_REFRESH_H_
extern void refreshInit(void);
extern const refresh_t *refreshLimits(const char *url);
-
-
#endif /* SQUID_REFRESH_H_ */
*
*/
-
#ifndef SQUID_TOOLS_H_
#define SQUID_TOOLS_H_
/* packs, then prints an object using debugs() */
extern void debugObj(int section, int level, const char *label, void *obj, ObjPackMethod pm);
-
#endif /* SQUID_TOOLS_H_ */
*
*/
-
#ifndef SQUID_WCCP_H_
#define SQUID_WCCP_H_
extern void wccpConnectionClose(void);
#endif /* USE_WCCP */
-
-
#endif /* SQUID_WCCP_H_ */
*
*/
-
#ifndef SQUID_WCCP2_H_
#define SQUID_WCCP2_H_
*
*/
-
#ifndef SQUID_WHOIS_H_
#define SQUID_WHOIS_H_
/// \ingroup ServerProtocolWhoisAPI
extern void whoisStart(FwdState *);
-
#endif /* SQUID_WHOIS_H_ */