aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_dnsparser_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_dnsparser_lib.h')
-rw-r--r--src/include/gnunet_dnsparser_lib.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/include/gnunet_dnsparser_lib.h b/src/include/gnunet_dnsparser_lib.h
index f460bbad4..526c40ab2 100644
--- a/src/include/gnunet_dnsparser_lib.h
+++ b/src/include/gnunet_dnsparser_lib.h
@@ -31,6 +31,17 @@
31#include "gnunet_common.h" 31#include "gnunet_common.h"
32 32
33/** 33/**
34 * Maximum length of a label in DNS.
35 */
36#define GNUNET_DNSPARSER_MAX_LABEL_LENGTH 63
37
38/**
39 * Maximum length of a name in DNS.
40 */
41#define GNUNET_DNSPARSER_MAX_NAME_LENGTH 253
42
43
44/**
34 * A few common DNS types. 45 * A few common DNS types.
35 */ 46 */
36#define GNUNET_DNSPARSER_TYPE_A 1 47#define GNUNET_DNSPARSER_TYPE_A 1