]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/acl/AtStep.h
Source Format Enforcement (#1234)
[thirdparty/squid.git] / src / acl / AtStep.h
index 739393eae2bafcc01aa74588b9fef122b6226d3a..e3d8018bd157a825d28f78447b8d108822e33682 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 1996-2014 The Squid Software Foundation and contributors
+ * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
  *
  * Squid software is distributed under GPLv2+ license and includes
  * contributions from numerous individuals and organizations.
@@ -9,39 +9,16 @@
 #ifndef SQUID_ACLATSTEP_H
 #define SQUID_ACLATSTEP_H
 
-#if USE_OPENSSL
-
-#include "acl/Strategised.h"
 #include "acl/Strategy.h"
-#include "ssl/support.h"
+#include "XactionStep.h"
 
 /// \ingroup ACLAPI
-class ACLAtStepStrategy : public ACLStrategy<Ssl::BumpStep>
+class ACLAtStepStrategy: public ACLStrategy<XactionStep>
 {
 
 public:
-    virtual int match (ACLData<MatchType> * &, ACLFilledChecklist *, ACLFlags &);
-    static ACLAtStepStrategy *Instance();
-
-    // Not implemented to prevent copies of the instance.
-    ACLAtStepStrategy(ACLAtStepStrategy const &);
-
-private:
-    static ACLAtStepStrategy Instance_;
-    ACLAtStepStrategy() {}
-
-    ACLAtStepStrategy&operator=(ACLAtStepStrategy const &);
+    int match (ACLData<MatchType> * &, ACLFilledChecklist *) override;
 };
 
-class ACLAtStep
-{
-
-private:
-    static ACL::Prototype RegistryProtoype;
-    static ACLStrategised<Ssl::BumpStep> RegistryEntry_;
-};
-
-#endif /* USE_OPENSSL */
-
 #endif /* SQUID_ACLATSTEP_H */