diff options
author | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2020-02-04 23:34:10 +0100 |
---|---|---|
committer | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2020-02-04 23:34:10 +0100 |
commit | f0b0359dd68a74e804025659d136797a91447083 (patch) | |
tree | cacd30b767f4f1dbe6898cff3c55ceb000f79d31 /src/include/gnunet_reclaim_attribute_lib.h | |
parent | 68ddf5330364fb7727209d3249e7d676c54bec83 (diff) | |
download | gnunet-f0b0359dd68a74e804025659d136797a91447083.tar.gz gnunet-f0b0359dd68a74e804025659d136797a91447083.zip |
towards better API
Diffstat (limited to 'src/include/gnunet_reclaim_attribute_lib.h')
-rw-r--r-- | src/include/gnunet_reclaim_attribute_lib.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/include/gnunet_reclaim_attribute_lib.h b/src/include/gnunet_reclaim_attribute_lib.h index 937a4d8f4..6d3503950 100644 --- a/src/include/gnunet_reclaim_attribute_lib.h +++ b/src/include/gnunet_reclaim_attribute_lib.h | |||
@@ -586,6 +586,15 @@ GNUNET_RECLAIM_attestation_number_to_typename (uint32_t type); | |||
586 | uint32_t | 586 | uint32_t |
587 | GNUNET_RECLAIM_attestation_typename_to_number (const char *typename); | 587 | GNUNET_RECLAIM_attestation_typename_to_number (const char *typename); |
588 | 588 | ||
589 | /** | ||
590 | * Convert an attestation type name to the corresponding number | ||
591 | * | ||
592 | * @param typename name to convert | ||
593 | * @return corresponding number, UINT32_MAX on error | ||
594 | */ | ||
595 | struct GNUNET_RECLAIM_AttributeList* | ||
596 | GNUNET_RECLAIM_attestation_get_attributes (const struct GNUNET_RECLAIM_Attestation *attest); | ||
597 | |||
589 | 598 | ||
590 | #if 0 /* keep Emacsens' auto-indent happy */ | 599 | #if 0 /* keep Emacsens' auto-indent happy */ |
591 | { | 600 | { |