diff options
author | George Hazan <george.hazan@gmail.com> | 2013-04-01 19:37:35 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-04-01 19:37:35 +0000 |
commit | 754c5e27f878dc4a46131593e00e78e054faa995 (patch) | |
tree | e49b137bf04d56c58c50f5fb1760a6cf84bca658 /plugins/SecureIM/src/crypt.h | |
parent | 14ad5bd238bb3fb2edf8284a1c35f175e2f31d5f (diff) |
SecureIM:
- thread cleaning;
- fix SRMM status icon;
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@4278 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SecureIM/src/crypt.h')
-rw-r--r-- | plugins/SecureIM/src/crypt.h | 31 |
1 files changed, 9 insertions, 22 deletions
diff --git a/plugins/SecureIM/src/crypt.h b/plugins/SecureIM/src/crypt.h index 1b6680584c..c3f79bcd6b 100644 --- a/plugins/SecureIM/src/crypt.h +++ b/plugins/SecureIM/src/crypt.h @@ -68,28 +68,17 @@ struct UinKey };
typedef UinKey* pUinKey;
-struct TFakeAckParams {
- inline TFakeAckParams( HANDLE p1, HANDLE p2, LONG p3, LPCSTR p4 ) :
- hEvent( p1 ),
- hContact( p2 ),
- id( p3 ),
- msg( p4 )
- {}
-
- HANDLE hEvent;
- HANDLE hContact;
- LONG id;
- LPCSTR msg;
-};
-
-struct TWaitForExchange {
- inline TWaitForExchange( HANDLE p1, HANDLE p2 ) :
- hEvent( p1 ),
- hContact( p2 )
+struct TFakeAckParams
+{
+ __forceinline TFakeAckParams(HANDLE p1, LONG p2, LPCSTR p3) :
+ hContact(p1),
+ id(p2),
+ msg(p3)
{}
- HANDLE hEvent;
- HANDLE hContact;
+ HANDLE hContact;
+ LONG id;
+ LPCSTR msg;
};
extern char szUIN[NAMSIZE];
@@ -172,8 +161,6 @@ BOOL LoadKeyPGP(pUinKey); BOOL LoadKeyGPG(pUinKey);
// crypt_misc.cpp
-unsigned __stdcall sttFakeAck(LPVOID);
-unsigned __stdcall sttWaitForExchange(LPVOID);
void waitForExchange(pUinKey ptr, int flag = 1);
#endif
|