]> git.ipfire.org Git - thirdparty/squid.git/blob - src/internal.h
Source Format Enforcement (#763)
[thirdparty/squid.git] / src / internal.h
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 "log/forward.h"
19 #include "sbuf/forward.h"
20
21 class HttpRequest;
22 class StoreEntry;
23
24 void internalStart(const Comm::ConnectionPointer &clientConn, HttpRequest *, StoreEntry *, const AccessLogEntryPointer &);
25 bool internalCheck(const SBuf &urlPath);
26 bool internalStaticCheck(const SBuf &urlPath);
27 char *internalLocalUri(const char *dir, const SBuf &name);
28 char *internalRemoteUri(bool, const char *, unsigned short, const char *, const SBuf &);
29 const char *internalHostname(void);
30 int internalHostnameIs(const char *);
31
32 #endif /* SQUID_INTERNAL_H_ */
33