Skip to content

Commit

Permalink
Added TOXDNS_MAX_RECOMMENDED_NAME_LENGTH define that clients can
Browse files Browse the repository at this point in the history
choose to ignore if they want.
  • Loading branch information
irungentoo committed Sep 20, 2014
1 parent 729a511 commit 53ce4f3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions toxdns/toxdns.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 53ce4f3

Please sign in to comment.