aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_reclaim_service.h
diff options
context:
space:
mode:
authorMarkus Voggenreiter <Markus.Voggenreiter@tum.de>2019-10-13 16:31:17 +0200
committerSchanzenbach, Martin <mschanzenbach@posteo.de>2020-01-13 13:31:02 +0100
commit2c65283b0bd97a8719f4c71aee8cc091a491129a (patch)
tree61f1644f36c111342edbd1d19dfd3212b659da04 /src/include/gnunet_reclaim_service.h
parentd5178cdc05a0d91293d9ee2cef45ab9a1c515bac (diff)
downloadgnunet-2c65283b0bd97a8719f4c71aee8cc091a491129a.tar.gz
gnunet-2c65283b0bd97a8719f4c71aee8cc091a491129a.zip
Add Attestations via Reclaim Service
Diffstat (limited to 'src/include/gnunet_reclaim_service.h')
-rw-r--r--src/include/gnunet_reclaim_service.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/include/gnunet_reclaim_service.h b/src/include/gnunet_reclaim_service.h
index 237d791d9..a9061d6e8 100644
--- a/src/include/gnunet_reclaim_service.h
+++ b/src/include/gnunet_reclaim_service.h
@@ -152,6 +152,28 @@ GNUNET_RECLAIM_attribute_store (
152 152
153 153
154/** 154/**
155 * Store an attestation. If the attestation is already present,
156 * it is replaced with the new attestation.
157 *
158 * @param h handle to the re:claimID service
159 * @param pkey private key of the identity
160 * @param attr the attestation value
161 * @param exp_interval the relative expiration interval for the attestation
162 * @param cont continuation to call when done
163 * @param cont_cls closure for @a cont
164 * @return handle to abort the request
165 */
166struct GNUNET_RECLAIM_Operation *
167GNUNET_RECLAIM_attestation_store (
168 struct GNUNET_RECLAIM_Handle *h,
169 const struct GNUNET_CRYPTO_EcdsaPrivateKey *pkey,
170 const struct GNUNET_RECLAIM_ATTESTATION_Claim *attr,
171 const struct GNUNET_TIME_Relative *exp_interval,
172 GNUNET_RECLAIM_ContinuationWithStatus cont,
173 void *cont_cls);
174
175
176/**
155 * Delete an attribute. Tickets used to share this attribute are updated 177 * Delete an attribute. Tickets used to share this attribute are updated
156 * accordingly. 178 * accordingly.
157 * 179 *