summaryrefslogtreecommitdiff
path: root/plugins/Dbx_mmap_SA
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-01-06 16:27:44 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-01-06 16:27:44 +0000
commitf6d53c90114069402b549aa7c0bc79044aace51d (patch)
treee6cd03b492df84a43c231b76dec0771fc9eba60a /plugins/Dbx_mmap_SA
parent4f39e22aface0cb33d36532151b54a5e3950f629 (diff)
huh, finally: total database encryption, including histories
git-svn-id: http://svn.miranda-ng.org/main/trunk@7522 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dbx_mmap_SA')
-rw-r--r--plugins/Dbx_mmap_SA/src/dbintf_sa.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/plugins/Dbx_mmap_SA/src/dbintf_sa.cpp b/plugins/Dbx_mmap_SA/src/dbintf_sa.cpp
index a2e7a04270..28fd9b1b74 100644
--- a/plugins/Dbx_mmap_SA/src/dbintf_sa.cpp
+++ b/plugins/Dbx_mmap_SA/src/dbintf_sa.cpp
@@ -23,8 +23,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "commonheaders.h"
-#define NeedBytes(n) if(bytesRemaining<(n)) pBlob=(PBYTE)DBRead(ofsBlobPtr,(n),&bytesRemaining)
-#define MoveAlong(n) {int x=n; pBlob+=(x); ofsBlobPtr+=(x); bytesRemaining-=(x);}
#define VLT(n) ((n==DBVT_UTF8)?DBVT_ASCIIZ:n)
DBSignature dbSignatureSecured = { "Miranda ICQ SD", 0x1A };
@@ -86,12 +84,6 @@ int CDbxMmapSA::CheckDbHeaders()
///////////////////////////////////////////////////////////////////////////////
-static DWORD __inline GetSettingValueLength(PBYTE pSetting)
-{
- if (pSetting[0] & DBVTF_VARIABLELENGTH) return 2 + *(PWORD)(pSetting + 1);
- return pSetting[0];
-}
-
void CDbxMmapSA::EncodeContactSettings(HANDLE hContact)
{
if (!hContact)