From d643bdb4bd5cda1bed5c8de79de456782c785dff Mon Sep 17 00:00:00 2001 From: stephanie sappho lenzo Date: Thu, 13 Jul 2023 06:11:48 -0400 Subject: inital commit --- opensslthread.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 opensslthread.h (limited to 'opensslthread.h') 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 + -- cgit v1.2.3