aboutsummaryrefslogtreecommitdiff
path: root/src/gnunet_chat_uri.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gnunet_chat_uri.h')
-rw-r--r--src/gnunet_chat_uri.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/gnunet_chat_uri.h b/src/gnunet_chat_uri.h
index 0074123..a79f02a 100644
--- a/src/gnunet_chat_uri.h
+++ b/src/gnunet_chat_uri.h
@@ -38,10 +38,23 @@ struct GNUNET_CHAT_Uri
38 char *label; 38 char *label;
39}; 39};
40 40
41/**
42 * Creates a chat uri with a selected key as <i>zone</i>
43 * and a <i>label</i>.
44 *
45 * @param[in] zone URI zone
46 * @param[in] label URI label
47 * @return New chat uri
48 */
41struct GNUNET_CHAT_Uri* 49struct GNUNET_CHAT_Uri*
42uri_create (const struct GNUNET_IDENTITY_PublicKey *zone, 50uri_create (const struct GNUNET_IDENTITY_PublicKey *zone,
43 const char *label); 51 const char *label);
44 52
53/**
54 * Destroys a chat <i>uri</i> and frees its memory.
55 *
56 * @param[in,out] uri Chat uri
57 */
45void 58void
46uri_destroy (struct GNUNET_CHAT_Uri *uri); 59uri_destroy (struct GNUNET_CHAT_Uri *uri);
47 60