summaryrefslogtreecommitdiff
path: root/plugins/Db3x_mmap/src/dbintf.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Db3x_mmap/src/dbintf.h')
-rw-r--r--plugins/Db3x_mmap/src/dbintf.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/Db3x_mmap/src/dbintf.h b/plugins/Db3x_mmap/src/dbintf.h
index 152e8613b2..80f1d32790 100644
--- a/plugins/Db3x_mmap/src/dbintf.h
+++ b/plugins/Db3x_mmap/src/dbintf.h
@@ -204,6 +204,7 @@ protected:
virtual int InitCache(void) = 0;
protected:
+ int InitCrypt(void);
virtual void EncodeCopyMemory(void *dst, void *src, size_t size);
virtual void DecodeCopyMemory(void *dst, void *src, size_t size);
virtual void EncodeDBWrite(DWORD ofs, void *src, int size);
@@ -223,7 +224,9 @@ protected:
DBHeader m_dbHeader;
DWORD m_ChunkSize;
bool m_safetyMode, m_bReadOnly;
-
+
+ MICryptoEngine *m_crypto;
+
////////////////////////////////////////////////////////////////////////////
// database stuff
public: