diff options
Diffstat (limited to 'src/include/gnunet_reclaim_service.h')
-rw-r--r-- | src/include/gnunet_reclaim_service.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/include/gnunet_reclaim_service.h b/src/include/gnunet_reclaim_service.h index 49a006e91..a8ab8776e 100644 --- a/src/include/gnunet_reclaim_service.h +++ b/src/include/gnunet_reclaim_service.h | |||
@@ -74,12 +74,12 @@ struct GNUNET_RECLAIM_Ticket | |||
74 | /** | 74 | /** |
75 | * The ticket issuer (= the user) | 75 | * The ticket issuer (= the user) |
76 | */ | 76 | */ |
77 | struct GNUNET_IDENTITY_PublicKey identity; | 77 | struct GNUNET_CRYPTO_PublicKey identity; |
78 | 78 | ||
79 | /** | 79 | /** |
80 | * The ticket audience (= relying party) | 80 | * The ticket audience (= relying party) |
81 | */ | 81 | */ |
82 | struct GNUNET_IDENTITY_PublicKey audience; | 82 | struct GNUNET_CRYPTO_PublicKey audience; |
83 | 83 | ||
84 | /** | 84 | /** |
85 | * The ticket random identifier | 85 | * The ticket random identifier |
@@ -134,7 +134,7 @@ typedef void (*GNUNET_RECLAIM_ContinuationWithStatus) (void *cls, | |||
134 | * @param attr The attribute | 134 | * @param attr The attribute |
135 | */ | 135 | */ |
136 | typedef void (*GNUNET_RECLAIM_AttributeResult) ( | 136 | typedef void (*GNUNET_RECLAIM_AttributeResult) ( |
137 | void *cls, const struct GNUNET_IDENTITY_PublicKey *identity, | 137 | void *cls, const struct GNUNET_CRYPTO_PublicKey *identity, |
138 | const struct GNUNET_RECLAIM_Attribute *attr); | 138 | const struct GNUNET_RECLAIM_Attribute *attr); |
139 | 139 | ||
140 | /** | 140 | /** |
@@ -146,7 +146,7 @@ typedef void (*GNUNET_RECLAIM_AttributeResult) ( | |||
146 | * @param presentation The presentation for the credential (may be NULL) | 146 | * @param presentation The presentation for the credential (may be NULL) |
147 | */ | 147 | */ |
148 | typedef void (*GNUNET_RECLAIM_AttributeTicketResult) ( | 148 | typedef void (*GNUNET_RECLAIM_AttributeTicketResult) ( |
149 | void *cls, const struct GNUNET_IDENTITY_PublicKey *identity, | 149 | void *cls, const struct GNUNET_CRYPTO_PublicKey *identity, |
150 | const struct GNUNET_RECLAIM_Attribute *attr, | 150 | const struct GNUNET_RECLAIM_Attribute *attr, |
151 | const struct GNUNET_RECLAIM_Presentation *presentation); | 151 | const struct GNUNET_RECLAIM_Presentation *presentation); |
152 | 152 | ||
@@ -160,7 +160,7 @@ typedef void (*GNUNET_RECLAIM_AttributeTicketResult) ( | |||
160 | * @param attributes the parsed attributes | 160 | * @param attributes the parsed attributes |
161 | */ | 161 | */ |
162 | typedef void (*GNUNET_RECLAIM_CredentialResult) ( | 162 | typedef void (*GNUNET_RECLAIM_CredentialResult) ( |
163 | void *cls, const struct GNUNET_IDENTITY_PublicKey *identity, | 163 | void *cls, const struct GNUNET_CRYPTO_PublicKey *identity, |
164 | const struct GNUNET_RECLAIM_Credential *credential); | 164 | const struct GNUNET_RECLAIM_Credential *credential); |
165 | 165 | ||
166 | 166 | ||
@@ -189,7 +189,7 @@ GNUNET_RECLAIM_connect (const struct GNUNET_CONFIGURATION_Handle *cfg); | |||
189 | struct GNUNET_RECLAIM_Operation * | 189 | struct GNUNET_RECLAIM_Operation * |
190 | GNUNET_RECLAIM_attribute_store ( | 190 | GNUNET_RECLAIM_attribute_store ( |
191 | struct GNUNET_RECLAIM_Handle *h, | 191 | struct GNUNET_RECLAIM_Handle *h, |
192 | const struct GNUNET_IDENTITY_PrivateKey *pkey, | 192 | const struct GNUNET_CRYPTO_PrivateKey *pkey, |
193 | const struct GNUNET_RECLAIM_Attribute *attr, | 193 | const struct GNUNET_RECLAIM_Attribute *attr, |
194 | const struct GNUNET_TIME_Relative *exp_interval, | 194 | const struct GNUNET_TIME_Relative *exp_interval, |
195 | GNUNET_RECLAIM_ContinuationWithStatus cont, void *cont_cls); | 195 | GNUNET_RECLAIM_ContinuationWithStatus cont, void *cont_cls); |
@@ -210,7 +210,7 @@ GNUNET_RECLAIM_attribute_store ( | |||
210 | struct GNUNET_RECLAIM_Operation * | 210 | struct GNUNET_RECLAIM_Operation * |
211 | GNUNET_RECLAIM_credential_store ( | 211 | GNUNET_RECLAIM_credential_store ( |
212 | struct GNUNET_RECLAIM_Handle *h, | 212 | struct GNUNET_RECLAIM_Handle *h, |
213 | const struct GNUNET_IDENTITY_PrivateKey *pkey, | 213 | const struct GNUNET_CRYPTO_PrivateKey *pkey, |
214 | const struct GNUNET_RECLAIM_Credential *credential, | 214 | const struct GNUNET_RECLAIM_Credential *credential, |
215 | const struct GNUNET_TIME_Relative *exp_interval, | 215 | const struct GNUNET_TIME_Relative *exp_interval, |
216 | GNUNET_RECLAIM_ContinuationWithStatus cont, | 216 | GNUNET_RECLAIM_ContinuationWithStatus cont, |
@@ -231,7 +231,7 @@ GNUNET_RECLAIM_credential_store ( | |||
231 | struct GNUNET_RECLAIM_Operation * | 231 | struct GNUNET_RECLAIM_Operation * |
232 | GNUNET_RECLAIM_attribute_delete ( | 232 | GNUNET_RECLAIM_attribute_delete ( |
233 | struct GNUNET_RECLAIM_Handle *h, | 233 | struct GNUNET_RECLAIM_Handle *h, |
234 | const struct GNUNET_IDENTITY_PrivateKey *pkey, | 234 | const struct GNUNET_CRYPTO_PrivateKey *pkey, |
235 | const struct GNUNET_RECLAIM_Attribute *attr, | 235 | const struct GNUNET_RECLAIM_Attribute *attr, |
236 | GNUNET_RECLAIM_ContinuationWithStatus cont, void *cont_cls); | 236 | GNUNET_RECLAIM_ContinuationWithStatus cont, void *cont_cls); |
237 | 237 | ||
@@ -249,7 +249,7 @@ GNUNET_RECLAIM_attribute_delete ( | |||
249 | struct GNUNET_RECLAIM_Operation * | 249 | struct GNUNET_RECLAIM_Operation * |
250 | GNUNET_RECLAIM_credential_delete ( | 250 | GNUNET_RECLAIM_credential_delete ( |
251 | struct GNUNET_RECLAIM_Handle *h, | 251 | struct GNUNET_RECLAIM_Handle *h, |
252 | const struct GNUNET_IDENTITY_PrivateKey *pkey, | 252 | const struct GNUNET_CRYPTO_PrivateKey *pkey, |
253 | const struct GNUNET_RECLAIM_Credential *cred, | 253 | const struct GNUNET_RECLAIM_Credential *cred, |
254 | GNUNET_RECLAIM_ContinuationWithStatus cont, | 254 | GNUNET_RECLAIM_ContinuationWithStatus cont, |
255 | void *cont_cls); | 255 | void *cont_cls); |
@@ -281,7 +281,7 @@ GNUNET_RECLAIM_credential_delete ( | |||
281 | struct GNUNET_RECLAIM_AttributeIterator * | 281 | struct GNUNET_RECLAIM_AttributeIterator * |
282 | GNUNET_RECLAIM_get_attributes_start ( | 282 | GNUNET_RECLAIM_get_attributes_start ( |
283 | struct GNUNET_RECLAIM_Handle *h, | 283 | struct GNUNET_RECLAIM_Handle *h, |
284 | const struct GNUNET_IDENTITY_PrivateKey *identity, | 284 | const struct GNUNET_CRYPTO_PrivateKey *identity, |
285 | GNUNET_SCHEDULER_TaskCallback error_cb, void *error_cb_cls, | 285 | GNUNET_SCHEDULER_TaskCallback error_cb, void *error_cb_cls, |
286 | GNUNET_RECLAIM_AttributeResult proc, void *proc_cls, | 286 | GNUNET_RECLAIM_AttributeResult proc, void *proc_cls, |
287 | GNUNET_SCHEDULER_TaskCallback finish_cb, void *finish_cb_cls); | 287 | GNUNET_SCHEDULER_TaskCallback finish_cb, void *finish_cb_cls); |
@@ -337,7 +337,7 @@ GNUNET_RECLAIM_get_attributes_stop ( | |||
337 | struct GNUNET_RECLAIM_CredentialIterator * | 337 | struct GNUNET_RECLAIM_CredentialIterator * |
338 | GNUNET_RECLAIM_get_credentials_start ( | 338 | GNUNET_RECLAIM_get_credentials_start ( |
339 | struct GNUNET_RECLAIM_Handle *h, | 339 | struct GNUNET_RECLAIM_Handle *h, |
340 | const struct GNUNET_IDENTITY_PrivateKey *identity, | 340 | const struct GNUNET_CRYPTO_PrivateKey *identity, |
341 | GNUNET_SCHEDULER_TaskCallback error_cb, | 341 | GNUNET_SCHEDULER_TaskCallback error_cb, |
342 | void *error_cb_cls, | 342 | void *error_cb_cls, |
343 | GNUNET_RECLAIM_CredentialResult proc, | 343 | GNUNET_RECLAIM_CredentialResult proc, |
@@ -385,8 +385,8 @@ GNUNET_RECLAIM_get_credentials_stop ( | |||
385 | struct GNUNET_RECLAIM_Operation * | 385 | struct GNUNET_RECLAIM_Operation * |
386 | GNUNET_RECLAIM_ticket_issue ( | 386 | GNUNET_RECLAIM_ticket_issue ( |
387 | struct GNUNET_RECLAIM_Handle *h, | 387 | struct GNUNET_RECLAIM_Handle *h, |
388 | const struct GNUNET_IDENTITY_PrivateKey *iss, | 388 | const struct GNUNET_CRYPTO_PrivateKey *iss, |
389 | const struct GNUNET_IDENTITY_PublicKey *rp, | 389 | const struct GNUNET_CRYPTO_PublicKey *rp, |
390 | const struct GNUNET_RECLAIM_AttributeList *attrs, | 390 | const struct GNUNET_RECLAIM_AttributeList *attrs, |
391 | GNUNET_RECLAIM_IssueTicketCallback cb, void *cb_cls); | 391 | GNUNET_RECLAIM_IssueTicketCallback cb, void *cb_cls); |
392 | 392 | ||
@@ -407,7 +407,7 @@ GNUNET_RECLAIM_ticket_issue ( | |||
407 | struct GNUNET_RECLAIM_Operation * | 407 | struct GNUNET_RECLAIM_Operation * |
408 | GNUNET_RECLAIM_ticket_revoke ( | 408 | GNUNET_RECLAIM_ticket_revoke ( |
409 | struct GNUNET_RECLAIM_Handle *h, | 409 | struct GNUNET_RECLAIM_Handle *h, |
410 | const struct GNUNET_IDENTITY_PrivateKey *identity, | 410 | const struct GNUNET_CRYPTO_PrivateKey *identity, |
411 | const struct GNUNET_RECLAIM_Ticket *ticket, | 411 | const struct GNUNET_RECLAIM_Ticket *ticket, |
412 | GNUNET_RECLAIM_ContinuationWithStatus cb, void *cb_cls); | 412 | GNUNET_RECLAIM_ContinuationWithStatus cb, void *cb_cls); |
413 | 413 | ||
@@ -427,7 +427,7 @@ GNUNET_RECLAIM_ticket_revoke ( | |||
427 | struct GNUNET_RECLAIM_Operation * | 427 | struct GNUNET_RECLAIM_Operation * |
428 | GNUNET_RECLAIM_ticket_consume ( | 428 | GNUNET_RECLAIM_ticket_consume ( |
429 | struct GNUNET_RECLAIM_Handle *h, | 429 | struct GNUNET_RECLAIM_Handle *h, |
430 | const struct GNUNET_IDENTITY_PrivateKey *identity, | 430 | const struct GNUNET_CRYPTO_PrivateKey *identity, |
431 | const struct GNUNET_RECLAIM_Ticket *ticket, | 431 | const struct GNUNET_RECLAIM_Ticket *ticket, |
432 | GNUNET_RECLAIM_AttributeTicketResult cb, void *cb_cls); | 432 | GNUNET_RECLAIM_AttributeTicketResult cb, void *cb_cls); |
433 | 433 | ||
@@ -452,7 +452,7 @@ GNUNET_RECLAIM_ticket_consume ( | |||
452 | struct GNUNET_RECLAIM_TicketIterator * | 452 | struct GNUNET_RECLAIM_TicketIterator * |
453 | GNUNET_RECLAIM_ticket_iteration_start ( | 453 | GNUNET_RECLAIM_ticket_iteration_start ( |
454 | struct GNUNET_RECLAIM_Handle *h, | 454 | struct GNUNET_RECLAIM_Handle *h, |
455 | const struct GNUNET_IDENTITY_PrivateKey *identity, | 455 | const struct GNUNET_CRYPTO_PrivateKey *identity, |
456 | GNUNET_SCHEDULER_TaskCallback error_cb, void *error_cb_cls, | 456 | GNUNET_SCHEDULER_TaskCallback error_cb, void *error_cb_cls, |
457 | GNUNET_RECLAIM_TicketCallback proc, void *proc_cls, | 457 | GNUNET_RECLAIM_TicketCallback proc, void *proc_cls, |
458 | GNUNET_SCHEDULER_TaskCallback finish_cb, void *finish_cb_cls); | 458 | GNUNET_SCHEDULER_TaskCallback finish_cb, void *finish_cb_cls); |