]>
Commit | Line | Data |
---|---|---|
bbc27441 | 1 | /* |
4ac4a490 | 2 | * Copyright (C) 1996-2017 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 | ||
5d65362c CT |
9 | #ifndef SQUID_ACLATSTEP_H |
10 | #define SQUID_ACLATSTEP_H | |
8693472e CT |
11 | |
12 | #if USE_OPENSSL | |
13 | ||
5d65362c CT |
14 | #include "acl/Strategised.h" |
15 | #include "acl/Strategy.h" | |
16 | #include "ssl/support.h" | |
17 | ||
1110989a | 18 | /// \ingroup ACLAPI |
5d65362c CT |
19 | class ACLAtStepStrategy : public ACLStrategy<Ssl::BumpStep> |
20 | { | |
21 | ||
22 | public: | |
23 | virtual int match (ACLData<MatchType> * &, ACLFilledChecklist *, ACLFlags &); | |
24 | static ACLAtStepStrategy *Instance(); | |
8693472e CT |
25 | |
26 | // Not implemented to prevent copies of the instance. | |
5d65362c CT |
27 | ACLAtStepStrategy(ACLAtStepStrategy const &); |
28 | ||
29 | private: | |
30 | static ACLAtStepStrategy Instance_; | |
31 | ACLAtStepStrategy() {} | |
32 | ||
33 | ACLAtStepStrategy&operator=(ACLAtStepStrategy const &); | |
34 | }; | |
35 | ||
36 | class ACLAtStep | |
37 | { | |
38 | ||
39 | private: | |
40 | static ACL::Prototype RegistryProtoype; | |
41 | static ACLStrategised<Ssl::BumpStep> RegistryEntry_; | |
42 | }; | |
43 | ||
8693472e CT |
44 | #endif /* USE_OPENSSL */ |
45 | ||
5d65362c | 46 | #endif /* SQUID_ACLATSTEP_H */ |
f53969cc | 47 |