9#ifndef SQUID_SRC_SECURITY_IO_H
10#define SQUID_SRC_SECURITY_IO_H
#define RefCountable
The locking interface for use on Reference-Counted classes.
a summary a TLS I/O operation outcome
IoResult(const IoResult &aRes)=default
void printDescription(std::ostream &) const
common part of printGist() and printWithExtras()
ErrorDetailPointer errorDetail
ioError case details (or nil)
bool successful() const
convenience wrapper to detect successful I/O outcome; implies !wantsIo()
Category category
primary outcome classification
IoResult(const Category aCategory)
Category
all possible outcome cases
bool important
whether the error was serious/unusual
IoResult(const ErrorDetailPointer &anErrorDetail)
void printWithExtras(std::ostream &) const
bool wantsIo() const
convenience wrapper to detect whether more I/O is needed
const char * errorDescription
a brief description of an error
void printGist(std::ostream &) const
reports brief summary (on one line) suitable for low-level debugging
RefCount< IoResult > Pointer
Network/connection security abstraction layer.
IoResult Accept(Comm::Connection &transport)
accept a TLS connection over the specified to-Squid transport connection
IoResult Connect(Comm::Connection &transport)
establish a TLS connection over the specified from-Squid transport connection
std::ostream & operator<<(std::ostream &, const EncryptorAnswer &)
void ForgetErrors()
clear any errors that a TLS library has accumulated in its global storage