projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- LRN's patch
[oweals/gnunet.git]
/
src
/
gns
/
gns.h
diff --git
a/src/gns/gns.h
b/src/gns/gns.h
index e35df78586f398bc2547a92b530b590605005772..cb47c817a8d99e92269ec83dee7d5afa56204897 100644
(file)
--- a/
src/gns/gns.h
+++ b/
src/gns/gns.h
@@
-28,7
+28,6
@@
GNUNET_NETWORK_STRUCT_BEGIN
GNUNET_NETWORK_STRUCT_BEGIN
-
/**
* Message from client to GNS service to lookup records.
*/
/**
* Message from client to GNS service to lookup records.
*/
@@
-39,21
+38,23
@@
struct GNUNET_GNS_ClientLookupMessage
*/
struct GNUNET_MessageHeader header;
*/
struct GNUNET_MessageHeader header;
+ /**
+ * A key. TODO some uid
+ */
+ GNUNET_HashCode key;
+
/**
* Unique identifier for this request (for key collisions).
*/
/**
* Unique identifier for this request (for key collisions).
*/
+ // FIXME: unaligned
uint64_t unique_id;
/**
* the type of record to look up
*/
uint64_t unique_id;
/**
* the type of record to look up
*/
+ // FIXME: bad type - should be of GNUNET_GNS_RecordType
int type;
int type;
- /**
- * Length of name to lookup
- */
- uint32_t namelen;
-
/* Followed by the name to look up */
};
/* Followed by the name to look up */
};
@@
-71,18
+72,21
@@
struct GNUNET_GNS_ClientResultMessage
/**
* Unique identifier for this request (for key collisions).
*/
/**
* Unique identifier for this request (for key collisions).
*/
+ // FIXME: unaligned
uint64_t unique_id;
/**
* A key. TODO some uid
uint64_t unique_id;
/**
* A key. TODO some uid
+ * // FIXME: why hash?
*/
GNUNET_HashCode key;
/**
* The number of records contained in response
*/
GNUNET_HashCode key;
/**
* The number of records contained in response
- */
+ */
uint32_t num_records;
uint32_t num_records;
+ // FIXME: what format has a GNS_Record?
/* followed by num_records GNUNET_GNS_Records*/
};
/* followed by num_records GNUNET_GNS_Records*/
};