diff options
Diffstat (limited to 'extension/opensslthread.h')
-rw-r--r-- | extension/opensslthread.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/extension/opensslthread.h b/extension/opensslthread.h new file mode 100644 index 0000000..202beeb --- /dev/null +++ b/extension/opensslthread.h @@ -0,0 +1,29 @@ +#ifndef _INCLUDE_SOURCEMOD_EXTENSION_OPENSSLTHREAD_H_ +#define _INCLUDE_SOURCEMOD_EXTENSION_OPENSSLTHREAD_H_ + +#include "extension.h" +#include "opensslmanager.h" + +class OpensslThread : public IThread +{ + friend class OpensslManager; + +public: + OpensslThread(void *_data, OpensslThread_Type type); + ~OpensslThread(); + +public: + void RunThread(IThreadHandle *pHandle); + void OnTerminate(IThreadHandle *pHandle, bool cancel); + +private: + void RunFileHash(); + +private: + OpensslThread_Type type; + void *data; +}; + + +#endif + |