diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2014-10-10 05:06:38 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2014-10-10 05:06:38 +0000 |
commit | 16b6caa0a8b5e80c75a93b67db1ae5812a81fc80 (patch) | |
tree | 41986230992abdead1547fcabbb64f9c98deb766 /protocols/Tox/tox/include | |
parent | 7ede7b7528dfb2b4fde85de0753ef10b0167ae8e (diff) |
tox update
git-svn-id: http://svn.miranda-ng.org/main/trunk@10751 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/tox/include')
-rw-r--r-- | protocols/Tox/tox/include/tox.h | 3 | ||||
-rw-r--r-- | protocols/Tox/tox/include/toxdns.h | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/protocols/Tox/tox/include/tox.h b/protocols/Tox/tox/include/tox.h index ccb5a83e0f..52069f8698 100644 --- a/protocols/Tox/tox/include/tox.h +++ b/protocols/Tox/tox/include/tox.h @@ -870,6 +870,9 @@ uint32_t tox_size(const Tox *tox); void tox_save(const Tox *tox, uint8_t *data); /* Load the messenger from data of size length. + * NOTE: The Tox save format isn't stable yet meaning this function sometimes + * returns -1 when loading older saves. This however does not mean nothing was + * loaded from the save. * * returns 0 on success * returns -1 on failure diff --git a/protocols/Tox/tox/include/toxdns.h b/protocols/Tox/tox/include/toxdns.h index e39e23603c..06071b82d6 100644 --- a/protocols/Tox/tox/include/toxdns.h +++ b/protocols/Tox/tox/include/toxdns.h @@ -24,12 +24,12 @@ #ifndef TOXDNS_H #define TOXDNS_H -#include <stdint.h> - #ifdef __cplusplus extern "C" { #endif +#include <stdint.h> + /* Clients are encouraged to set this as the maximum length names can have. */ #define TOXDNS_MAX_RECOMMENDED_NAME_LENGTH 32 |