summaryrefslogtreecommitdiff
path: root/include/delphi/m_crypto.inc
diff options
context:
space:
mode:
authorAlexey Kulakov <panda75@bk.ru>2014-12-31 17:08:47 +0000
committerAlexey Kulakov <panda75@bk.ru>2014-12-31 17:08:47 +0000
commitda87b3fa0479333cfe9505713f6ffaa54b9ba543 (patch)
treed4868e4947c3944bb3313a057ec3b189a876018f /include/delphi/m_crypto.inc
parentf33f9ebac9806cba6bfd89715566a65c29b5fee2 (diff)
pascal code: reformat, small fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@11700 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/delphi/m_crypto.inc')
-rw-r--r--include/delphi/m_crypto.inc12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/delphi/m_crypto.inc b/include/delphi/m_crypto.inc
index c949bda009..82e96b356a 100644
--- a/include/delphi/m_crypto.inc
+++ b/include/delphi/m_crypto.inc
@@ -33,8 +33,8 @@ type
// get/set the instance key
getKeyLength:function():size_t; stdcall;
- getKey :function(pKey:pByte; cbKeyLen:size_t):ByteBool; stdcall;
- setKey :function(const pKey:pByte; cbKeyLen:size_t):ByteBool; stdcall;
+ getKey :function(pKey:PByte; cbKeyLen:size_t):ByteBool; stdcall;
+ setKey :function(const pKey:PByte; cbKeyLen:size_t):ByteBool; stdcall;
generateKey:function():ByteBool; stdcall; // creates a new key inside
purgeKey :procedure(); stdcall; // purges a key from memory
@@ -44,12 +44,12 @@ type
setPassword :procedure(const pszPassword:PAnsiChar); stdcall;
// result must be freed using mir_free or assigned to mir_ptr<BYTE>
- encodeString:function(const src:PAnsiChar; var cbResultLen:size_t):pByte; stdcall;
- encodeBuffer:function(const src:pointer; cbLen:size_t; var cbResultLen:size_t):pByte; stdcall;
+ encodeString:function(const src:PAnsiChar; var cbResultLen:size_t):PByte; stdcall;
+ encodeBuffer:function(const src:pointer; cbLen:size_t; var cbResultLen:size_t):PByte; stdcall;
// result must be freed using mir_free or assigned to ptrA/ptrT
- decodeString:function(const pBuf:pByte; bufLen:size_t; var cbResultLen:size_t):PAnsiChar; stdcall;
- decodeBuffer:function(const pBuf:pByte; bufLen:size_t; var cbResultLen:size_t):pointer; stdcall;
+ decodeString:function(const pBuf:PByte; bufLen:size_t; var cbResultLen:size_t):PAnsiChar; stdcall;
+ decodeBuffer:function(const pBuf:PByte; bufLen:size_t; var cbResultLen:size_t):pointer; stdcall;
end;
/////////////////////////////////////////////////////////////////////////////////////////