1 /* 2 * Copyright (C) 1996-2021 The Squid Software Foundation and contributors 3 * 4 * Squid software is distributed under GPLv2+ license and includes 5 * contributions from numerous individuals and organizations. 6 * Please see the COPYING and CONTRIBUTORS files for details. 7 */ 8 9 /* 10 * DEBUG: section 76 Internal Squid Object handling 11 * AUTHOR: Duane, Alex, Henrik 12 */ 13 14 #ifndef SQUID_INTERNAL_H_ 15 #define SQUID_INTERNAL_H_ 16 17 #include "comm/forward.h" 18 #include "sbuf/forward.h" 19 20 class HttpRequest; 21 class StoreEntry; 22 23 void internalStart(const Comm::ConnectionPointer &clientConn, HttpRequest *, StoreEntry *); 24 bool internalCheck(const SBuf &urlPath); 25 bool internalStaticCheck(const SBuf &urlPath); 26 char *internalLocalUri(const char *dir, const SBuf &name); 27 char *internalRemoteUri(bool, const char *, unsigned short, const char *, const SBuf &); 28 const char *internalHostname(void); 29 int internalHostnameIs(const char *); 30 31 #endif /* SQUID_INTERNAL_H_ */ 32 33