64static void Emsg(
const char *tid,
const char *msg=0,
bool flush=
true);
87typedef void (*
msgCB_t)(
const char *tid,
const char *msg,
bool sslmsg);
132static const char *
ssl2Text(
int sslrc,
const char *dflt=
"unknown_error");
Definition XrdSysLogger.hh:53
static std::string RC2Text(XrdTls::RC rc, bool dbg=false)
void(* msgCB_t)(const char *tid, const char *msg, bool sslmsg)
Definition XrdTls.hh:87
static RC ssl2RC(int sslrc)
static void ClearErrorQueue()
Clear the SSL error queue for the calling thread.
static void SetDebug(int opts, XrdSysLogger *logP=0)
static void Emsg(const char *tid, const char *msg=0, bool flush=true)
static const int dbgSIO
Turn debugging in for socket I/O.
Definition XrdTls.hh:102
static void SetMsgCB(msgCB_t cbP)
static const int dbgSOK
Turn debugging in for socket operations.
Definition XrdTls.hh:101
static const int dbgOUT
Force msgs to stderr for easier client debug.
Definition XrdTls.hh:104
static void SetDebug(int opts, msgCB_t logP)
static const int dbgALL
Turn debugging for everything.
Definition XrdTls.hh:103
static const int dbgOFF
Turn debugging off (initial deault)
Definition XrdTls.hh:99
RC
Definition XrdTls.hh:40
@ TLS_AOK
All went well, will always be zero.
Definition XrdTls.hh:40
@ TLS_WantWrite
Reissue call when writes do not block.
Definition XrdTls.hh:52
@ TLS_HNV_Error
A hostname validation error occuured.
Definition XrdTls.hh:44
@ TLS_CON_Closed
TLS connection has been closed.
Definition XrdTls.hh:41
@ TLS_WantRead
Reissue call when reads do not block.
Definition XrdTls.hh:51
@ TLS_VER_Error
Certificate verification failed.
Definition XrdTls.hh:48
@ TLS_CRT_Missing
The x509 certificate missing.
Definition XrdTls.hh:42
@ TLS_WantAccept
Reissue call when Accept() completes.
Definition XrdTls.hh:49
@ TLS_UNK_Error
An unknown error occurred.
Definition XrdTls.hh:47
@ TLS_SYS_Error
A system call error occurred.
Definition XrdTls.hh:46
@ TLS_WantConnect
Reissue call when Connect() completes.
Definition XrdTls.hh:50
@ TLS_SSL_Error
An SSL error occurred.
Definition XrdTls.hh:45
@ TLS_CTX_Missing
The TLS context is missing.
Definition XrdTls.hh:43
static const int dbgCTX
Turn debugging in for context operations.
Definition XrdTls.hh:100
static const char * ssl2Text(int sslrc, const char *dflt="unknown_error")