*/
#define GNUNET_GNS_TLD_PLUS "+"
-/**
- * Maximum length of a label in DNS.
- */
-#define MAX_DNS_LABEL_LENGTH 63
-
-/**
- * Maximum length of a name in DNS.
- */
-#define MAX_DNS_NAME_LENGTH 253
-
GNUNET_NETWORK_STRUCT_BEGIN
uint32_t only_cached GNUNET_PACKED;
/**
- * Should we look up in the default zone?
+ * Should we look up in the given zone, instead of the default zone?
*/
- uint32_t use_default_zone GNUNET_PACKED;
+ uint32_t have_zone GNUNET_PACKED;
/**
* Is a shorten key attached?
/**
* the type of record to look up
*/
- /* enum GNUNET_GNS_RecordType */ uint32_t type;
-
- /* Followed by the key for shorten (optional) see have_key */
+ /* int */ uint32_t type;
+
+ /**
+ * The key for shorten, if 'have_key' is set
+ */
+ struct GNUNET_CRYPTO_EccPrivateKey shorten_key;
/* Followed by the name to look up */
};