]> git.ipfire.org Git - thirdparty/squid.git/blob - src/DelayPool.h
Docs: Copyright updates for 2018 (#114)
[thirdparty/squid.git] / src / DelayPool.h
1 /*
2 * Copyright (C) 1996-2018 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 /* DEBUG: section 77 Delay Pools */
10
11 #ifndef DELAYPOOL_H
12 #define DELAYPOOL_H
13
14 #if USE_DELAY_POOLS
15 #include "acl/forward.h"
16 #include "CompositePoolNode.h"
17
18 class StoreEntry;
19
20 class CommonPool;
21
22 /// \ingroup DelayPoolsAPI
23 class DelayPool
24 {
25
26 public:
27 DelayPool();
28 ~DelayPool();
29 void freeData();
30 void createPool(u_char delay_class);
31 void parse();
32 void dump (StoreEntry *, unsigned int poolNumberMinusOne) const;
33 CommonPool *pool;
34 CompositePoolNode::Pointer theComposite() {return theComposite_;}
35
36 CompositePoolNode::Pointer const theComposite() const {return theComposite_;}
37
38 acl_access *access;
39
40 private:
41 CompositePoolNode::Pointer theComposite_;
42 };
43
44 #endif /* USE_DELAY_POOLS */
45 #endif /* DELAYPOOL_H */
46