diff options
Diffstat (limited to 'src/include/gnunet_credential_service.h')
-rw-r--r-- | src/include/gnunet_credential_service.h | 24 |
1 files changed, 5 insertions, 19 deletions
diff --git a/src/include/gnunet_credential_service.h b/src/include/gnunet_credential_service.h index b28d90140..7419407d3 100644 --- a/src/include/gnunet_credential_service.h +++ b/src/include/gnunet_credential_service.h | |||
@@ -112,22 +112,6 @@ struct GNUNET_CREDENTIAL_CredentialRecordData { | |||
112 | /** | 112 | /** |
113 | * The attribute delegation record | 113 | * The attribute delegation record |
114 | */ | 114 | */ |
115 | struct GNUNET_CREDENTIAL_AttributeRecordData { | ||
116 | |||
117 | /** | ||
118 | * Public key of the subject this attribute was delegated to | ||
119 | */ | ||
120 | struct GNUNET_CRYPTO_EcdsaPublicKey subject_key; | ||
121 | |||
122 | /** | ||
123 | * Followed by the attribute that was delegated to as string | ||
124 | * May be empty | ||
125 | */ | ||
126 | }; | ||
127 | |||
128 | /** | ||
129 | * The attribute delegation record | ||
130 | */ | ||
131 | struct GNUNET_CREDENTIAL_DelegationRecordData { | 115 | struct GNUNET_CREDENTIAL_DelegationRecordData { |
132 | 116 | ||
133 | uint32_t set_count; | 117 | uint32_t set_count; |
@@ -257,13 +241,15 @@ GNUNET_CREDENTIAL_disconnect (struct GNUNET_CREDENTIAL_Handle *handle); | |||
257 | * Iterator called on obtained result for an attribute verification. | 241 | * Iterator called on obtained result for an attribute verification. |
258 | * | 242 | * |
259 | * @param cls closure | 243 | * @param cls closure |
260 | * @param issuer the issuer of the attribute NULL if verification failed | 244 | * @param d_count the number of delegations processed |
261 | * @param result the result of the verification | 245 | * @param delegation_chain the delegations processed |
262 | * @param rd the records in reply | 246 | * @param c_count the number of credentials found |
247 | * @param credential the credentials | ||
263 | */ | 248 | */ |
264 | typedef void (*GNUNET_CREDENTIAL_VerifyResultProcessor) (void *cls, | 249 | typedef void (*GNUNET_CREDENTIAL_VerifyResultProcessor) (void *cls, |
265 | unsigned int d_count, | 250 | unsigned int d_count, |
266 | struct GNUNET_CREDENTIAL_Delegation *delegation_chain, | 251 | struct GNUNET_CREDENTIAL_Delegation *delegation_chain, |
252 | unsigned int c_count, | ||
267 | struct GNUNET_CREDENTIAL_Credential *credential); | 253 | struct GNUNET_CREDENTIAL_Credential *credential); |
268 | 254 | ||
269 | /** | 255 | /** |