]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/adaptation/ecap/Config.h
Source Format Enforcement (#763)
[thirdparty/squid.git] / src / adaptation / ecap / Config.h
index 79d65c7ee91093b0104138997e4d5afe71aaee8c..a56fda7a2d5ea391fe78c2258a2046fbead3ba9d 100644 (file)
@@ -1,8 +1,13 @@
 /*
- * $Id$
- * DEBUG: section 93    eCAP Interface
+ * Copyright (C) 1996-2021 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.
  */
 
+/* DEBUG: section 93    eCAP Interface */
+
 #ifndef SQUID_ECAP_CONFIG_H
 #define SQUID_ECAP_CONFIG_H
 
@@ -17,7 +22,8 @@ namespace Ecap
 {
 
 /// eCAP service configuration
-class ServiceConfig: public Adaptation::ServiceConfig {
+class ServiceConfig: public Adaptation::ServiceConfig
+{
 public:
     // Adaptation::ServiceConfig API
     virtual bool grokExtension(const char *name, const char *value);
@@ -28,7 +34,6 @@ public:
     Extensions extensions;
 };
 
-
 /// General eCAP configuration
 class Config: public Adaptation::Config
 {
@@ -37,7 +42,7 @@ public:
     Config();
     ~Config();
 
-    virtual void finalize();
+    virtual bool finalize();
 
 protected:
     virtual Adaptation::ServiceConfig *newServiceConfig() const;
@@ -55,3 +60,4 @@ extern Config TheConfig;
 } // namespace Adaptation
 
 #endif /* SQUID_ECAP_CONFIG_H */
+