aboutsummaryrefslogtreecommitdiff
path: root/src/datastore/datastore.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/datastore/datastore.h')
-rw-r--r--src/datastore/datastore.h23
1 files changed, 21 insertions, 2 deletions
diff --git a/src/datastore/datastore.h b/src/datastore/datastore.h
index f827f8766..55ca7c8e5 100644
--- a/src/datastore/datastore.h
+++ b/src/datastore/datastore.h
@@ -109,7 +109,7 @@ struct GetMessage
109 struct GNUNET_MessageHeader header; 109 struct GNUNET_MessageHeader header;
110 110
111 /** 111 /**
112 * Desired content type. 112 * Desired content type. (actually an enum GNUNET_BLOCK_Type)
113 */ 113 */
114 uint32_t type GNUNET_PACKED; 114 uint32_t type GNUNET_PACKED;
115 115
@@ -123,6 +123,25 @@ struct GetMessage
123 123
124 124
125/** 125/**
126 * Message to the datastore service asking about zero
127 * anonymity content.
128 */
129struct GetZeroAnonymityMessage
130{
131 /**
132 * Type is GNUNET_MESSAGE_TYPE_DATASTORE_GET_ZERO_ANONYMITY.
133 */
134 struct GNUNET_MessageHeader header;
135
136 /**
137 * Desired content type (actually an enum GNUNET_BLOCK_Type)
138 */
139 uint32_t type GNUNET_PACKED;
140
141};
142
143
144/**
126 * Message to the datastore service requesting an update 145 * Message to the datastore service requesting an update
127 * to the priority or expiration for some content. 146 * to the priority or expiration for some content.
128 */ 147 */
@@ -176,7 +195,7 @@ struct DataMessage
176 uint32_t size GNUNET_PACKED; 195 uint32_t size GNUNET_PACKED;
177 196
178 /** 197 /**
179 * Type of the item (NBO), zero for remove. 198 * Type of the item (NBO), zero for remove, (actually an enum GNUNET_BLOCK_Type)
180 */ 199 */
181 uint32_t type GNUNET_PACKED; 200 uint32_t type GNUNET_PACKED;
182 201