aboutsummaryrefslogtreecommitdiff
path: root/src/peerstore/peerstore.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/peerstore/peerstore.h')
-rw-r--r--src/peerstore/peerstore.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/peerstore/peerstore.h b/src/peerstore/peerstore.h
index 94970d906..ef134feef 100644
--- a/src/peerstore/peerstore.h
+++ b/src/peerstore/peerstore.h
@@ -44,7 +44,7 @@ GNUNET_NETWORK_STRUCT_BEGIN
44 /** 44 /**
45 * #GNUNET_YES if peer id value set, #GNUNET_NO otherwise 45 * #GNUNET_YES if peer id value set, #GNUNET_NO otherwise
46 */ 46 */
47 uint16_t peer_set; 47 uint16_t peer_set GNUNET_PACKED;
48 48
49 /** 49 /**
50 * Peer Identity 50 * Peer Identity
@@ -55,30 +55,30 @@ GNUNET_NETWORK_STRUCT_BEGIN
55 * Size of the sub_system string 55 * Size of the sub_system string
56 * Allocated at position 0 after this struct 56 * Allocated at position 0 after this struct
57 */ 57 */
58 size_t sub_system_size; 58 uint16_t sub_system_size GNUNET_PACKED;
59 59
60 /** 60 /**
61 * Size of the key string 61 * Size of the key string
62 * Allocated at position 1 after this struct 62 * Allocated at position 1 after this struct
63 */ 63 */
64 size_t key_size; 64 uint16_t key_size GNUNET_PACKED;
65 65
66 /** 66 /**
67 * Size of value blob 67 * Size of value blob
68 * Allocated at position 2 after this struct 68 * Allocated at position 2 after this struct
69 */ 69 */
70 size_t value_size; 70 uint16_t value_size GNUNET_PACKED;
71 71
72 /** 72 /**
73 * Expiry time of entry 73 * Expiry time of entry
74 */ 74 */
75 struct GNUNET_TIME_Absolute expiry; 75 struct GNUNET_TIME_Absolute expiry GNUNET_PACKED;
76 76
77 /** 77 /**
78 * Options, needed only in case of a 78 * Options, needed only in case of a
79 * store operation 79 * store operation
80 */ 80 */
81 enum GNUNET_PEERSTORE_StoreOption options; 81 enum GNUNET_PEERSTORE_StoreOption options GNUNET_PACKED;
82 82
83}; 83};
84 84