]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Maintenance: fix outdated stub_errorpage.cc contents (#1505)
authorAmos Jeffries <yadij@users.noreply.github.com>
Tue, 12 Dec 2023 10:06:59 +0000 (10:06 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Tue, 12 Dec 2023 14:52:20 +0000 (14:52 +0000)
src/tests/stub_errorpage.cc

index bb7a35fc36039185d4e1510fe033c65ae2a86248..16c86e38cf52fcefa5c3a0792f0f0be135703c58 100644 (file)
@@ -7,17 +7,31 @@
  */
 
 #include "squid.h"
+#include "AccessLogEntry.h"
 #include "errorpage.h"
+#include "HttpReply.h"
 
 #define STUB_API "errorpage.cc"
 #include "tests/STUB.h"
 
 err_type errorReservePageId(const char *, const SBuf &) STUB_RETVAL(err_type(0))
+CBDATA_CLASS_INIT(ErrorState);
+ErrorState::ErrorState(err_type, Http::StatusCode, HttpRequest *, const AccessLogEntryPointer &) STUB
+ErrorState::ErrorState(HttpRequest *, HttpReply *, const AccessLogEntryPointer &) STUB
+ErrorState::~ErrorState() STUB
+ErrorState *ErrorState::NewForwarding(err_type, HttpRequestPointer &, const AccessLogEntryPointer &) STUB_RETVAL(nullptr)
+HttpReply *ErrorState::BuildHttpReply(void) STUB_RETVAL(nullptr)
+void ErrorState::validate() STUB
+void errorInitialize(void) STUB
+void errorClean(void) STUB
+void errorSend(const Comm::ConnectionPointer &, ErrorState *) STUB
 void errorAppendEntry(StoreEntry *, ErrorState * ) STUB
 bool strHdrAcptLangGetItem(const String &, char *, int, size_t &) STUB_RETVAL(false)
 void TemplateFile::loadDefault() STUB
+const char *errorPageName(int) STUB_RETVAL(nullptr)
 TemplateFile::TemplateFile(char const*, err_type) STUB
 bool TemplateFile::loadFor(const HttpRequest *) STUB_RETVAL(false)
-
+bool TemplateFile::loadFromFile(const char *) STUB_RETVAL(false)
+bool TemplateFile::tryLoadTemplate(const char *) STUB_RETVAL(false)
 std::ostream &operator <<(std::ostream &os, const ErrorState *) STUB_RETVAL(os)