*/
struct GNUNET_CRYPTO_EcdsaPublicKey derived_key;
- /* follwed by encrypted block data */
+ /* followed by encrypted block data */
};
};
+/**
+ * Lookup a label
+ */
+struct LabelLookupMessage
+{
+ /**
+ * Type will be #GNUNET_MESSAGE_TYPE_NAMESTORE_RECORD_LOOKUP
+ */
+ struct GNUNET_NAMESTORE_Header gns_header;
+
+ /**
+ * Length of the name
+ */
+ uint32_t label_len GNUNET_PACKED;
+
+ /**
+ * The private key of the zone to look up in
+ */
+ struct GNUNET_CRYPTO_EcdsaPrivateKey zone;
+
+ /* followed by:
+ * name with length name_len
+ */
+};
+
+
+
/**
* Lookup a name for a zone hash
/**
* Type will be #GNUNET_MESSAGE_TYPE_NAMESTORE_MONITOR_START
*/
- struct GNUNET_NAMESTORE_Header gns_header;
+ struct GNUNET_MessageHeader header;
+
+ /**
+ * #GNUNET_YES to first iterate over all records,
+ * #GNUNET_NO to only monitor changes.o
+ */
+ uint32_t iterate_first GNUNET_PACKED;
/**
* Zone key.