aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_reclaim_service.h
diff options
context:
space:
mode:
authorSchanzenbach, Martin <mschanzenbach@posteo.de>2019-04-14 15:23:44 +0200
committerSchanzenbach, Martin <mschanzenbach@posteo.de>2019-04-14 15:23:44 +0200
commit494af3383d2a5d3402e1f03209cb574af86079a8 (patch)
tree6b457d61846e2f18c3f1b4ace0e3e58480e3e15c /src/include/gnunet_reclaim_service.h
parenta277e037fefe605c93d81869ac514f87cad25768 (diff)
downloadgnunet-494af3383d2a5d3402e1f03209cb574af86079a8.tar.gz
gnunet-494af3383d2a5d3402e1f03209cb574af86079a8.zip
RECLAIM: bugfixes; add delete attribute API
Diffstat (limited to 'src/include/gnunet_reclaim_service.h')
-rw-r--r--src/include/gnunet_reclaim_service.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/include/gnunet_reclaim_service.h b/src/include/gnunet_reclaim_service.h
index d179485bb..fc3d0f920 100644
--- a/src/include/gnunet_reclaim_service.h
+++ b/src/include/gnunet_reclaim_service.h
@@ -151,6 +151,25 @@ GNUNET_RECLAIM_attribute_store (
151 151
152 152
153/** 153/**
154 * Delete an attribute. Tickets used to share this attribute are updated
155 * accordingly.
156 *
157 * @param h handle to the re:claimID service
158 * @param pkey Private key of the identity to add an attribute to
159 * @param attr The attribute
160 * @param cont Continuation to call when done
161 * @param cont_cls Closure for @a cont
162 * @return handle Used to to abort the request
163 */
164struct GNUNET_RECLAIM_Operation *
165GNUNET_RECLAIM_attribute_delete (
166 struct GNUNET_RECLAIM_Handle *h,
167 const struct GNUNET_CRYPTO_EcdsaPrivateKey *pkey,
168 const struct GNUNET_RECLAIM_ATTRIBUTE_Claim *attr,
169 GNUNET_RECLAIM_ContinuationWithStatus cont, void *cont_cls);
170
171
172/**
154 * List all attributes for a local identity. 173 * List all attributes for a local identity.
155 * This MUST lock the `struct GNUNET_RECLAIM_Handle` 174 * This MUST lock the `struct GNUNET_RECLAIM_Handle`
156 * for any other calls than #GNUNET_RECLAIM_get_attributes_next() and 175 * for any other calls than #GNUNET_RECLAIM_get_attributes_next() and