aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_hello_uri_lib.h
diff options
context:
space:
mode:
authort3sserakt <t3ss@posteo.de>2023-08-03 10:48:39 +0200
committert3sserakt <t3ss@posteo.de>2023-08-03 10:48:39 +0200
commit0f8b71280614e9a69d7703d88cc35108e6cec052 (patch)
tree67ea484d6dba49b27e684a050dfa362a911bd035 /src/include/gnunet_hello_uri_lib.h
parent39bcd0fd01fc552af43b7bd945ddba510172ad36 (diff)
downloadgnunet-0f8b71280614e9a69d7703d88cc35108e6cec052.tar.gz
gnunet-0f8b71280614e9a69d7703d88cc35108e6cec052.zip
NEWS: Added api to store hellos with peerstore service.
Diffstat (limited to 'src/include/gnunet_hello_uri_lib.h')
-rw-r--r--src/include/gnunet_hello_uri_lib.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/include/gnunet_hello_uri_lib.h b/src/include/gnunet_hello_uri_lib.h
index 4e48bc1a0..3aa07d760 100644
--- a/src/include/gnunet_hello_uri_lib.h
+++ b/src/include/gnunet_hello_uri_lib.h
@@ -70,6 +70,13 @@ GNUNET_HELLO_builder_new (const struct GNUNET_PeerIdentity *pid);
70 70
71 71
72/** 72/**
73 * Get the PeerIdentity for this builder.
74 */
75struct GNUNET_PeerIdentity *
76GNUNET_HELLO_builder_get_id (struct GNUNET_HELLO_Builder *builder);
77
78
79/**
73 * Release resources of a @a builder. 80 * Release resources of a @a builder.
74 * 81 *
75 * @param[in] builder to free 82 * @param[in] builder to free
@@ -111,6 +118,16 @@ GNUNET_HELLO_builder_from_url (const char *url);
111 118
112 119
113/** 120/**
121 * Merge to hello uris.
122 */
123struct GNUNET_MQ_Envelope *
124GNUNET_HELLO_builder_merge_hellos (const struct GNUNET_MessageHeader *msg1,
125 const struct GNUNET_MessageHeader *msg2,
126 const struct
127 GNUNET_CRYPTO_EddsaPrivateKey *priv);
128
129
130/**
114 * Generate envelope with GNUnet HELLO message (including 131 * Generate envelope with GNUnet HELLO message (including
115 * peer ID) from a @a builder 132 * peer ID) from a @a builder
116 * 133 *