diff options
author | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2019-10-17 17:07:05 +0200 |
---|---|---|
committer | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2020-01-13 13:31:02 +0100 |
commit | c136a16600cd4f72d7def1af7b4aa7592310c898 (patch) | |
tree | 0da4abc3eb9be5da79eb9bafee3212be44745cc0 /src/include/gnunet_reclaim_attribute_lib.h | |
parent | 4eda8d33675ba1e004792635b33342c04c5cbe32 (diff) | |
download | gnunet-c136a16600cd4f72d7def1af7b4aa7592310c898.tar.gz gnunet-c136a16600cd4f72d7def1af7b4aa7592310c898.zip |
some comments
Diffstat (limited to 'src/include/gnunet_reclaim_attribute_lib.h')
-rw-r--r-- | src/include/gnunet_reclaim_attribute_lib.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/gnunet_reclaim_attribute_lib.h b/src/include/gnunet_reclaim_attribute_lib.h index 34429da51..8476e77fc 100644 --- a/src/include/gnunet_reclaim_attribute_lib.h +++ b/src/include/gnunet_reclaim_attribute_lib.h | |||
@@ -348,6 +348,12 @@ GNUNET_RECLAIM_ATTRIBUTE_number_to_typename (uint32_t type); | |||
348 | 348 | ||
349 | /** | 349 | /** |
350 | * Get required size for serialization buffer | 350 | * Get required size for serialization buffer |
351 | * FIXME: | ||
352 | * 1. The naming convention is violated here. | ||
353 | * It should GNUNET_RECLAIM_ATTRIBUTE_<lowercase from here>. | ||
354 | * It might make sense to refactor attestations into a separate folder. | ||
355 | * 2. The struct should be called GNUNET_RECLAIM_ATTESTATION_Data or | ||
356 | * GNUNET_RECLAIM_ATTRIBUTE_Attestation depending on location in source. | ||
351 | * | 357 | * |
352 | * @param attr the attestation to serialize | 358 | * @param attr the attestation to serialize |
353 | * @return the required buffer size | 359 | * @return the required buffer size |