From 39bcd0fd01fc552af43b7bd945ddba510172ad36 Mon Sep 17 00:00:00 2001 From: t3sserakt Date: Thu, 3 Aug 2023 10:31:46 +0200 Subject: NEWS: Changed new hello uri api to allow to change the expiration time --- src/include/gnunet_hello_uri_lib.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/include') diff --git a/src/include/gnunet_hello_uri_lib.h b/src/include/gnunet_hello_uri_lib.h index bba7078e6..4e48bc1a0 100644 --- a/src/include/gnunet_hello_uri_lib.h +++ b/src/include/gnunet_hello_uri_lib.h @@ -120,7 +120,8 @@ GNUNET_HELLO_builder_from_url (const char *url); */ struct GNUNET_MQ_Envelope * GNUNET_HELLO_builder_to_env (const struct GNUNET_HELLO_Builder *builder, - const struct GNUNET_CRYPTO_EddsaPrivateKey *priv); + const struct GNUNET_CRYPTO_EddsaPrivateKey *priv, + struct GNUNET_TIME_Relative expiration_time); /** @@ -133,7 +134,8 @@ GNUNET_HELLO_builder_to_env (const struct GNUNET_HELLO_Builder *builder, struct GNUNET_MessageHeader * GNUNET_HELLO_builder_to_dht_hello_msg ( const struct GNUNET_HELLO_Builder *builder, - const struct GNUNET_CRYPTO_EddsaPrivateKey *priv); + const struct GNUNET_CRYPTO_EddsaPrivateKey *priv, + struct GNUNET_TIME_Relative expiration_time); /** @@ -162,7 +164,8 @@ enum GNUNET_GenericReturnValue GNUNET_HELLO_builder_to_block (const struct GNUNET_HELLO_Builder *builder, const struct GNUNET_CRYPTO_EddsaPrivateKey *priv, void *block, - size_t *block_size); + size_t *block_size, + struct GNUNET_TIME_Relative expiration_time); /** -- cgit v1.2.3