]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/adaptation/ecap/ServiceRep.h
Source Format Enforcement (#532)
[thirdparty/squid.git] / src / adaptation / ecap / ServiceRep.h
index 1bcc2495dd1b36c16cf86b3467be30c3b209c69d..a2ff8f944efb23839cc20ec2d3f3a896d0671ab4 100644 (file)
@@ -1,12 +1,18 @@
 /*
- * DEBUG: section 93    eCAP Interface
+ * Copyright (C) 1996-2020 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_SERVICE_REP_H
 #define SQUID_ECAP_SERVICE_REP_H
 
-#include "adaptation/Service.h"
 #include "adaptation/forward.h"
+#include "adaptation/Service.h"
 #include <libecap/common/forward.h>
 #include <libecap/common/memory.h>
 
@@ -31,8 +37,8 @@ public:
     virtual void finalize();
     virtual bool probed() const;
     virtual bool up() const;
-    virtual Adaptation::Initiate *makeXactLauncher(HttpMsg *virginHeader, HttpRequest *virginCause);
-    virtual bool wantsUrl(const String &urlPath) const;
+    virtual Adaptation::Initiate *makeXactLauncher(Http::Message *virginHeader, HttpRequest *virginCause, AccessLogEntry::Pointer &alp);
+    virtual bool wantsUrl(const SBuf &urlPath) const;
     virtual void noteFailure();
     virtual const char *status() const;
     virtual void detach();
@@ -61,3 +67,4 @@ void CheckUnusedAdapterServices(const Services& services);
 } // namespace Adaptation
 
 #endif /* SQUID_ECAP_SERVICE_REP_H */
+