summaryrefslogtreecommitdiff
path: root/protocols/WhatsAppWeb/src/proto.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/WhatsAppWeb/src/proto.h')
-rw-r--r--protocols/WhatsAppWeb/src/proto.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/protocols/WhatsAppWeb/src/proto.h b/protocols/WhatsAppWeb/src/proto.h
index 7f8cff994a..493adec54e 100644
--- a/protocols/WhatsAppWeb/src/proto.h
+++ b/protocols/WhatsAppWeb/src/proto.h
@@ -41,6 +41,7 @@ class WhatsAppProto : public PROTO<WhatsAppProto>
CMStringW m_tszAvatarFolder;
MBinBuffer mac_key, enc_key;
+ bool getBlob(const char *pSetting, MBinBuffer &buf);
EVP_PKEY *m_pKeys; // private & public keys
@@ -64,7 +65,8 @@ class WhatsAppProto : public PROTO<WhatsAppProto>
void StartSession(void);
void ShutdownSession(void);
- void ProcessChallenge(const CMStringA &szChallenge);
+ bool ProcessChallenge(const CMStringA &szChallenge);
+ bool ProcessSecret(const CMStringA &szSecret);
/// Request handlers ///////////////////////////////////////////////////////////////////
@@ -132,6 +134,8 @@ public:
struct CMPlugin : public ACCPROTOPLUGIN<WhatsAppProto>
{
+ signal_context *pCtx;
+
CMPlugin();
int Load() override;