diff options
Diffstat (limited to 'protocols/Tox/tox/include/toxdns.h')
-rw-r--r-- | protocols/Tox/tox/include/toxdns.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/Tox/tox/include/toxdns.h b/protocols/Tox/tox/include/toxdns.h index 1ecba978e4..e39e23603c 100644 --- a/protocols/Tox/tox/include/toxdns.h +++ b/protocols/Tox/tox/include/toxdns.h @@ -30,6 +30,9 @@ extern "C" { #endif +/* Clients are encouraged to set this as the maximum length names can have. */ +#define TOXDNS_MAX_RECOMMENDED_NAME_LENGTH 32 + /* How to use this api to make secure tox dns3 requests: * * 1. Get the public key of a server that supports tox dns3. |