diff options
Diffstat (limited to 'lib/server/SSLLib.h')
-rwxr-xr-x | lib/server/SSLLib.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/lib/server/SSLLib.h b/lib/server/SSLLib.h new file mode 100755 index 00000000..cdff4f04 --- /dev/null +++ b/lib/server/SSLLib.h @@ -0,0 +1,36 @@ +// -------------------------------------------------------------------------- +// +// File +// Name: SSLLib.h +// Purpose: Utility functions for dealing with the OpenSSL library +// Created: 2003/08/06 +// +// -------------------------------------------------------------------------- + +#ifndef SSLLIB__H +#define SSLLIB__H + +#ifndef NDEBUG + extern bool SSLLib__TraceErrors; + #define SET_DEBUG_SSLLIB_TRACE_ERRORS {SSLLib__TraceErrors = true;} +#else + #define SET_DEBUG_SSLLIB_TRACE_ERRORS +#endif + + +// -------------------------------------------------------------------------- +// +// Namespace +// Name: SSLLib +// Purpose: Utility functions for dealing with the OpenSSL library +// Created: 2003/08/06 +// +// -------------------------------------------------------------------------- +namespace SSLLib +{ + void Initialise(); + void LogError(const char *ErrorDuringAction); +}; + +#endif // SSLLIB__H + |