-getting rid of duplication of record type values / enum GNUNET_GNS_RecordType
[oweals/gnunet.git] / src / gns / gns.h
index e5d48fa27cb0c1512009af6675de57dd496a341b..a7697be1deace8460c00c41f6cba38b348fdf640 100644 (file)
@@ -71,9 +71,9 @@ struct GNUNET_GNS_ClientLookupMessage
   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?
@@ -83,9 +83,12 @@ struct GNUNET_GNS_ClientLookupMessage
   /**
    * 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 */
 };