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