aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_reclaim_service.h
diff options
context:
space:
mode:
authorMarkus Voggenreiter <Markus.Voggenreiter@tum.de>2019-10-15 09:32:16 +0200
committerSchanzenbach, Martin <mschanzenbach@posteo.de>2020-01-13 13:31:02 +0100
commit0def2d57eabbf00947ede47b0e968c0a395ace50 (patch)
treeb93af20c076aa365df68356fa107d1689d918a8a /src/include/gnunet_reclaim_service.h
parent2c65283b0bd97a8719f4c71aee8cc091a491129a (diff)
downloadgnunet-0def2d57eabbf00947ede47b0e968c0a395ace50.tar.gz
gnunet-0def2d57eabbf00947ede47b0e968c0a395ace50.zip
Delete Attestation via Service
Diffstat (limited to 'src/include/gnunet_reclaim_service.h')
-rw-r--r--src/include/gnunet_reclaim_service.h19
1 files changed, 18 insertions, 1 deletions
diff --git a/src/include/gnunet_reclaim_service.h b/src/include/gnunet_reclaim_service.h
index a9061d6e8..0f63b0c96 100644
--- a/src/include/gnunet_reclaim_service.h
+++ b/src/include/gnunet_reclaim_service.h
@@ -191,7 +191,24 @@ GNUNET_RECLAIM_attribute_delete (
191 const struct GNUNET_RECLAIM_ATTRIBUTE_Claim *attr, 191 const struct GNUNET_RECLAIM_ATTRIBUTE_Claim *attr,
192 GNUNET_RECLAIM_ContinuationWithStatus cont, void *cont_cls); 192 GNUNET_RECLAIM_ContinuationWithStatus cont, void *cont_cls);
193 193
194 194/**
195 * Delete an attestation. Tickets used to share this attestation are updated
196 * accordingly.
197 *
198 * @param h handle to the re:claimID service
199 * @param pkey Private key of the identity to add an attribute to
200 * @param attr The attestation
201 * @param cont Continuation to call when done
202 * @param cont_cls Closure for @a cont
203 * @return handle Used to to abort the request
204 */
205struct GNUNET_RECLAIM_Operation *
206GNUNET_RECLAIM_attestation_delete (
207 struct GNUNET_RECLAIM_Handle *h,
208 const struct GNUNET_CRYPTO_EcdsaPrivateKey *pkey,
209 const struct GNUNET_RECLAIM_ATTESTATION_Claim *attr,
210 GNUNET_RECLAIM_ContinuationWithStatus cont,
211 void *cont_cls);
195/** 212/**
196 * List all attributes for a local identity. 213 * List all attributes for a local identity.
197 * This MUST lock the `struct GNUNET_RECLAIM_Handle` 214 * This MUST lock the `struct GNUNET_RECLAIM_Handle`