diff options
author | Andreas Ebner <pansy007@googlemail.com> | 2019-08-25 12:23:33 +0200 |
---|---|---|
committer | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2019-10-07 12:17:29 +0200 |
commit | d4790594a33a4688641f66841f05533b3c0956b9 (patch) | |
tree | ee136e65e4154a7d4bb6eb947f19b631329cdce2 /src/credential/credential.h | |
parent | 418b7f2cef91e344672edf3926b82a5a3043e9ba (diff) | |
download | gnunet-d4790594a33a4688641f66841f05533b3c0956b9.tar.gz gnunet-d4790594a33a4688641f66841f05533b3c0956b9.zip |
Introduction of intermediate result reporting, removed some stuff, new test:
- new message, message type and api function to handle intermediate result reporting
- removed GNUNET_SIGNATURE_PURPOSE_CREDENTIAL completely and the one usage that was still around
- new test: AND with both parts having a bidirectional forward match
Diffstat (limited to 'src/credential/credential.h')
-rw-r--r-- | src/credential/credential.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/credential/credential.h b/src/credential/credential.h index 43ecec73f..504c7b464 100644 --- a/src/credential/credential.h +++ b/src/credential/credential.h | |||
@@ -145,6 +145,24 @@ struct DelegationChainResultMessage | |||
145 | /* followed by ad_count GNUNET_CREDENTIAL_RecordData structs*/ | 145 | /* followed by ad_count GNUNET_CREDENTIAL_RecordData structs*/ |
146 | }; | 146 | }; |
147 | 147 | ||
148 | /** | ||
149 | * Message from CREDENTIAL service to client: new results. | ||
150 | */ | ||
151 | struct DelegationChainIntermediateMessage | ||
152 | { | ||
153 | /** | ||
154 | * Header of type #GNUNET_MESSAGE_TYPE_CREDENTIAL_INTERMEDIATE_RESULT | ||
155 | */ | ||
156 | struct GNUNET_MessageHeader header; | ||
157 | |||
158 | /** | ||
159 | * Unique identifier for this request (for key collisions). | ||
160 | */ | ||
161 | uint32_t id GNUNET_PACKED; | ||
162 | |||
163 | uint32_t size GNUNET_PACKED; | ||
164 | }; | ||
165 | |||
148 | struct DelegationRecordData | 166 | struct DelegationRecordData |
149 | { | 167 | { |
150 | /** | 168 | /** |