diff options
Diffstat (limited to 'src/gnunet_chat_uri.h')
-rw-r--r-- | src/gnunet_chat_uri.h | 13 |
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 | */ | ||
41 | struct GNUNET_CHAT_Uri* | 49 | struct GNUNET_CHAT_Uri* |
42 | uri_create (const struct GNUNET_IDENTITY_PublicKey *zone, | 50 | uri_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 | */ | ||
45 | void | 58 | void |
46 | uri_destroy (struct GNUNET_CHAT_Uri *uri); | 59 | uri_destroy (struct GNUNET_CHAT_Uri *uri); |
47 | 60 | ||