summaryrefslogtreecommitdiff
path: root/protocols/Facebook/src/proto.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-06-26 23:07:24 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-06-26 23:07:24 +0300
commit718e96a95c5596fa6c7e21984cf8bdfb6d528e60 (patch)
treee36882173cfed94a825ae1f97b9916022bd5b98e /protocols/Facebook/src/proto.h
parent84b095e0faa33bd6af98f89dabf6b4e54312f113 (diff)
MQTT: proper MQTT payload preparation
Diffstat (limited to 'protocols/Facebook/src/proto.h')
-rw-r--r--protocols/Facebook/src/proto.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/protocols/Facebook/src/proto.h b/protocols/Facebook/src/proto.h
index aa8a9e60ab..153749776a 100644
--- a/protocols/Facebook/src/proto.h
+++ b/protocols/Facebook/src/proto.h
@@ -68,8 +68,12 @@ class FacebookProto : public PROTO<FacebookProto>
NETLIBHTTPREQUEST* ExecuteRequest(AsyncHttpRequest *pReq);
// MQTT functions
+ bool MqttConnect();
void MqttOpen();
+ HNETLIBCONN m_mqttConn;
+ z_stream zStreamIn, zStreamOut;
+
// internal data
CMStringA m_szDeviceID; // stored, GUID that identifies this miranda's account
CMStringA m_szClientID; // stored, random alphanumeric string of 20 chars
@@ -78,6 +82,7 @@ class FacebookProto : public PROTO<FacebookProto>
bool m_invisible;
bool m_bOnline;
+ bool m_zlibAvailable;
CMStringA m_szAuthToken; // calculated