diff options
author | t3sserakt <t3ss@posteo.de> | 2023-08-03 10:31:46 +0200 |
---|---|---|
committer | t3sserakt <t3ss@posteo.de> | 2023-08-03 10:31:46 +0200 |
commit | 39bcd0fd01fc552af43b7bd945ddba510172ad36 (patch) | |
tree | 507b4cfa7355154eb12da3e812b7f61ab7176d41 /src/include | |
parent | aec63bfd2c3d92b9652ea6b1ea963d324ad6310f (diff) | |
download | gnunet-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.h | 9 |
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 | */ |
121 | struct GNUNET_MQ_Envelope * | 121 | struct GNUNET_MQ_Envelope * |
122 | GNUNET_HELLO_builder_to_env (const struct GNUNET_HELLO_Builder *builder, | 122 | GNUNET_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, | |||
133 | struct GNUNET_MessageHeader * | 134 | struct GNUNET_MessageHeader * |
134 | GNUNET_HELLO_builder_to_dht_hello_msg ( | 135 | GNUNET_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 | |||
162 | GNUNET_HELLO_builder_to_block (const struct GNUNET_HELLO_Builder *builder, | 164 | GNUNET_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 | /** |