/* WhatsAppWeb plugin for Miranda NG Copyright © 2019-21 George Hazan */ #pragma once #pragma warning(disable:4996) #pragma warning(disable:4290) #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include "../../libs/libqrencode/src/qrencode.h" #include "../../libs/libsignal/src/curve.h" #include "../../libs/libsignal/src/hkdf.h" #include "../../libs/libsignal/src/signal_protocol.h" struct signal_buffer { size_t len; uint8_t data[]; }; struct signal_type_base { unsigned int ref_count = 0; void (*destroy)(signal_type_base *instance) = 0; }; struct ec_public_key : public signal_type_base { uint8_t data[32]; }; struct ec_private_key : public signal_type_base { uint8_t data[32]; }; #include "db.h" #include "proto.h" #include "resource.h" #pragma comment(lib, "libcrypto.lib")