1 #ifndef CRYPTOPP_TRDLOCAL_H 2 #define CRYPTOPP_TRDLOCAL_H 6 #if !defined(NO_OS_DEPENDENCE) && defined(THREADS_AVAILABLE) 11 typedef unsigned long ThreadLocalIndexType;
14 typedef pthread_key_t ThreadLocalIndexType;
27 Err(
const std::string& operation,
int error);
33 void SetValue(
void *value);
34 void *GetValue() const;
37 ThreadLocalIndexType m_index;
42 #endif // THREADS_AVAILABLE 44 #endif // CRYPTOPP_TRDLOCAL_H bool error(const char *fmt, const Args &...args)
Utility functions for the Crypto++ library.
The operating system reported an error.
#define NAMESPACE_BEGIN(x)
Library configuration file.
Ensures an object is not copyable.