blob: 03c6fc9801fb03b1eb42b63e38712b2ccd5e3cef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#ifndef _INCLUDE_SOURCEMOD_EXTENSION_OPENSSLMANAGER_H_
#define _INCLUDE_SOURCEMOD_EXTENSION_OPENSSLMANAGER_H_
#include "extension.h"
#include "opensslthread.h"
class OpensslManager
{
public:
void SDK_OnLoad();
void SDK_OnUnload();
public:
bool HashFile(Openssl_Hash algorithm, FILE *pFile, unsigned char **output, int *outlength);
bool HashString(Openssl_Hash algorithm, unsigned char *input, int size, unsigned char *output, int *outlength);
};
extern OpensslManager g_OpensslManager;
#endif
|