aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authort3sserakt <t3ss@posteo.de>2023-08-03 10:31:46 +0200
committert3sserakt <t3ss@posteo.de>2023-08-03 10:31:46 +0200
commit39bcd0fd01fc552af43b7bd945ddba510172ad36 (patch)
tree507b4cfa7355154eb12da3e812b7f61ab7176d41 /src/include
parentaec63bfd2c3d92b9652ea6b1ea963d324ad6310f (diff)
downloadgnunet-39bcd0fd01fc552af43b7bd945ddba510172ad36.tar.gz
gnunet-39bcd0fd01fc552af43b7bd945ddba510172ad36.zip
NEWS: Changed new hello uri api to allow to change the expiration time
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gnunet_hello_uri_lib.h9
1 files changed, 6 insertions, 3 deletions
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);
120 */ 120 */
121struct GNUNET_MQ_Envelope * 121struct GNUNET_MQ_Envelope *
122GNUNET_HELLO_builder_to_env (const struct GNUNET_HELLO_Builder *builder, 122GNUNET_HELLO_builder_to_env (const struct GNUNET_HELLO_Builder *builder,
123 const struct GNUNET_CRYPTO_EddsaPrivateKey *priv); 123 const struct GNUNET_CRYPTO_EddsaPrivateKey *priv,
124 struct GNUNET_TIME_Relative expiration_time);
124 125
125 126
126/** 127/**
@@ -133,7 +134,8 @@ GNUNET_HELLO_builder_to_env (const struct GNUNET_HELLO_Builder *builder,
133struct GNUNET_MessageHeader * 134struct GNUNET_MessageHeader *
134GNUNET_HELLO_builder_to_dht_hello_msg ( 135GNUNET_HELLO_builder_to_dht_hello_msg (
135 const struct GNUNET_HELLO_Builder *builder, 136 const struct GNUNET_HELLO_Builder *builder,
136 const struct GNUNET_CRYPTO_EddsaPrivateKey *priv); 137 const struct GNUNET_CRYPTO_EddsaPrivateKey *priv,
138 struct GNUNET_TIME_Relative expiration_time);
137 139
138 140
139/** 141/**
@@ -162,7 +164,8 @@ enum GNUNET_GenericReturnValue
162GNUNET_HELLO_builder_to_block (const struct GNUNET_HELLO_Builder *builder, 164GNUNET_HELLO_builder_to_block (const struct GNUNET_HELLO_Builder *builder,
163 const struct GNUNET_CRYPTO_EddsaPrivateKey *priv, 165 const struct GNUNET_CRYPTO_EddsaPrivateKey *priv,
164 void *block, 166 void *block,
165 size_t *block_size); 167 size_t *block_size,
168 struct GNUNET_TIME_Relative expiration_time);
166 169
167 170
168/** 171/**