gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r19825 - in gnunet/src: gns include


From: gnunet
Subject: [GNUnet-SVN] r19825 - in gnunet/src: gns include
Date: Thu, 16 Feb 2012 19:30:18 +0100

Author: grothoff
Date: 2012-02-16 19:30:18 +0100 (Thu, 16 Feb 2012)
New Revision: 19825

Modified:
   gnunet/src/gns/gns.h
   gnunet/src/include/gnunet_gns_service.h
Log:
-comments

Modified: gnunet/src/gns/gns.h
===================================================================
--- gnunet/src/gns/gns.h        2012-02-16 18:24:32 UTC (rev 19824)
+++ gnunet/src/gns/gns.h        2012-02-16 18:30:18 UTC (rev 19825)
@@ -42,15 +42,18 @@
   /**
    * 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 @@
   /**
    * 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*/
 
 };

Modified: gnunet/src/include/gnunet_gns_service.h
===================================================================
--- gnunet/src/include/gnunet_gns_service.h     2012-02-16 18:24:32 UTC (rev 
19824)
+++ gnunet/src/include/gnunet_gns_service.h     2012-02-16 18:30:18 UTC (rev 
19825)
@@ -22,8 +22,14 @@
  * @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
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]