]> git.ipfire.org Git - thirdparty/squid.git/blob - src/acl/AtStep.h
SSL Peek and Splice
[thirdparty/squid.git] / src / acl / AtStep.h
1 #ifndef SQUID_ACLATSTEP_H
2 #define SQUID_ACLATSTEP_H
3
4 #if USE_OPENSSL
5
6 #include "acl/Strategised.h"
7 #include "acl/Strategy.h"
8 #include "ssl/support.h"
9
10 /// \ingroup ACLAPI
11 class ACLAtStepStrategy : public ACLStrategy<Ssl::BumpStep>
12 {
13
14 public:
15 virtual int match (ACLData<MatchType> * &, ACLFilledChecklist *, ACLFlags &);
16 static ACLAtStepStrategy *Instance();
17
18 // Not implemented to prevent copies of the instance.
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
36 #endif /* USE_OPENSSL */
37
38 #endif /* SQUID_ACLATSTEP_H */