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.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/gnunet_chat_lib.h b/include/gnunet_chat_lib.h
index cc604cd..9e3fd04 100644
--- a/include/gnunet_chat_lib.h
+++ b/include/gnunet_chat_lib.h
@@ -322,21 +322,18 @@ typedef void
322 uint64_t size); 322 uint64_t size);
323 323
324/** 324/**
325 * Start a chat handle with a certain configuration and a selected application 325 * Start a chat handle with a certain configuration.
326 * <i>directory</i>.
327 * 326 *
328 * A custom callback for warnings and message events can be provided optionally 327 * A custom callback for warnings and message events can be provided optionally
329 * together with their respective closures. 328 * together with their respective closures.
330 * 329 *
331 * @param[in] cfg Configuration 330 * @param[in] cfg Configuration
332 * @param[in] directory Application directory path (optional)
333 * @param[in] msg_cb Callback for message events (optional) 331 * @param[in] msg_cb Callback for message events (optional)
334 * @param[in,out] msg_cls Closure for message events (optional) 332 * @param[in,out] msg_cls Closure for message events (optional)
335 * @return Chat handle 333 * @return Chat handle
336 */ 334 */
337struct GNUNET_CHAT_Handle* 335struct GNUNET_CHAT_Handle*
338GNUNET_CHAT_start (const struct GNUNET_CONFIGURATION_Handle *cfg, 336GNUNET_CHAT_start (const struct GNUNET_CONFIGURATION_Handle *cfg,
339 const char *directory,
340 GNUNET_CHAT_ContextMessageCallback msg_cb, 337 GNUNET_CHAT_ContextMessageCallback msg_cb,
341 void *msg_cls); 338 void *msg_cls);
342 339