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.h29
1 files changed, 2 insertions, 27 deletions
diff --git a/include/gnunet_chat_lib.h b/include/gnunet_chat_lib.h
index f2605b9..4c15df5 100644
--- a/include/gnunet_chat_lib.h
+++ b/include/gnunet_chat_lib.h
@@ -29,9 +29,8 @@
29#ifndef GNUNET_CHAT_LIB_H_ 29#ifndef GNUNET_CHAT_LIB_H_
30#define GNUNET_CHAT_LIB_H_ 30#define GNUNET_CHAT_LIB_H_
31 31
32#define GNUNET_UNUSED __attribute__ ((unused))
33
34#include <gnunet/platform.h> 32#include <gnunet/platform.h>
33#include <gnunet/gnunet_common.h>
35#include <gnunet/gnunet_util_lib.h> 34#include <gnunet/gnunet_util_lib.h>
36 35
37/** 36/**
@@ -442,29 +441,13 @@ GNUNET_CHAT_context_share_file (struct GNUNET_CHAT_Context *context,
442 * @param delay 441 * @param delay
443 */ 442 */
444void 443void
445GNUNET_CHAT_context_delete_message (struct GNUNET_CHAT_Context *context, 444GNUNET_CHAT_context_delete_message (const struct GNUNET_CHAT_Message *message,
446 const struct GNUNET_HashCode *hash,
447 struct GNUNET_TIME_Relative delay); 445 struct GNUNET_TIME_Relative delay);
448 446
449/** 447/**
450 * TODO 448 * TODO
451 * 449 *
452 * @param context 450 * @param context
453 * @param hash
454 * @param callback
455 * @param cls
456 * @return
457 */
458int
459GNUNET_CHAT_context_get_message (struct GNUNET_CHAT_Context *context,
460 const struct GNUNET_HashCode *hash,
461 GNUNET_CHAT_ContextMessageCallback callback,
462 void *cls);
463
464/**
465 * TODO
466 *
467 * @param context
468 * @param callback 451 * @param callback
469 * @param cls 452 * @param cls
470 * @return 453 * @return
@@ -615,12 +598,4 @@ GNUNET_CHAT_file_stop_download (struct GNUNET_CHAT_File *file);
615void 598void
616GNUNET_CHAT_invitation_accept (struct GNUNET_CHAT_Invitation *invitation); 599GNUNET_CHAT_invitation_accept (struct GNUNET_CHAT_Invitation *invitation);
617 600
618/**
619 * TODO
620 *
621 * @param invitation
622 */
623void
624GNUNET_CHAT_invitation_decline (struct GNUNET_CHAT_Invitation *invitation);
625
626#endif /* GNUNET_CHAT_LIB_H_ */ 601#endif /* GNUNET_CHAT_LIB_H_ */