]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/acl/AtStep.h
Source Format Enforcement (#1234)
[thirdparty/squid.git] / src / acl / AtStep.h
index 23a33ab89a2f43a0adc7ac692d4521c650542e8b..e3d8018bd157a825d28f78447b8d108822e33682 100644 (file)
@@ -1,38 +1,24 @@
+/*
+ * 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.
+ * Please see the COPYING and CONTRIBUTORS files for details.
+ */
+
 #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 */
+