diff options
author | stephanie sappho lenzo <sappho@sappho.io> | 2023-07-13 06:11:48 -0400 |
---|---|---|
committer | stephanie sappho lenzo <sappho@sappho.io> | 2023-07-13 06:11:48 -0400 |
commit | d643bdb4bd5cda1bed5c8de79de456782c785dff (patch) | |
tree | 014d40ad802c2495ee36212be40dab75c623d754 /opensslthread.h |
inital commit
Diffstat (limited to 'opensslthread.h')
-rw-r--r-- | opensslthread.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/opensslthread.h b/opensslthread.h new file mode 100644 index 0000000..202beeb --- /dev/null +++ b/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 + |