diff options
Diffstat (limited to 'src/include/gnunet_credential_service.h')
-rw-r--r-- | src/include/gnunet_credential_service.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/include/gnunet_credential_service.h b/src/include/gnunet_credential_service.h index be682c3b5..fdee3b641 100644 --- a/src/include/gnunet_credential_service.h +++ b/src/include/gnunet_credential_service.h | |||
@@ -259,7 +259,10 @@ typedef void (*GNUNET_CREDENTIAL_CredentialResultProcessor) (void *cls, | |||
259 | unsigned int d_count, | 259 | unsigned int d_count, |
260 | struct GNUNET_CREDENTIAL_Delegation *delegation_chain, | 260 | struct GNUNET_CREDENTIAL_Delegation *delegation_chain, |
261 | unsigned int c_count, | 261 | unsigned int c_count, |
262 | struct GNUNET_CREDENTIAL_Delegate *credential); | 262 | struct GNUNET_CREDENTIAL_Delegate *delegte); |
263 | |||
264 | typedef void (*GNUNET_CREDENTIAL_IntermediateResultProcessor) (void *cls, | ||
265 | struct GNUNET_CREDENTIAL_Delegation *delegation); | ||
263 | 266 | ||
264 | /** | 267 | /** |
265 | * Iterator called on obtained result for an attribute delegation. | 268 | * Iterator called on obtained result for an attribute delegation. |
@@ -309,7 +312,9 @@ GNUNET_CREDENTIAL_verify (struct GNUNET_CREDENTIAL_Handle *handle, | |||
309 | const struct GNUNET_CREDENTIAL_Delegate *delegates, | 312 | const struct GNUNET_CREDENTIAL_Delegate *delegates, |
310 | enum GNUNET_CREDENTIAL_AlgoDirectionFlags direction, | 313 | enum GNUNET_CREDENTIAL_AlgoDirectionFlags direction, |
311 | GNUNET_CREDENTIAL_CredentialResultProcessor proc, | 314 | GNUNET_CREDENTIAL_CredentialResultProcessor proc, |
312 | void *proc_cls); | 315 | void *proc_cls, |
316 | GNUNET_CREDENTIAL_IntermediateResultProcessor, | ||
317 | void *proc2_cls); | ||
313 | 318 | ||
314 | struct GNUNET_CREDENTIAL_Request* | 319 | struct GNUNET_CREDENTIAL_Request* |
315 | GNUNET_CREDENTIAL_collect (struct GNUNET_CREDENTIAL_Handle *handle, | 320 | GNUNET_CREDENTIAL_collect (struct GNUNET_CREDENTIAL_Handle *handle, |
@@ -318,7 +323,9 @@ GNUNET_CREDENTIAL_collect (struct GNUNET_CREDENTIAL_Handle *handle, | |||
318 | const struct GNUNET_CRYPTO_EcdsaPrivateKey *subject_key, | 323 | const struct GNUNET_CRYPTO_EcdsaPrivateKey *subject_key, |
319 | enum GNUNET_CREDENTIAL_AlgoDirectionFlags direction, | 324 | enum GNUNET_CREDENTIAL_AlgoDirectionFlags direction, |
320 | GNUNET_CREDENTIAL_CredentialResultProcessor proc, | 325 | GNUNET_CREDENTIAL_CredentialResultProcessor proc, |
321 | void *proc_cls); | 326 | void *proc_cls, |
327 | GNUNET_CREDENTIAL_IntermediateResultProcessor, | ||
328 | void *proc2_cls); | ||
322 | 329 | ||
323 | /** | 330 | /** |
324 | * Delegate an attribute | 331 | * Delegate an attribute |