]> git.ipfire.org Git - thirdparty/squid.git/blame - src/internal.h
NoNewGlobals for MapLabel (#1746)
[thirdparty/squid.git] / src / internal.h
CommitLineData
bbc27441 1/*
b8ae064d 2 * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
bbc27441
AJ
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
fc54b8d2
FC
9/*
10 * DEBUG: section 76 Internal Squid Object handling
11 * AUTHOR: Duane, Alex, Henrik
fc54b8d2
FC
12 */
13
ff9d9458
FC
14#ifndef SQUID_SRC_INTERNAL_H
15#define SQUID_SRC_INTERNAL_H
fc54b8d2
FC
16
17#include "comm/forward.h"
7e6eabbc 18#include "log/forward.h"
92e8f3ad 19#include "sbuf/forward.h"
51b5dcf5 20
fc54b8d2
FC
21class HttpRequest;
22class StoreEntry;
23
7e6eabbc 24void internalStart(const Comm::ConnectionPointer &clientConn, HttpRequest *, StoreEntry *, const AccessLogEntryPointer &);
51b5dcf5
AJ
25bool internalCheck(const SBuf &urlPath);
26bool internalStaticCheck(const SBuf &urlPath);
27char *internalLocalUri(const char *dir, const SBuf &name);
c002f0e7 28char *internalRemoteUri(bool, const char *, unsigned short, const char *, const SBuf &);
8a648e8d 29const char *internalHostname(void);
6793ad05 30bool internalHostnameIs(const SBuf &);
fc54b8d2 31
92a5adb7
AR
32/// whether the given request URL path points to a cache manager (not
33/// necessarily running on this Squid instance)
34bool ForSomeCacheManager(const SBuf &);
35
ff9d9458 36#endif /* SQUID_SRC_INTERNAL_H */
f53969cc 37