[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r29684 - gnunet/src/namestore
From: |
gnunet |
Subject: |
[GNUnet-SVN] r29684 - gnunet/src/namestore |
Date: |
Sun, 29 Sep 2013 17:19:13 +0200 |
Author: grothoff
Date: 2013-09-29 17:19:13 +0200 (Sun, 29 Sep 2013)
New Revision: 29684
Modified:
gnunet/src/namestore/namestore.h
Log:
-add missing PACKED attribute
Modified: gnunet/src/namestore/namestore.h
===================================================================
--- gnunet/src/namestore/namestore.h 2013-09-29 15:14:47 UTC (rev 29683)
+++ gnunet/src/namestore/namestore.h 2013-09-29 15:19:13 UTC (rev 29684)
@@ -48,7 +48,7 @@
/**
* Request ID in NBO
*/
- uint32_t r_id;
+ uint32_t r_id GNUNET_PACKED;
};
@@ -65,7 +65,7 @@
/**
* The query.
*/
- struct GNUNET_HashCode query;
+ struct GNUNET_HashCode query GNUNET_PACKED;
};
@@ -141,7 +141,7 @@
/**
* #GNUNET_OK on success, #GNUNET_SYSERR error
*/
- int32_t op_result;
+ int32_t op_result GNUNET_PACKED;
};
@@ -163,22 +163,22 @@
/**
* Name length
*/
- uint16_t name_len;
+ uint16_t name_len GNUNET_PACKED;
/**
* Length of serialized record data
*/
- uint16_t rd_len;
+ uint16_t rd_len GNUNET_PACKED;
/**
* Number of records contained
*/
- uint16_t rd_count;
+ uint16_t rd_count GNUNET_PACKED;
/**
* always zero (for alignment)
*/
- uint16_t reserved;
+ uint16_t reserved GNUNET_PACKED;
/**
* The private key of the authority.
@@ -205,7 +205,7 @@
/**
* #GNUNET_SYSERR on failure, #GNUNET_OK on success
*/
- int32_t op_result;
+ int32_t op_result GNUNET_PACKED;
};
@@ -245,23 +245,23 @@
/**
* Length of the name
*/
- uint16_t name_len;
+ uint16_t name_len GNUNET_PACKED;
/**
* Length of serialized record data
*/
- uint16_t rd_len;
+ uint16_t rd_len GNUNET_PACKED;
/**
* Number of records contained
*/
- uint16_t rd_count;
+ uint16_t rd_count GNUNET_PACKED;
/**
* result in NBO: #GNUNET_OK on success, #GNUNET_NO if there were no
* results, #GNUNET_SYSERR on error
*/
- int16_t res;
+ int16_t res GNUNET_PACKED;
/**
* The private key of the zone that contained the name.
@@ -289,22 +289,22 @@
/**
* Name length
*/
- uint16_t name_len;
+ uint16_t name_len GNUNET_PACKED;
/**
* Length of serialized record data
*/
- uint16_t rd_len;
+ uint16_t rd_len GNUNET_PACKED;
/**
* Number of records contained
*/
- uint16_t rd_count;
+ uint16_t rd_count GNUNET_PACKED;
/**
* always zero (for alignment)
*/
- uint16_t reserved;
+ uint16_t reserved GNUNET_PACKED;
/**
* The private key of the authority.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r29684 - gnunet/src/namestore,
gnunet <=