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