diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2015-02-15 15:17:05 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2015-02-15 15:17:05 +0000 |
commit | e8f11470ac52bc89e955630d69ed8229a06acc79 (patch) | |
tree | 1922fc5a543da79dc8db3ffab647bf885f01fa87 /protocols/Tox/src/common.h | |
parent | fd3c3c5c71590bb18372f84e18a51b07671dfa55 (diff) |
Tox:
- refactoring
- nodes settings in db are ansi now
- added work with tox network
git-svn-id: http://svn.miranda-ng.org/main/trunk@12124 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/common.h')
-rw-r--r-- | protocols/Tox/src/common.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/protocols/Tox/src/common.h b/protocols/Tox/src/common.h index 24ff0df963..878f9e4d09 100644 --- a/protocols/Tox/src/common.h +++ b/protocols/Tox/src/common.h @@ -48,11 +48,19 @@ extern HINSTANCE g_hInstance; #define TOX_ERROR -1
+#define TOX_MAX_DISCONNECT_RETRIES 100
+
#define TOX_SETTINGS_ID "ToxID"
#define TOX_SETTINGS_DNS "DnsID"
#define TOX_SETTINGS_GROUP "DefaultGroup"
#define TOX_SETTINGS_AVATAR_HASH "AvatarHash"
+#define TOX_SETTINGS_NODE_IPV4 "Node_%d_IPv4"
+#define TOX_SETTINGS_NODE_IPV6 "Node_%d_IPv6"
+#define TOX_SETTINGS_NODE_PORT "Node_%d_Port"
+#define TOX_SETTINGS_NODE_PKEY "Node_%d_PubKey"
+#define TOX_SETTINGS_NODE_COUNT "NodeCount"
+
#define TOX_DB_EVENT_TYPE_ACTION 10001
#define TOX_FILE_BLOCK_SIZE 1024 * 1024
|