added lookup test + fix in test
[oweals/gnunet.git] / src / namestore / namestore.h
index bd0cf82cc99c2706ebe33e1b16c894ad4e2e8fc6..d633f7393ed1c19286d04b7a82bd10aaff359ea5 100644 (file)
@@ -215,19 +215,19 @@ struct RecordStoreResponseMessage
 struct LabelLookupMessage
 {
   /**
-   * Type will be #GNUNET_MESSAGE_TYPE_NAMESTORE_LABEL_LOOKUP
+   * Type will be #GNUNET_MESSAGE_TYPE_NAMESTORE_RECORD_LOOKUP
    */
   struct GNUNET_NAMESTORE_Header gns_header;
 
   /**
-   * The private key of the zone to look up in
+   * Length of the name
    */
-  struct GNUNET_CRYPTO_EcdsaPrivateKey zone;
+  uint32_t label_len GNUNET_PACKED;
 
   /**
-   * Length of the name
+   * The private key of the zone to look up in
    */
-  uint16_t label_len GNUNET_PACKED;
+  struct GNUNET_CRYPTO_EcdsaPrivateKey zone;
 
   /* followed by:
    * name with length name_len