EncryptorAnswer.cc
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2017 The Squid Software Foundation and contributors
3  *
4  * Squid software is distributed under GPLv2+ license and includes
5  * contributions from numerous individuals and organizations.
6  * Please see the COPYING and CONTRIBUTORS files for details.
7  */
8 
9 #include "squid.h"
10 #include "comm/Connection.h"
11 #include "errorpage.h"
13 
15 {
16  delete error.get();
17 }
18 
19 std::ostream &
20 Security::operator <<(std::ostream &os, const Security::EncryptorAnswer &answer)
21 {
22  return os << answer.conn << ", " << answer.error;
23 }
24 
CbcPointer< ErrorState > error
problem details (nil on success)
~EncryptorAnswer()
deletes error if it is still set
Comm::ConnectionPointer conn
peer connection (secured on success)
std::ostream & operator<<(std::ostream &, const Security::EncryptorAnswer &)
Cbc * get() const
a temporary valid raw Cbc pointer or NULL
Definition: CbcPointer.h:162

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors