summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2014-09-19 21:22:53 -0400
committerirungentoo <irungentoo@gmail.com>2014-09-19 21:22:53 -0400
commit53ce4f393b9e76b85db4453c525b7bedbf778c1c (patch)
tree49bda3fcf87d6880334d8f9bf5b3184fe28f4c11
parent729a511e82591c52778ae7413d58bceaaf93cf3b (diff)
Added TOXDNS_MAX_RECOMMENDED_NAME_LENGTH define that clients can
choose to ignore if they want.
-rw-r--r--toxdns/toxdns.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/toxdns/toxdns.h b/toxdns/toxdns.h
index bbcbea80..90b74281 100644
--- a/toxdns/toxdns.h
+++ b/toxdns/toxdns.h
@@ -26,6 +26,9 @@
26 26
27#include <stdint.h> 27#include <stdint.h>
28 28
29/* Clients are encouraged to set this as the maximum length names can have. */
30#define TOXDNS_MAX_RECOMMENDED_NAME_LENGTH 32
31
29/* How to use this api to make secure tox dns3 requests: 32/* How to use this api to make secure tox dns3 requests:
30 * 33 *
31 * 1. Get the public key of a server that supports tox dns3. 34 * 1. Get the public key of a server that supports tox dns3.