diff options
author | George Hazan <ghazan@miranda.im> | 2020-05-27 12:17:30 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-05-27 12:17:30 +0300 |
commit | 985d99a13b43a8420faadae25c4b3fe7f52305d6 (patch) | |
tree | f141eb9154bb2717c8fb757cda8f151877607bcc /protocols/JabberG/src/jabber_proto.h | |
parent | fd1139fc1959a9988143839d3224778d9ce0bbdd (diff) |
Jabber: code cleaning
Diffstat (limited to 'protocols/JabberG/src/jabber_proto.h')
-rwxr-xr-x | protocols/JabberG/src/jabber_proto.h | 29 |
1 files changed, 13 insertions, 16 deletions
diff --git a/protocols/JabberG/src/jabber_proto.h b/protocols/JabberG/src/jabber_proto.h index ed7ab8584a..110eb41083 100755 --- a/protocols/JabberG/src/jabber_proto.h +++ b/protocols/JabberG/src/jabber_proto.h @@ -647,6 +647,7 @@ struct CJabberProto : public PROTO<CJabberProto>, public IJabberInterface void OnIqResultServerDiscoInfo(const TiXmlElement *iqNode, CJabberIqInfo *pInfo);
void OnIqResultGetVcardPhoto(const TiXmlElement *n, MCONTACT hContact, bool &hasPhoto);
void SetBookmarkRequest(XmlNodeIq &iqId);
+ void UpdateItem(JABBER_LIST_ITEM *pItem, const char *name);
//---- jabber_menu.cpp ---------------------------------------------------------------
@@ -775,23 +776,19 @@ struct CJabberProto : public PROTO<CJabberProto>, public IJabberInterface bool SendHttpAuthReply(CJabberHttpAuthParams *pParams, bool bAuthorized);
//---- jabber_thread.c ----------------------------------------------
-
+ ptrA m_szGroupDelimiter;
ptrW m_savedPassword;
- typedef struct {
- bool isPlainAvailable;
- bool isPlainOldAvailable;
- bool isMd5Available;
- bool isScramAvailable;
- bool isNtlmAvailable;
- bool isSpnegoAvailable;
- bool isKerberosAvailable;
- bool isAuthAvailable;
- bool isSessionAvailable;
- char *m_gssapiHostName;
- } AUTHMECHS;
-
- AUTHMECHS m_AuthMechs;
+ bool m_isPlainAvailable;
+ bool m_isPlainOldAvailable;
+ bool m_isMd5Available;
+ bool m_isScramAvailable;
+ bool m_isNtlmAvailable;
+ bool m_isSpnegoAvailable;
+ bool m_isKerberosAvailable;
+ bool m_isAuthAvailable;
+ bool m_isSessionAvailable;
+ char* m_gssapiHostName;
void __cdecl ServerThread(JABBER_CONN_DATA *info);
@@ -843,7 +840,7 @@ struct CJabberProto : public PROTO<CJabberProto>, public IJabberInterface void RebuildInfoFrame(void);
void InitInfoFrame(void);
-
+
// returns buf or nullptr on error
char* GetClientJID(MCONTACT hContact, char *dest, size_t destLen);
char* GetClientJID(const char *jid, char *dest, size_t destLen);
|