summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
Diffstat (limited to 'protocols')
-rw-r--r--protocols/Tox/bin/x64/libtox.dllbin2045539 -> 2046077 bytes
-rw-r--r--protocols/Tox/bin/x64/libtox.pdbbin773120 -> 773120 bytes
-rw-r--r--protocols/Tox/bin/x86/libtox.dllbin1935459 -> 1935485 bytes
-rw-r--r--protocols/Tox/bin/x86/libtox.pdbbin879616 -> 879616 bytes
-rw-r--r--protocols/Tox/include/tox.h11
-rw-r--r--protocols/Tox/src/version.h2
6 files changed, 10 insertions, 3 deletions
diff --git a/protocols/Tox/bin/x64/libtox.dll b/protocols/Tox/bin/x64/libtox.dll
index c547f841d4..c23bf27b01 100644
--- a/protocols/Tox/bin/x64/libtox.dll
+++ b/protocols/Tox/bin/x64/libtox.dll
Binary files differ
diff --git a/protocols/Tox/bin/x64/libtox.pdb b/protocols/Tox/bin/x64/libtox.pdb
index e332c3e79c..1b535e350f 100644
--- a/protocols/Tox/bin/x64/libtox.pdb
+++ b/protocols/Tox/bin/x64/libtox.pdb
Binary files differ
diff --git a/protocols/Tox/bin/x86/libtox.dll b/protocols/Tox/bin/x86/libtox.dll
index 9ea81ec996..a37cb73f6b 100644
--- a/protocols/Tox/bin/x86/libtox.dll
+++ b/protocols/Tox/bin/x86/libtox.dll
Binary files differ
diff --git a/protocols/Tox/bin/x86/libtox.pdb b/protocols/Tox/bin/x86/libtox.pdb
index 8295a20589..881f3ee8b3 100644
--- a/protocols/Tox/bin/x86/libtox.pdb
+++ b/protocols/Tox/bin/x86/libtox.pdb
Binary files differ
diff --git a/protocols/Tox/include/tox.h b/protocols/Tox/include/tox.h
index 5b3725dca9..11633b7b87 100644
--- a/protocols/Tox/include/tox.h
+++ b/protocols/Tox/include/tox.h
@@ -180,7 +180,7 @@ uint32_t tox_version_minor(void);
* The patch or revision number. Incremented when bugfixes are applied without
* changing any functionality or API or ABI.
*/
-#define TOX_VERSION_PATCH 7
+#define TOX_VERSION_PATCH 8
uint32_t tox_version_patch(void);
@@ -246,6 +246,13 @@ uint32_t tox_public_key_size(void);
uint32_t tox_secret_key_size(void);
/**
+ * The size of the nospam in bytes when written in a Tox address.
+ */
+#define TOX_NOSPAM_SIZE (sizeof(uint32_t))
+
+uint32_t tox_nospam_size(void);
+
+/**
* The size of a Tox address in bytes. Tox addresses are in the format
* [Public Key (TOX_PUBLIC_KEY_SIZE bytes)][nospam (4 bytes)][checksum (2 bytes)].
*
@@ -253,7 +260,7 @@ uint32_t tox_secret_key_size(void);
* byte is an XOR of all the even bytes (0, 2, 4, ...), the second byte is an
* XOR of all the odd bytes (1, 3, 5, ...) of the Public Key and nospam.
*/
-#define TOX_ADDRESS_SIZE (TOX_PUBLIC_KEY_SIZE + sizeof(uint32_t) + sizeof(uint16_t))
+#define TOX_ADDRESS_SIZE (TOX_PUBLIC_KEY_SIZE + TOX_NOSPAM_SIZE + sizeof(uint16_t))
uint32_t tox_address_size(void);
diff --git a/protocols/Tox/src/version.h b/protocols/Tox/src/version.h
index 99460d36b1..25fc0db486 100644
--- a/protocols/Tox/src/version.h
+++ b/protocols/Tox/src/version.h
@@ -1,7 +1,7 @@
#define __MAJOR_VERSION 0
#define __MINOR_VERSION 11
#define __RELEASE_NUM 1
-#define __BUILD_NUM 23
+#define __BUILD_NUM 24
#include <stdver.h>