aboutsummaryrefslogtreecommitdiff
path: root/src/gnunet_chat_handle.h
diff options
context:
space:
mode:
authorTheJackiMonster <thejackimonster@gmail.com>2022-04-06 02:30:45 +0200
committerTheJackiMonster <thejackimonster@gmail.com>2022-04-06 02:30:45 +0200
commit4423dd264ef99fe9617e5d871857d15e88639f51 (patch)
treeb242b1ad2fb5d433000dd6d5c1f1d6d5b9c665dd /src/gnunet_chat_handle.h
parentde5dccb421f01bb09764ae1da40cb226c30b8d45 (diff)
downloadlibgnunetchat-4423dd264ef99fe9617e5d871857d15e88639f51.tar.gz
libgnunetchat-4423dd264ef99fe9617e5d871857d15e88639f51.zip
Added some safety for stopping chat handle
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
Diffstat (limited to 'src/gnunet_chat_handle.h')
-rw-r--r--src/gnunet_chat_handle.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/gnunet_chat_handle.h b/src/gnunet_chat_handle.h
index 3028186..37a6faf 100644
--- a/src/gnunet_chat_handle.h
+++ b/src/gnunet_chat_handle.h
@@ -177,6 +177,30 @@ void
177handle_disconnect (struct GNUNET_CHAT_Handle *handle); 177handle_disconnect (struct GNUNET_CHAT_Handle *handle);
178 178
179/** 179/**
180 * Enqueues a creation for a chat account with a specific
181 * <i>name</i> as identifier for a given chat <i>handle</i>.
182 *
183 * @param[in,out] handle Chat handle
184 * @param[in] name Chat account name
185 * @return #GNUNET_OK on success, otherwise #GNUNET_SYSERR
186 */
187int
188handle_create_account (struct GNUNET_CHAT_Handle *handle,
189 const char *name);
190
191/**
192 * Enqueues a deletion for a chat account with a specific
193 * <i>name</i> as identifier for a given chat <i>handle</i>.
194 *
195 * @param[in,out] handle Chat handle
196 * @param[in] name Chat account name
197 * @return #GNUNET_OK on success, otherwise #GNUNET_SYSERR
198 */
199int
200handle_delete_account (struct GNUNET_CHAT_Handle *handle,
201 const char *name);
202
203/**
180 * Returns the main directory path to store information 204 * Returns the main directory path to store information
181 * of a given chat <i>handle</i>. 205 * of a given chat <i>handle</i>.
182 * 206 *