#ifndef DATASTORE_H
#define DATASTORE_H
-#define DEBUG_DATASTORE GNUNET_YES
+#define DEBUG_DATASTORE GNUNET_NO
#include "gnunet_util_lib.h"
{
/**
* Type is GNUNET_MESSAGE_TYPE_DATASTORE_GET. Size
- * can either be "sizeof(struct GetMessage)" or
+ * can either be "sizeof(struct GetMessage)" or
* "sizeof(struct GetMessage) - sizeof(GNUNET_HashCode)"!
*/
struct GNUNET_MessageHeader header;
*/
uint32_t type GNUNET_PACKED;
+ /**
+ * Offset of the result.
+ */
+ uint64_t offset GNUNET_PACKED;
+
/**
* Desired key (optional). Check the "size" of the
* header to see if the key is actually present.
*/
uint32_t type GNUNET_PACKED;
+ /**
+ * Offset of the result.
+ */
+ uint64_t offset GNUNET_PACKED;
+
};
* Priority of the item (NBO), zero for remove.
*/
uint32_t priority GNUNET_PACKED;
-
+
/**
* Desired anonymity level (NBO), zero for remove.
*/
uint32_t anonymity GNUNET_PACKED;
+ /**
+ * Desired replication level. 0 from service to API.
+ */
+ uint32_t replication GNUNET_PACKED;
+
+ /**
+ * For alignment.
+ */
+ uint32_t reserved GNUNET_PACKED;
+
/**
* Unique ID for the content (can be used for UPDATE);
* can be zero for remove (which indicates that
* the key and content).
*/
uint64_t uid;
-
+
/**
* Expiration time (NBO); zero for remove.
*/