diff options
Diffstat (limited to 'src/reclaim/reclaim_attribute.h')
-rw-r--r-- | src/reclaim/reclaim_attribute.h | 37 |
1 files changed, 2 insertions, 35 deletions
diff --git a/src/reclaim/reclaim_attribute.h b/src/reclaim/reclaim_attribute.h index 203c88a34..285d75d83 100644 --- a/src/reclaim/reclaim_attribute.h +++ b/src/reclaim/reclaim_attribute.h | |||
@@ -51,9 +51,9 @@ struct Attribute | |||
51 | struct GNUNET_RECLAIM_Identifier attribute_id; | 51 | struct GNUNET_RECLAIM_Identifier attribute_id; |
52 | 52 | ||
53 | /** | 53 | /** |
54 | * Attestation ID | 54 | * Credential ID |
55 | */ | 55 | */ |
56 | struct GNUNET_RECLAIM_Identifier attestation_id; | 56 | struct GNUNET_RECLAIM_Identifier credential_id; |
57 | 57 | ||
58 | /** | 58 | /** |
59 | * Name length | 59 | * Name length |
@@ -68,39 +68,6 @@ struct Attribute | |||
68 | // followed by data_size Attribute value data | 68 | // followed by data_size Attribute value data |
69 | }; | 69 | }; |
70 | 70 | ||
71 | /** | ||
72 | * Serialized attestation claim | ||
73 | */ | ||
74 | struct Attestation | ||
75 | { | ||
76 | /** | ||
77 | * Attestation type | ||
78 | */ | ||
79 | uint32_t attestation_type GNUNET_PACKED; | ||
80 | |||
81 | /** | ||
82 | * Attestation flag | ||
83 | */ | ||
84 | uint32_t attestation_flag GNUNET_PACKED; | ||
85 | |||
86 | /** | ||
87 | * Attestation ID | ||
88 | */ | ||
89 | struct GNUNET_RECLAIM_Identifier attestation_id; | ||
90 | |||
91 | /** | ||
92 | * Name length | ||
93 | */ | ||
94 | uint32_t name_len GNUNET_PACKED; | ||
95 | |||
96 | /** | ||
97 | * Data size | ||
98 | */ | ||
99 | uint32_t data_size GNUNET_PACKED; | ||
100 | |||
101 | // followed by data_size Attestation value data | ||
102 | }; | ||
103 | |||
104 | GNUNET_NETWORK_STRUCT_BEGIN | 71 | GNUNET_NETWORK_STRUCT_BEGIN |
105 | 72 | ||
106 | #endif | 73 | #endif |