diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2016-05-04 16:22:54 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2016-05-04 16:22:54 +0000 |
commit | 8e09c4d75e26ed3fc165cd35fd1fc79614b1420e (patch) | |
tree | 5991c15526aa4fbe13d12d956cc039e8e3edaf9a /protocols/Tox/src/tox_proto.h | |
parent | 0a43d6b600e48abd24097a4dc8d82f4dc7f0a188 (diff) |
Tox:
- removed own logger
- bootstrap splitted into two functions: udp and tcp
git-svn-id: http://svn.miranda-ng.org/main/trunk@16801 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_proto.h')
-rw-r--r-- | protocols/Tox/src/tox_proto.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/protocols/Tox/src/tox_proto.h b/protocols/Tox/src/tox_proto.h index 996c34a681..e0a2189675 100644 --- a/protocols/Tox/src/tox_proto.h +++ b/protocols/Tox/src/tox_proto.h @@ -69,9 +69,8 @@ private: CToxThread *toxThread;
mir_cs profileLock;
TCHAR *accountName;
- HANDLE hNetlib, hPollingThread;
+ HANDLE hPollingThread;
CTransferList transfers;
- CLogger *logger;
ULONG hMessageProcess;
static HANDLE hProfileFolderPath;
@@ -93,7 +92,9 @@ private: // tox network
bool IsOnline();
- void BootstrapNode(const char *address, int port, const char *pubKey);
+ void BootstrapUdpNode(const char *address, int port, const char *pubKey);
+ void BootstrapTcpRelay(const char *address, int port, const char *pubKey);
+
void BootstrapNodesFromDb(bool isIPv6);
void BootstrapNodesFromJson(bool isIPv6);
void BootstrapNodes();
|