aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_reclaim_lib.h
diff options
context:
space:
mode:
authorSchanzenbach, Martin <mschanzenbach@posteo.de>2020-02-07 21:15:59 +0100
committerSchanzenbach, Martin <mschanzenbach@posteo.de>2020-02-09 20:38:11 +0100
commite8ea1f3e34e2a07cbe2fd4725e7362027d0c51c3 (patch)
tree5b11a525700872147d92d8195615e4352d6d18b1 /src/include/gnunet_reclaim_lib.h
parent5f9f9cae1714eb33e0ee9c824f3d88e6aab8cf63 (diff)
downloadgnunet-e8ea1f3e34e2a07cbe2fd4725e7362027d0c51c3.tar.gz
gnunet-e8ea1f3e34e2a07cbe2fd4725e7362027d0c51c3.zip
add expiration
Diffstat (limited to 'src/include/gnunet_reclaim_lib.h')
-rw-r--r--src/include/gnunet_reclaim_lib.h15
1 files changed, 12 insertions, 3 deletions
diff --git a/src/include/gnunet_reclaim_lib.h b/src/include/gnunet_reclaim_lib.h
index 6d3503950..54d284f3c 100644
--- a/src/include/gnunet_reclaim_lib.h
+++ b/src/include/gnunet_reclaim_lib.h
@@ -262,7 +262,8 @@ struct GNUNET_RECLAIM_AttestationListEntry
262 */ 262 */
263struct GNUNET_RECLAIM_Attribute * 263struct GNUNET_RECLAIM_Attribute *
264GNUNET_RECLAIM_attribute_new (const char *attr_name, 264GNUNET_RECLAIM_attribute_new (const char *attr_name,
265 const struct GNUNET_RECLAIM_Identifier *attestation, 265 const struct
266 GNUNET_RECLAIM_Identifier *attestation,
266 uint32_t type, 267 uint32_t type,
267 const void *data, 268 const void *data,
268 size_t data_size); 269 size_t data_size);
@@ -489,7 +490,6 @@ GNUNET_RECLAIM_attestation_list_deserialize (const char *data,
489 size_t data_size); 490 size_t data_size);
490 491
491 492
492
493/** 493/**
494 * @param attestation the attestation to serialize 494 * @param attestation the attestation to serialize
495 * @return the required buffer size 495 * @return the required buffer size
@@ -593,8 +593,17 @@ GNUNET_RECLAIM_attestation_typename_to_number (const char *typename);
593 * @return corresponding number, UINT32_MAX on error 593 * @return corresponding number, UINT32_MAX on error
594 */ 594 */
595struct GNUNET_RECLAIM_AttributeList* 595struct GNUNET_RECLAIM_AttributeList*
596GNUNET_RECLAIM_attestation_get_attributes (const struct GNUNET_RECLAIM_Attestation *attest); 596GNUNET_RECLAIM_attestation_get_attributes (const struct
597 GNUNET_RECLAIM_Attestation *attest);
598
599char*
600GNUNET_RECLAIM_attestation_get_issuer (const struct
601 GNUNET_RECLAIM_Attestation *attest);
597 602
603int
604GNUNET_RECLAIM_attestation_get_expiration (const struct
605 GNUNET_RECLAIM_Attestation *attest,
606 struct GNUNET_TIME_Absolute *exp);
598 607
599#if 0 /* keep Emacsens' auto-indent happy */ 608#if 0 /* keep Emacsens' auto-indent happy */
600{ 609{