-peer review
[oweals/gnunet.git] / src / include / gnunet_gns_service.h
index 5eaf8b0585a016304324a4f673040ac2ea6d09a2..3e3d140b9a9c3a0c8bcb3e79250243414483a518 100644 (file)
  * @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?
  */
 
 
@@ -144,13 +140,12 @@ GNUNET_GNS_disconnect (struct GNUNET_GNS_Handle *handle);
  * lookup
  *
  * @param cls closure
- * @param name "name" of the original lookup
  * @param rd_count number of records
  * @param rd the records in reply
  */
 typedef void (*GNUNET_GNS_LookupResultProcessor) (void *cls,
-                                 uint32_t rd_count,
-                                 const struct GNUNET_NAMESTORE_RecordData *rd);
+                                                 uint32_t rd_count,
+                                                 const struct GNUNET_NAMESTORE_RecordData *rd);
 
 
 
@@ -220,7 +215,7 @@ GNUNET_GNS_cancel_lookup_request (struct GNUNET_GNS_LookupRequest *lr);
  * called only once
  *
  * @param cls closure
- * @param short_name the shortened name or NULL if no result
+ * @param short_name the shortened name or NULL if no result / error
  */
 typedef void (*GNUNET_GNS_ShortenResultProcessor) (void *cls,
                                                   const char* short_name);