/*
- * Copyright (C) 1996-2014 The Squid Software Foundation and contributors
+ * Copyright (C) 1996-2017 The Squid Software Foundation and contributors
*
* Squid software is distributed under GPLv2+ license and includes
* contributions from numerous individuals and organizations.
#include "ssl/ErrorDetail.h"
#endif
+/// error page callback
+typedef void ERCB(int fd, void *, size_t);
+
/**
\defgroup ErrorPageAPI Error Pages API
\ingroup Components
class HttpReply;
class HttpRequest;
class MemBuf;
+class StoreEntry;
+class wordlist;
/// \ingroup ErrorPageAPI
class ErrorState
{
+ CBDATA_CLASS(ErrorState);
+
public:
ErrorState(err_type type, Http::StatusCode, HttpRequest * request);
ErrorState(); // not implemented.
/// type-specific detail about the transaction error;
/// overwrites xerrno; overwritten by detail, if any.
int detailCode;
-private:
- CBDATA_CLASS2(ErrorState);
};
/**
bool strHdrAcptLangGetItem(const String &hdr, char *lang, int langLen, size_t &pos);
#endif /* SQUID_ERRORPAGE_H */
+