-comments
authorChristian Grothoff <christian@grothoff.org>
Thu, 16 Feb 2012 18:30:18 +0000 (18:30 +0000)
committerChristian Grothoff <christian@grothoff.org>
Thu, 16 Feb 2012 18:30:18 +0000 (18:30 +0000)
src/gns/gns.h
src/include/gnunet_gns_service.h

index e35df78586f398bc2547a92b530b590605005772..695722b785864287f783ee505d5ec8bcf46fa12a 100644 (file)
@@ -42,15 +42,18 @@ struct GNUNET_GNS_ClientLookupMessage
   /**
    * Unique identifier for this request (for key collisions).
    */
+  // FIXME: unaligned
   uint64_t unique_id;
 
   /**
    * the type of record to look up
    */
+  // FIXME: bad type
   int type;
 
   /**
    * Length of name to lookup
+   * // FIXME: redundant
    */
   uint32_t namelen;
 
@@ -71,18 +74,21 @@ struct GNUNET_GNS_ClientResultMessage
   /**
    * Unique identifier for this request (for key collisions).
    */
+  // FIXME: unaligned
   uint64_t unique_id;
 
   /**
    * A key. TODO some uid
+   * // FIXME: why hash?
    */
   GNUNET_HashCode key;
 
   /**
    * The number of records contained in response
-   */
+   */  
   uint32_t num_records;
 
+  // FIXME: what format has a GNS_Record?
   /* followed by num_records GNUNET_GNS_Records*/
 
 };
index 99028f60cf4f72ee167b49d435e81d4c048813f6..780ddbcca80a31ee28f29c85974ebea40503ab6b 100644 (file)
  * @file include/gnunet_gns_service.h
  * @brief API to the GNS service
  * @author Martin Schanzenbach
+ *
+ * TODO:
+ * - decide what goes into storage API and what into GNS-service API
+ * - decide where to pass/expose/check keys / signatures
+ * - are GNS private keys per peer or per user?
  */
 
+
 #ifndef GNUNET_GNS_SERVICE_H
 #define GNUNET_GNS_SERVICE_H