Go to the documentation of this file.
2 #ifndef ___CRYPTOSSL_TRACE_H___
3 #define ___CRYPTOSSL_TRACE_H___
21 #define QTRACE(act) (sslTrace && (sslTrace->What & cryptoTRACE_ ## act))
22 #define PRINT(y) {if (sslTrace) {sslTrace->Beg(epname); \
23 cerr <<y; sslTrace->End();}}
24 #define TRACE(act,x) if (QTRACE(act)) PRINT(x)
25 #define DEBUG(y) TRACE(Debug,y)
26 #define EPNAME(x) static const char *epname = x;