aboutsummaryrefslogtreecommitdiff
path: root/src/gns/gns.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-09-29 14:46:15 +0000
committerChristian Grothoff <christian@grothoff.org>2013-09-29 14:46:15 +0000
commit3be811a81feada83da4379ac9356449c5e0c1beb (patch)
tree8ac0390f97975d35c76962e69979a76aa170b59b /src/gns/gns.h
parente191011d9592edfac69e56eb2ae7aef5c17c3fa0 (diff)
downloadgnunet-3be811a81feada83da4379ac9356449c5e0c1beb.tar.gz
gnunet-3be811a81feada83da4379ac9356449c5e0c1beb.zip
-adding missing PACKED directives
Diffstat (limited to 'src/gns/gns.h')
-rw-r--r--src/gns/gns.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gns/gns.h b/src/gns/gns.h
index 9e7a15575..24f543f71 100644
--- a/src/gns/gns.h
+++ b/src/gns/gns.h
@@ -51,7 +51,7 @@ GNUNET_NETWORK_STRUCT_BEGIN
51struct GNUNET_GNS_ClientLookupMessage 51struct GNUNET_GNS_ClientLookupMessage
52{ 52{
53 /** 53 /**
54 * Header of type GNUNET_MESSAGE_TYPE_GNS_CLIENT_LOOKUP 54 * Header of type #GNUNET_MESSAGE_TYPE_GNS_LOOKUP
55 */ 55 */
56 struct GNUNET_MessageHeader header; 56 struct GNUNET_MessageHeader header;
57 57
@@ -78,10 +78,10 @@ struct GNUNET_GNS_ClientLookupMessage
78 /** 78 /**
79 * the type of record to look up 79 * the type of record to look up
80 */ 80 */
81 int32_t type; 81 int32_t type GNUNET_PACKED;
82 82
83 /** 83 /**
84 * The key for shorten, if 'have_key' is set 84 * The key for shorten, if @e have_key is set
85 */ 85 */
86 struct GNUNET_CRYPTO_EccPrivateKey shorten_key; 86 struct GNUNET_CRYPTO_EccPrivateKey shorten_key;
87 87
@@ -95,7 +95,7 @@ struct GNUNET_GNS_ClientLookupMessage
95struct GNUNET_GNS_ClientLookupResultMessage 95struct GNUNET_GNS_ClientLookupResultMessage
96{ 96{
97 /** 97 /**
98 * Header of type GNUNET_MESSAGE_TYPE_GNS_CLIENT_RESULT 98 * Header of type #GNUNET_MESSAGE_TYPE_GNS_LOOKUP_RESULT
99 */ 99 */
100 struct GNUNET_MessageHeader header; 100 struct GNUNET_MessageHeader header;
101 101
@@ -107,7 +107,7 @@ struct GNUNET_GNS_ClientLookupResultMessage
107 /** 107 /**
108 * The number of records contained in response 108 * The number of records contained in response
109 */ 109 */
110 uint32_t rd_count; 110 uint32_t rd_count GNUNET_PACKED;
111 111
112 /* followed by rd_count GNUNET_NAMESTORE_RecordData structs*/ 112 /* followed by rd_count GNUNET_NAMESTORE_RecordData structs*/
113 113