Mixe for Privacy and Anonymity in the Internet
CALibProxytest.hpp
Go to the documentation of this file.
00001 #include "CACmdLnOptions.hpp"
00002 #include "CAMutex.hpp"
00003 #if defined _DEBUG && ! defined (ONLY_LOCAL_PROXY)
00004   #include "CAThreadList.hpp"
00005 #endif
00006 class CALibProxytest
00007   {
00008     public:
00009       static SINT32 init();
00010       static SINT32 cleanup();
00011       static CACmdLnOptions* getOptions()
00012         {
00013           return m_pglobalOptions;
00014         }
00015     private:
00016       static void openssl_locking_callback(int mode, int type, char * /*file*/, int /*line*/);
00017       static CACmdLnOptions* m_pglobalOptions;
00018       static CAMutex* m_pOpenSSLMutexes;
00019 #if defined _DEBUG && ! defined (ONLY_LOCAL_PROXY)
00020       static CAThreadList* m_pThreadList;
00021     public:
00022       static CAThreadList* getThreadList()
00023         {
00024           return m_pThreadList;
00025         }
00026 #endif
00027   };