diff options
author | tg(x) <*@tg-x.net> | 2017-03-22 10:08:01 +0100 |
---|---|---|
committer | tg(x) <*@tg-x.net> | 2017-03-22 10:08:01 +0100 |
commit | aa98f144e6db0da5a0a4cad83fe64a80bbab6692 (patch) | |
tree | 5a072b4e1b689bf4330b2a412bdadc705d33ff75 /src/datastore/datastore.h | |
parent | caeeec6cacaa5354883494cb64b0a38e5c75da5d (diff) | |
parent | b424335cc632a11bd76bad5791cef10e8c985720 (diff) | |
download | gnunet-aa98f144e6db0da5a0a4cad83fe64a80bbab6692.tar.gz gnunet-aa98f144e6db0da5a0a4cad83fe64a80bbab6692.zip |
Merge branch 'master' of gnunet.org:gnunet
Diffstat (limited to 'src/datastore/datastore.h')
-rw-r--r-- | src/datastore/datastore.h | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/src/datastore/datastore.h b/src/datastore/datastore.h index 9de72f064..5fd360161 100644 --- a/src/datastore/datastore.h +++ b/src/datastore/datastore.h | |||
@@ -119,9 +119,14 @@ struct GetKeyMessage | |||
119 | uint32_t type GNUNET_PACKED; | 119 | uint32_t type GNUNET_PACKED; |
120 | 120 | ||
121 | /** | 121 | /** |
122 | * Offset of the result. | 122 | * UID at which to start the search |
123 | */ | 123 | */ |
124 | uint64_t offset GNUNET_PACKED; | 124 | uint64_t next_uid GNUNET_PACKED; |
125 | |||
126 | /** | ||
127 | * If true return a random result | ||
128 | */ | ||
129 | uint32_t random GNUNET_PACKED; | ||
125 | 130 | ||
126 | /** | 131 | /** |
127 | * Desired key. | 132 | * Desired key. |
@@ -148,9 +153,14 @@ struct GetMessage | |||
148 | uint32_t type GNUNET_PACKED; | 153 | uint32_t type GNUNET_PACKED; |
149 | 154 | ||
150 | /** | 155 | /** |
151 | * Offset of the result. | 156 | * UID at which to start the search |
157 | */ | ||
158 | uint64_t next_uid GNUNET_PACKED; | ||
159 | |||
160 | /** | ||
161 | * If true return a random result | ||
152 | */ | 162 | */ |
153 | uint64_t offset GNUNET_PACKED; | 163 | uint32_t random GNUNET_PACKED; |
154 | 164 | ||
155 | }; | 165 | }; |
156 | 166 | ||
@@ -172,9 +182,9 @@ struct GetZeroAnonymityMessage | |||
172 | uint32_t type GNUNET_PACKED; | 182 | uint32_t type GNUNET_PACKED; |
173 | 183 | ||
174 | /** | 184 | /** |
175 | * Offset of the result. | 185 | * UID at which to start the search |
176 | */ | 186 | */ |
177 | uint64_t offset GNUNET_PACKED; | 187 | uint64_t next_uid GNUNET_PACKED; |
178 | 188 | ||
179 | }; | 189 | }; |
180 | 190 | ||