aboutsummaryrefslogtreecommitdiff
path: root/src/reclaim/reclaim_attribute.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/reclaim/reclaim_attribute.h')
-rw-r--r--src/reclaim/reclaim_attribute.h20
1 files changed, 12 insertions, 8 deletions
diff --git a/src/reclaim/reclaim_attribute.h b/src/reclaim/reclaim_attribute.h
index e54b210b9..203c88a34 100644
--- a/src/reclaim/reclaim_attribute.h
+++ b/src/reclaim/reclaim_attribute.h
@@ -28,6 +28,8 @@
28 28
29#include "gnunet_reclaim_service.h" 29#include "gnunet_reclaim_service.h"
30 30
31GNUNET_NETWORK_STRUCT_BEGIN
32
31/** 33/**
32 * Serialized claim 34 * Serialized claim
33 */ 35 */
@@ -36,12 +38,12 @@ struct Attribute
36 /** 38 /**
37 * Attribute type 39 * Attribute type
38 */ 40 */
39 uint32_t attribute_type; 41 uint32_t attribute_type GNUNET_PACKED;
40 42
41 /** 43 /**
42 * Attribute flag 44 * Attribute flag
43 */ 45 */
44 uint32_t attribute_flag; 46 uint32_t attribute_flag GNUNET_PACKED;
45 47
46 /** 48 /**
47 * Attribute ID 49 * Attribute ID
@@ -56,12 +58,12 @@ struct Attribute
56 /** 58 /**
57 * Name length 59 * Name length
58 */ 60 */
59 uint32_t name_len; 61 uint32_t name_len GNUNET_PACKED;
60 62
61 /** 63 /**
62 * Data size 64 * Data size
63 */ 65 */
64 uint32_t data_size; 66 uint32_t data_size GNUNET_PACKED;
65 67
66 // followed by data_size Attribute value data 68 // followed by data_size Attribute value data
67}; 69};
@@ -74,12 +76,12 @@ struct Attestation
74 /** 76 /**
75 * Attestation type 77 * Attestation type
76 */ 78 */
77 uint32_t attestation_type; 79 uint32_t attestation_type GNUNET_PACKED;
78 80
79 /** 81 /**
80 * Attestation flag 82 * Attestation flag
81 */ 83 */
82 uint32_t attestation_flag; 84 uint32_t attestation_flag GNUNET_PACKED;
83 85
84 /** 86 /**
85 * Attestation ID 87 * Attestation ID
@@ -89,14 +91,16 @@ struct Attestation
89 /** 91 /**
90 * Name length 92 * Name length
91 */ 93 */
92 uint32_t name_len; 94 uint32_t name_len GNUNET_PACKED;
93 95
94 /** 96 /**
95 * Data size 97 * Data size
96 */ 98 */
97 uint32_t data_size; 99 uint32_t data_size GNUNET_PACKED;
98 100
99 // followed by data_size Attestation value data 101 // followed by data_size Attestation value data
100}; 102};
101 103
104GNUNET_NETWORK_STRUCT_BEGIN
105
102#endif 106#endif