aboutsummaryrefslogtreecommitdiff
path: root/src/reclaim/reclaim_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/reclaim/reclaim_api.c')
-rw-r--r--src/reclaim/reclaim_api.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/reclaim/reclaim_api.c b/src/reclaim/reclaim_api.c
index 1e0251519..f4f2b946a 100644
--- a/src/reclaim/reclaim_api.c
+++ b/src/reclaim/reclaim_api.c
@@ -235,7 +235,7 @@ struct GNUNET_RECLAIM_AttributeIterator
235 /** 235 /**
236 * Private key of the zone. 236 * Private key of the zone.
237 */ 237 */
238 struct GNUNET_CRYPTO_EcdsaPrivateKey identity; 238 struct GNUNET_IDENTITY_PrivateKey identity;
239 239
240 /** 240 /**
241 * The operation id this zone iteration operation has 241 * The operation id this zone iteration operation has
@@ -302,7 +302,7 @@ struct GNUNET_RECLAIM_CredentialIterator
302 /** 302 /**
303 * Private key of the zone. 303 * Private key of the zone.
304 */ 304 */
305 struct GNUNET_CRYPTO_EcdsaPrivateKey identity; 305 struct GNUNET_IDENTITY_PrivateKey identity;
306 306
307 /** 307 /**
308 * The operation id this zone iteration operation has 308 * The operation id this zone iteration operation has
@@ -704,7 +704,7 @@ check_attribute_result (void *cls, const struct AttributeResultMessage *msg)
704static void 704static void
705handle_attribute_result (void *cls, const struct AttributeResultMessage *msg) 705handle_attribute_result (void *cls, const struct AttributeResultMessage *msg)
706{ 706{
707 static struct GNUNET_CRYPTO_EcdsaPrivateKey identity_dummy; 707 static struct GNUNET_IDENTITY_PrivateKey identity_dummy;
708 struct GNUNET_RECLAIM_Handle *h = cls; 708 struct GNUNET_RECLAIM_Handle *h = cls;
709 struct GNUNET_RECLAIM_AttributeIterator *it; 709 struct GNUNET_RECLAIM_AttributeIterator *it;
710 struct GNUNET_RECLAIM_Operation *op; 710 struct GNUNET_RECLAIM_Operation *op;
@@ -806,7 +806,7 @@ static void
806handle_credential_result (void *cls, const struct 806handle_credential_result (void *cls, const struct
807 CredentialResultMessage *msg) 807 CredentialResultMessage *msg)
808{ 808{
809 static struct GNUNET_CRYPTO_EcdsaPrivateKey identity_dummy; 809 static struct GNUNET_IDENTITY_PrivateKey identity_dummy;
810 struct GNUNET_RECLAIM_Handle *h = cls; 810 struct GNUNET_RECLAIM_Handle *h = cls;
811 struct GNUNET_RECLAIM_CredentialIterator *it; 811 struct GNUNET_RECLAIM_CredentialIterator *it;
812 struct GNUNET_RECLAIM_Operation *op; 812 struct GNUNET_RECLAIM_Operation *op;
@@ -1134,7 +1134,7 @@ GNUNET_RECLAIM_disconnect (struct GNUNET_RECLAIM_Handle *h)
1134struct GNUNET_RECLAIM_Operation * 1134struct GNUNET_RECLAIM_Operation *
1135GNUNET_RECLAIM_attribute_store ( 1135GNUNET_RECLAIM_attribute_store (
1136 struct GNUNET_RECLAIM_Handle *h, 1136 struct GNUNET_RECLAIM_Handle *h,
1137 const struct GNUNET_CRYPTO_EcdsaPrivateKey *pkey, 1137 const struct GNUNET_IDENTITY_PrivateKey *pkey,
1138 const struct GNUNET_RECLAIM_Attribute *attr, 1138 const struct GNUNET_RECLAIM_Attribute *attr,
1139 const struct GNUNET_TIME_Relative *exp_interval, 1139 const struct GNUNET_TIME_Relative *exp_interval,
1140 GNUNET_RECLAIM_ContinuationWithStatus cont, 1140 GNUNET_RECLAIM_ContinuationWithStatus cont,
@@ -1181,7 +1181,7 @@ GNUNET_RECLAIM_attribute_store (
1181struct GNUNET_RECLAIM_Operation * 1181struct GNUNET_RECLAIM_Operation *
1182GNUNET_RECLAIM_attribute_delete ( 1182GNUNET_RECLAIM_attribute_delete (
1183 struct GNUNET_RECLAIM_Handle *h, 1183 struct GNUNET_RECLAIM_Handle *h,
1184 const struct GNUNET_CRYPTO_EcdsaPrivateKey *pkey, 1184 const struct GNUNET_IDENTITY_PrivateKey *pkey,
1185 const struct GNUNET_RECLAIM_Attribute *attr, 1185 const struct GNUNET_RECLAIM_Attribute *attr,
1186 GNUNET_RECLAIM_ContinuationWithStatus cont, 1186 GNUNET_RECLAIM_ContinuationWithStatus cont,
1187 void *cont_cls) 1187 void *cont_cls)
@@ -1226,7 +1226,7 @@ GNUNET_RECLAIM_attribute_delete (
1226struct GNUNET_RECLAIM_Operation * 1226struct GNUNET_RECLAIM_Operation *
1227GNUNET_RECLAIM_credential_store ( 1227GNUNET_RECLAIM_credential_store (
1228 struct GNUNET_RECLAIM_Handle *h, 1228 struct GNUNET_RECLAIM_Handle *h,
1229 const struct GNUNET_CRYPTO_EcdsaPrivateKey *pkey, 1229 const struct GNUNET_IDENTITY_PrivateKey *pkey,
1230 const struct GNUNET_RECLAIM_Credential *attr, 1230 const struct GNUNET_RECLAIM_Credential *attr,
1231 const struct GNUNET_TIME_Relative *exp_interval, 1231 const struct GNUNET_TIME_Relative *exp_interval,
1232 GNUNET_RECLAIM_ContinuationWithStatus cont, 1232 GNUNET_RECLAIM_ContinuationWithStatus cont,
@@ -1273,7 +1273,7 @@ GNUNET_RECLAIM_credential_store (
1273struct GNUNET_RECLAIM_Operation * 1273struct GNUNET_RECLAIM_Operation *
1274GNUNET_RECLAIM_credential_delete ( 1274GNUNET_RECLAIM_credential_delete (
1275 struct GNUNET_RECLAIM_Handle *h, 1275 struct GNUNET_RECLAIM_Handle *h,
1276 const struct GNUNET_CRYPTO_EcdsaPrivateKey *pkey, 1276 const struct GNUNET_IDENTITY_PrivateKey *pkey,
1277 const struct GNUNET_RECLAIM_Credential *attr, 1277 const struct GNUNET_RECLAIM_Credential *attr,
1278 GNUNET_RECLAIM_ContinuationWithStatus cont, 1278 GNUNET_RECLAIM_ContinuationWithStatus cont,
1279 void *cont_cls) 1279 void *cont_cls)
@@ -1330,7 +1330,7 @@ GNUNET_RECLAIM_credential_delete (
1330struct GNUNET_RECLAIM_AttributeIterator * 1330struct GNUNET_RECLAIM_AttributeIterator *
1331GNUNET_RECLAIM_get_attributes_start ( 1331GNUNET_RECLAIM_get_attributes_start (
1332 struct GNUNET_RECLAIM_Handle *h, 1332 struct GNUNET_RECLAIM_Handle *h,
1333 const struct GNUNET_CRYPTO_EcdsaPrivateKey *identity, 1333 const struct GNUNET_IDENTITY_PrivateKey *identity,
1334 GNUNET_SCHEDULER_TaskCallback error_cb, 1334 GNUNET_SCHEDULER_TaskCallback error_cb,
1335 void *error_cb_cls, 1335 void *error_cb_cls,
1336 GNUNET_RECLAIM_AttributeResult proc, 1336 GNUNET_RECLAIM_AttributeResult proc,
@@ -1439,7 +1439,7 @@ GNUNET_RECLAIM_get_attributes_stop (struct GNUNET_RECLAIM_AttributeIterator *it)
1439struct GNUNET_RECLAIM_CredentialIterator * 1439struct GNUNET_RECLAIM_CredentialIterator *
1440GNUNET_RECLAIM_get_credentials_start ( 1440GNUNET_RECLAIM_get_credentials_start (
1441 struct GNUNET_RECLAIM_Handle *h, 1441 struct GNUNET_RECLAIM_Handle *h,
1442 const struct GNUNET_CRYPTO_EcdsaPrivateKey *identity, 1442 const struct GNUNET_IDENTITY_PrivateKey *identity,
1443 GNUNET_SCHEDULER_TaskCallback error_cb, 1443 GNUNET_SCHEDULER_TaskCallback error_cb,
1444 void *error_cb_cls, 1444 void *error_cb_cls,
1445 GNUNET_RECLAIM_CredentialResult proc, 1445 GNUNET_RECLAIM_CredentialResult proc,
@@ -1541,8 +1541,8 @@ GNUNET_RECLAIM_get_credentials_stop (struct
1541struct GNUNET_RECLAIM_Operation * 1541struct GNUNET_RECLAIM_Operation *
1542GNUNET_RECLAIM_ticket_issue ( 1542GNUNET_RECLAIM_ticket_issue (
1543 struct GNUNET_RECLAIM_Handle *h, 1543 struct GNUNET_RECLAIM_Handle *h,
1544 const struct GNUNET_CRYPTO_EcdsaPrivateKey *iss, 1544 const struct GNUNET_IDENTITY_PrivateKey *iss,
1545 const struct GNUNET_CRYPTO_EcdsaPublicKey *rp, 1545 const struct GNUNET_IDENTITY_PublicKey *rp,
1546 const struct GNUNET_RECLAIM_AttributeList *attrs, 1546 const struct GNUNET_RECLAIM_AttributeList *attrs,
1547 GNUNET_RECLAIM_IssueTicketCallback cb, 1547 GNUNET_RECLAIM_IssueTicketCallback cb,
1548 void *cb_cls) 1548 void *cb_cls)
@@ -1590,7 +1590,7 @@ GNUNET_RECLAIM_ticket_issue (
1590struct GNUNET_RECLAIM_Operation * 1590struct GNUNET_RECLAIM_Operation *
1591GNUNET_RECLAIM_ticket_consume ( 1591GNUNET_RECLAIM_ticket_consume (
1592 struct GNUNET_RECLAIM_Handle *h, 1592 struct GNUNET_RECLAIM_Handle *h,
1593 const struct GNUNET_CRYPTO_EcdsaPrivateKey *identity, 1593 const struct GNUNET_IDENTITY_PrivateKey *identity,
1594 const struct GNUNET_RECLAIM_Ticket *ticket, 1594 const struct GNUNET_RECLAIM_Ticket *ticket,
1595 GNUNET_RECLAIM_AttributeTicketResult cb, 1595 GNUNET_RECLAIM_AttributeTicketResult cb,
1596 void *cb_cls) 1596 void *cb_cls)
@@ -1636,7 +1636,7 @@ GNUNET_RECLAIM_ticket_consume (
1636struct GNUNET_RECLAIM_TicketIterator * 1636struct GNUNET_RECLAIM_TicketIterator *
1637GNUNET_RECLAIM_ticket_iteration_start ( 1637GNUNET_RECLAIM_ticket_iteration_start (
1638 struct GNUNET_RECLAIM_Handle *h, 1638 struct GNUNET_RECLAIM_Handle *h,
1639 const struct GNUNET_CRYPTO_EcdsaPrivateKey *identity, 1639 const struct GNUNET_IDENTITY_PrivateKey *identity,
1640 GNUNET_SCHEDULER_TaskCallback error_cb, 1640 GNUNET_SCHEDULER_TaskCallback error_cb,
1641 void *error_cb_cls, 1641 void *error_cb_cls,
1642 GNUNET_RECLAIM_TicketCallback proc, 1642 GNUNET_RECLAIM_TicketCallback proc,
@@ -1731,7 +1731,7 @@ GNUNET_RECLAIM_ticket_iteration_stop (struct GNUNET_RECLAIM_TicketIterator *it)
1731struct GNUNET_RECLAIM_Operation * 1731struct GNUNET_RECLAIM_Operation *
1732GNUNET_RECLAIM_ticket_revoke ( 1732GNUNET_RECLAIM_ticket_revoke (
1733 struct GNUNET_RECLAIM_Handle *h, 1733 struct GNUNET_RECLAIM_Handle *h,
1734 const struct GNUNET_CRYPTO_EcdsaPrivateKey *identity, 1734 const struct GNUNET_IDENTITY_PrivateKey *identity,
1735 const struct GNUNET_RECLAIM_Ticket *ticket, 1735 const struct GNUNET_RECLAIM_Ticket *ticket,
1736 GNUNET_RECLAIM_ContinuationWithStatus cb, 1736 GNUNET_RECLAIM_ContinuationWithStatus cb,
1737 void *cb_cls) 1737 void *cb_cls)