mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-16 00:36:07 +00:00
23 lines
580 B
C++
23 lines
580 B
C++
/*
|
|
* Copyright (C)
|
|
*
|
|
* Copyright (C) 2008-2016 TrinityCore <http://www.trinitycore.org/>
|
|
* Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
|
|
*/
|
|
|
|
#ifndef OPENSSL_CRYPTO_H
|
|
#define OPENSSL_CRYPTO_H
|
|
|
|
/**
|
|
* A group of functions which setup openssl crypto module to work properly in multithreaded enviroment
|
|
* If not setup properly - it will crash
|
|
*/
|
|
namespace OpenSSLCrypto
|
|
{
|
|
/// Needs to be called before threads using openssl are spawned
|
|
void threadsSetup();
|
|
/// Needs to be called after threads using openssl are despawned
|
|
void threadsCleanup();
|
|
}
|
|
|
|
#endif |