Added TOXDNS_MAX_RECOMMENDED_NAME_LENGTH define that clients can

choose to ignore if they want.
This commit is contained in:
irungentoo 2014-09-19 21:22:53 -04:00
parent 729a511e82
commit 53ce4f393b
No known key found for this signature in database
GPG Key ID: 10349DC9BED89E98

View File

@ -26,6 +26,9 @@
#include <stdint.h>
/* 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.