summaryrefslogtreecommitdiff
path: root/protocols/WhatsAppWeb/src/db.h
blob: adab0945e7f6432e8a29905976a2d3ae69ae9eb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*

WhatsAppWeb plugin for Miranda NG
Copyright © 2019-22 George Hazan

*/

#define MODULENAME  "WhatsApp"

// DB keys
#define DBKEY_JID                     "jid"
#define DBKEY_DEVICE_ID               "DeviceId"

#define DBKEY_NOISE_PUB               "NoisePublicKey"
#define DBKEY_NOISE_PRIV              "NoisePrivateKey"
#define DBKEY_SIGNED_IDENTITY_PUB     "SignedIdentityPublicKey"
#define DBKEY_SIGNED_IDENTITY_PRIV    "SignedIdentityPrivateKey"
#define DBKEY_PREKEY_PUB              "PrekeyPublicKey"
#define DBKEY_PREKEY_PRIV             "PrekeyPrivateKey"
#define DBKEY_PREKEY_SIGN             "PrekeySignature"
#define DBKEY_PREKEY_KEYID            "PrekeyKeyId"
#define DBKEY_PREKEY_NEXT_ID          "PrekeyNextId"
#define DBKEY_PREKEY_UPLOAD_ID        "PrekeyUploadId"

#define DBKEY_REG_ID                  "RegistrationId"
#define DBKEY_SECRET_KEY              "AdvSecretKey"

#define DBKEY_NICK                    "Nick"
#define DBKEY_DEF_GROUP               "DefaultGroup"
#define DBKEY_AUTORUNCHATS            "AutoRunChats"
#define DBKEY_AVATAR_TAG              "AvatarTag"

#define DBKEY_EVENT_CLIENT_COLBACK    "PopupClientColorBack"
#define DBKEY_EVENT_CLIENT_COLTEXT    "PopupClientColorText"
#define DBKEY_EVENT_CLIENT_TIMEOUT    "PopupClientTimeout"
#define DBKEY_EVENT_CLIENT_DEFAULT    "PopupClientColorDefault"

#define DBKEY_EVENT_OTHER_COLBACK     "PopupOtherColorBack"
#define DBKEY_EVENT_OTHER_COLTEXT     "PopupOtherColorText"
#define DBKEY_EVENT_OTHER_TIMEOUT     "PopupOtherTimeout"
#define DBKEY_EVENT_OTHER_DEFAULT     "PopupOtherColorDefault"