GNUNET_NETWORK_STRUCT_BEGIN
-
/**
* Message from client to GNS service to lookup records.
*/
*/
struct GNUNET_MessageHeader header;
+ /**
+ * A key. TODO some uid
+ */
+ GNUNET_HashCode key;
+
/**
* Unique identifier for this request (for key collisions).
*/
+ // FIXME: unaligned
uint64_t unique_id;
/**
* the type of record to look up
*/
+ // FIXME: bad type - should be of GNUNET_GNS_RecordType
int type;
- /**
- * Length of name to lookup
- */
- uint32_t namelen;
-
/* Followed by the name to look up */
};
/**
* 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*/
};