aboutsummaryrefslogtreecommitdiff
path: root/include/gnunet_chat_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gnunet_chat_lib.h')
-rw-r--r--include/gnunet_chat_lib.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/gnunet_chat_lib.h b/include/gnunet_chat_lib.h
index 9e3fd04..135e82e 100644
--- a/include/gnunet_chat_lib.h
+++ b/include/gnunet_chat_lib.h
@@ -362,6 +362,21 @@ GNUNET_CHAT_account_create (struct GNUNET_CHAT_Handle *handle,
362 const char* name); 362 const char* name);
363 363
364/** 364/**
365 * Deletes an existing chat account of a given chat <i>handle</i> under a
366 * unique <i>name</i>.
367 *
368 * If there is no account known to this chat handle under the provided name, the
369 * function will fail and return #GNUNET_NO.
370 *
371 * @param[in,out] handle Chat handle
372 * @param[in] name Account name
373 * @return #GNUNET_OK on success, #GNUNET_NO on failure and otherwise #GNUNET_SYSERR
374 */
375int
376GNUNET_CHAT_account_delete(struct GNUNET_CHAT_Handle *handle,
377 const char* name);
378
379/**
365 * Iterates through the accounts of a given chat <i>handle</i> with a selected 380 * Iterates through the accounts of a given chat <i>handle</i> with a selected
366 * callback and custom closure. 381 * callback and custom closure.
367 * 382 *