aboutsummaryrefslogtreecommitdiff
path: root/src/namestore
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-09-29 15:19:13 +0000
committerChristian Grothoff <christian@grothoff.org>2013-09-29 15:19:13 +0000
commit45cafac2de4b45e205106da2ad48686d3298ad39 (patch)
tree81ac8094e9676c11cd7809a571082d611dd2c3fb /src/namestore
parent7083417685778766737d424bd2da05fd6a255fa8 (diff)
downloadgnunet-45cafac2de4b45e205106da2ad48686d3298ad39.tar.gz
gnunet-45cafac2de4b45e205106da2ad48686d3298ad39.zip
-add missing PACKED attribute
Diffstat (limited to 'src/namestore')
-rw-r--r--src/namestore/namestore.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/namestore/namestore.h b/src/namestore/namestore.h
index 6d22b5d99..a4b01a960 100644
--- a/src/namestore/namestore.h
+++ b/src/namestore/namestore.h
@@ -48,7 +48,7 @@ struct GNUNET_NAMESTORE_Header
48 /** 48 /**
49 * Request ID in NBO 49 * Request ID in NBO
50 */ 50 */
51 uint32_t r_id; 51 uint32_t r_id GNUNET_PACKED;
52}; 52};
53 53
54 54
@@ -65,7 +65,7 @@ struct LookupBlockMessage
65 /** 65 /**
66 * The query. 66 * The query.
67 */ 67 */
68 struct GNUNET_HashCode query; 68 struct GNUNET_HashCode query GNUNET_PACKED;
69 69
70}; 70};
71 71
@@ -141,7 +141,7 @@ struct BlockCacheResponseMessage
141 /** 141 /**
142 * #GNUNET_OK on success, #GNUNET_SYSERR error 142 * #GNUNET_OK on success, #GNUNET_SYSERR error
143 */ 143 */
144 int32_t op_result; 144 int32_t op_result GNUNET_PACKED;
145}; 145};
146 146
147 147
@@ -163,22 +163,22 @@ struct RecordStoreMessage
163 /** 163 /**
164 * Name length 164 * Name length
165 */ 165 */
166 uint16_t name_len; 166 uint16_t name_len GNUNET_PACKED;
167 167
168 /** 168 /**
169 * Length of serialized record data 169 * Length of serialized record data
170 */ 170 */
171 uint16_t rd_len; 171 uint16_t rd_len GNUNET_PACKED;
172 172
173 /** 173 /**
174 * Number of records contained 174 * Number of records contained
175 */ 175 */
176 uint16_t rd_count; 176 uint16_t rd_count GNUNET_PACKED;
177 177
178 /** 178 /**
179 * always zero (for alignment) 179 * always zero (for alignment)
180 */ 180 */
181 uint16_t reserved; 181 uint16_t reserved GNUNET_PACKED;
182 182
183 /** 183 /**
184 * The private key of the authority. 184 * The private key of the authority.
@@ -205,7 +205,7 @@ struct RecordStoreResponseMessage
205 /** 205 /**
206 * #GNUNET_SYSERR on failure, #GNUNET_OK on success 206 * #GNUNET_SYSERR on failure, #GNUNET_OK on success
207 */ 207 */
208 int32_t op_result; 208 int32_t op_result GNUNET_PACKED;
209}; 209};
210 210
211 211
@@ -245,23 +245,23 @@ struct ZoneToNameResponseMessage
245 /** 245 /**
246 * Length of the name 246 * Length of the name
247 */ 247 */
248 uint16_t name_len; 248 uint16_t name_len GNUNET_PACKED;
249 249
250 /** 250 /**
251 * Length of serialized record data 251 * Length of serialized record data
252 */ 252 */
253 uint16_t rd_len; 253 uint16_t rd_len GNUNET_PACKED;
254 254
255 /** 255 /**
256 * Number of records contained 256 * Number of records contained
257 */ 257 */
258 uint16_t rd_count; 258 uint16_t rd_count GNUNET_PACKED;
259 259
260 /** 260 /**
261 * result in NBO: #GNUNET_OK on success, #GNUNET_NO if there were no 261 * result in NBO: #GNUNET_OK on success, #GNUNET_NO if there were no
262 * results, #GNUNET_SYSERR on error 262 * results, #GNUNET_SYSERR on error
263 */ 263 */
264 int16_t res; 264 int16_t res GNUNET_PACKED;
265 265
266 /** 266 /**
267 * The private key of the zone that contained the name. 267 * The private key of the zone that contained the name.
@@ -289,22 +289,22 @@ struct RecordResultMessage
289 /** 289 /**
290 * Name length 290 * Name length
291 */ 291 */
292 uint16_t name_len; 292 uint16_t name_len GNUNET_PACKED;
293 293
294 /** 294 /**
295 * Length of serialized record data 295 * Length of serialized record data
296 */ 296 */
297 uint16_t rd_len; 297 uint16_t rd_len GNUNET_PACKED;
298 298
299 /** 299 /**
300 * Number of records contained 300 * Number of records contained
301 */ 301 */
302 uint16_t rd_count; 302 uint16_t rd_count GNUNET_PACKED;
303 303
304 /** 304 /**
305 * always zero (for alignment) 305 * always zero (for alignment)
306 */ 306 */
307 uint16_t reserved; 307 uint16_t reserved GNUNET_PACKED;
308 308
309 /** 309 /**
310 * The private key of the authority. 310 * The private key of the authority.