summaryrefslogtreecommitdiff
path: root/plugins/Db3x_mmap/src/dbintf.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-11-14 23:13:38 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-11-14 23:13:38 +0000
commitbd49c3201234f447a4fc951ea652532d973c07b1 (patch)
tree9ee40ab3181612ff138197c679090577a0c173e8 /plugins/Db3x_mmap/src/dbintf.h
parent5056234c898e593ba71a01659dbbcd70ca519d89 (diff)
Encryption: gathering all things together, part I
git-svn-id: http://svn.miranda-ng.org/main/trunk@6910 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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: