summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_proto.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Tox/src/tox_proto.h')
-rw-r--r--protocols/Tox/src/tox_proto.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/Tox/src/tox_proto.h b/protocols/Tox/src/tox_proto.h
index 53c1c3bf7d..f8db0371db 100644
--- a/protocols/Tox/src/tox_proto.h
+++ b/protocols/Tox/src/tox_proto.h
@@ -113,6 +113,8 @@ private:
MCONTACT FindContact(const char *clientId);
MCONTACT AddContact(const char *clientId, bool isHidden = false);
+ MCONTACT GetContactFromAuthEvent(HANDLE hEvent);
+
void LoadContactList();
void __cdecl SearchByUidAsync(void* arg);
@@ -126,6 +128,7 @@ private:
int ToxToMirandaStatus(TOX_USERSTATUS userstatus);
HANDLE AddDbEvent(MCONTACT hContact, WORD type, DWORD timestamp, DWORD flags, DWORD cbBlob, PBYTE pBlob);
+ void RaiseAuthRequestEvent(DWORD timestamp, const char* toxId, const char* reason);
std::vector<uint8_t> HexStringToData(std::string hex);
std::string DataToHexString(std::vector<uint8_t>);