/**
* 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;
/**
* 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*/
};
* @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