diff options
author | George Hazan <ghazan@miranda.im> | 2018-07-23 15:19:44 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-07-23 15:19:52 +0300 |
commit | 3562b7632f2f567d5da082438460b953a36ec46b (patch) | |
tree | 2ee7c4167f6f8d59338f144546a0db115112a9d3 /protocols/JabberG/src/stdafx.h | |
parent | 69dc1ceb837afec8322da632b3a0184a84a3a8d4 (diff) |
Jabber:
- unused function JabberGetPictureType inlined;
- fixes #1509 (Miranda receive duplicate incoming messages if contact is not in roster Jabber);
- code cleaning;
Diffstat (limited to 'protocols/JabberG/src/stdafx.h')
-rwxr-xr-x | protocols/JabberG/src/stdafx.h | 32 |
1 files changed, 15 insertions, 17 deletions
diff --git a/protocols/JabberG/src/stdafx.h b/protocols/JabberG/src/stdafx.h index 614dd0dcb7..7120057218 100755 --- a/protocols/JabberG/src/stdafx.h +++ b/protocols/JabberG/src/stdafx.h @@ -716,26 +716,24 @@ struct TStringPairs typedef char JabberShaStrBuf[2*MIR_SHA1_HASH_SIZE + 1];
-wchar_t* __stdcall JabberNickFromJID(const wchar_t *jid);
-wchar_t* JabberPrepareJid(const wchar_t *jid);
-void __stdcall JabberUrlDecodeW(WCHAR *str);
-char* __stdcall JabberSha1(const char *str, JabberShaStrBuf buf);
-wchar_t* __stdcall JabberStrFixLines(const wchar_t *str);
-void __stdcall JabberHttpUrlDecode(wchar_t *str);
-int __stdcall JabberCombineStatus(int status1, int status2);
-wchar_t* __stdcall JabberErrorStr(int errorCode);
-wchar_t* __stdcall JabberErrorMsg(HXML errorNode, int *errorCode = nullptr);
-time_t __stdcall JabberIsoToUnixTime(const wchar_t *stamp);
-wchar_t* __stdcall JabberStripJid(const wchar_t *jid, wchar_t *dest, size_t destLen);
-int __stdcall JabberGetPacketID(HXML n);
-wchar_t* __stdcall JabberId2string(int id);
-
-const wchar_t * __stdcall JabberGetPictureType(HXML node, const char *picBuf);
+wchar_t* __stdcall JabberNickFromJID(const wchar_t *jid);
+wchar_t* JabberPrepareJid(const wchar_t *jid);
+void __stdcall JabberUrlDecodeW(WCHAR *str);
+char* __stdcall JabberSha1(const char *str, JabberShaStrBuf buf);
+wchar_t* __stdcall JabberStrFixLines(const wchar_t *str);
+void __stdcall JabberHttpUrlDecode(wchar_t *str);
+int __stdcall JabberCombineStatus(int status1, int status2);
+wchar_t* __stdcall JabberErrorStr(int errorCode);
+wchar_t* __stdcall JabberErrorMsg(HXML errorNode, int *errorCode = nullptr);
+time_t __stdcall JabberIsoToUnixTime(const wchar_t *stamp);
+wchar_t* __stdcall JabberStripJid(const wchar_t *jid, wchar_t *dest, size_t destLen);
+int __stdcall JabberGetPacketID(HXML n);
+wchar_t* __stdcall JabberId2string(int id);
wchar_t* time2str(time_t _time, wchar_t *buf, size_t bufLen);
-time_t str2time(const wchar_t*);
+time_t str2time(const wchar_t*);
-const wchar_t* JabberStrIStr(const wchar_t *str, const wchar_t *substr);
+const wchar_t* JabberStrIStr(const wchar_t *str, const wchar_t *substr);
void JabberCopyText(HWND hwnd, const wchar_t *text);
CJabberProto* JabberChooseInstance(bool bIsLink=false);
|