diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/gnunet_protocols.h | 2 | ||||
-rw-r--r-- | src/include/gnunet_reclaim_service.h | 19 |
2 files changed, 20 insertions, 1 deletions
diff --git a/src/include/gnunet_protocols.h b/src/include/gnunet_protocols.h index 8de779ad3..45b3c6728 100644 --- a/src/include/gnunet_protocols.h +++ b/src/include/gnunet_protocols.h | |||
@@ -2716,6 +2716,8 @@ extern "C" { | |||
2716 | 2716 | ||
2717 | #define GNUNET_MESSAGE_TYPE_RECLAIM_ATTESTATION_STORE 977 | 2717 | #define GNUNET_MESSAGE_TYPE_RECLAIM_ATTESTATION_STORE 977 |
2718 | 2718 | ||
2719 | #define GNUNET_MESSAGE_TYPE_RECLAIM_ATTESTATION_DELETE 978 | ||
2720 | |||
2719 | /************************************************** | 2721 | /************************************************** |
2720 | * | 2722 | * |
2721 | * ABD MESSAGE TYPES | 2723 | * ABD MESSAGE TYPES |
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 | */ | ||
205 | struct GNUNET_RECLAIM_Operation * | ||
206 | GNUNET_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` |