summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_proto.h
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2018-03-25 21:11:42 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2018-03-26 06:41:10 +0300
commitb704521b152acf8f449182e28113394edca404fe (patch)
tree108eb0b3ef3c3a1a17c4c7b3c0dc3a74a53a9d79 /protocols/JabberG/src/jabber_proto.h
parentb2c47fe47b18d21b90d9c536e70bf45ef9d33e3c (diff)
protocols: jabber: work on xep-0198
Diffstat (limited to 'protocols/JabberG/src/jabber_proto.h')
-rwxr-xr-xprotocols/JabberG/src/jabber_proto.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/protocols/JabberG/src/jabber_proto.h b/protocols/JabberG/src/jabber_proto.h
index f11c41656e..b768f75df9 100755
--- a/protocols/JabberG/src/jabber_proto.h
+++ b/protocols/JabberG/src/jabber_proto.h
@@ -284,6 +284,10 @@ struct CJabberProto : public PROTO<CJabberProto>, public IJabberInterface
int m_nIqIdRegGetReg;
int m_nIqIdRegSetReg;
+ //xep-0198 handled nodes count
+ uint32_t m_nStrmMgmtSrvHCount, m_nStrmMgmtLocalHCount, m_nStrmMgmtLocalSCount;
+ bool m_bStrmMgmtPendingEnable, m_bStrmMgmtEnabled;
+
int m_nSDBrowseMode;
DWORD m_dwSDLastRefresh;
DWORD m_dwSDLastAutoDisco;
@@ -800,6 +804,7 @@ struct CJabberProto : public PROTO<CJabberProto>, public IJabberInterface
bool ProcessCaptcha(HXML node, HXML parentNode, ThreadData *info);
void EnableCarbons(bool bEnable);
+ void EnableStrmMgmt();
//---- jabber_util.c -----------------------------------------------------------------
pResourceStatus ResourceInfoFromJID(const wchar_t *jid);
@@ -925,6 +930,8 @@ public:
HNETLIBUSER STDMETHODCALLTYPE GetHandle(); // Returns connection handle
+ void m_nStrmMgmtLocalSCount_incr();
+
private:
JabberFeatCapPairDynamic *FindFeature(const wchar_t *szFeature);
};