]> git.ipfire.org Git - thirdparty/squid.git/blame - src/acl/AtStep.h
Boilerplate: update copyright blurbs on src/
[thirdparty/squid.git] / src / acl / AtStep.h
CommitLineData
bbc27441
AJ
1/*
2 * Copyright (C) 1996-2014 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
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
19class ACLAtStepStrategy : public ACLStrategy<Ssl::BumpStep>
20{
21
22public:
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
29private:
30 static ACLAtStepStrategy Instance_;
31 ACLAtStepStrategy() {}
32
33 ACLAtStepStrategy&operator=(ACLAtStepStrategy const &);
34};
35
36class ACLAtStep
37{
38
39private:
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 */