aboutsummaryrefslogtreecommitdiff
path: root/src/gnunet_chat_invitation.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gnunet_chat_invitation.h')
-rw-r--r--src/gnunet_chat_invitation.h19
1 files changed, 18 insertions, 1 deletions
diff --git a/src/gnunet_chat_invitation.h b/src/gnunet_chat_invitation.h
index dd2b8e8..433131e 100644
--- a/src/gnunet_chat_invitation.h
+++ b/src/gnunet_chat_invitation.h
@@ -25,11 +25,28 @@
25#ifndef GNUNET_CHAT_INVITATION_H_ 25#ifndef GNUNET_CHAT_INVITATION_H_
26#define GNUNET_CHAT_INVITATION_H_ 26#define GNUNET_CHAT_INVITATION_H_
27 27
28#include "gnunet_chat_lib.h" 28#include <gnunet/platform.h>
29#include <gnunet/gnunet_common.h>
30#include <gnunet/gnunet_crypto_lib.h>
31#include <gnunet/gnunet_messenger_service.h>
32#include <gnunet/gnunet_peer_lib.h>
33#include <gnunet/gnunet_util_lib.h>
34
35struct GNUNET_CHAT_Context;
29 36
30struct GNUNET_CHAT_Invitation 37struct GNUNET_CHAT_Invitation
31{ 38{
39 struct GNUNET_CHAT_Context *context;
32 40
41 struct GNUNET_HashCode key;
42 GNUNET_PEER_Id door;
33}; 43};
34 44
45struct GNUNET_CHAT_Invitation*
46invitation_create_from_message (struct GNUNET_CHAT_Context *context,
47 const struct GNUNET_MESSENGER_MessageInvite *message);
48
49void
50invitation_destroy (struct GNUNET_CHAT_Invitation *invitation);
51
35#endif /* GNUNET_CHAT_INVITATION_H_ */ 52#endif /* GNUNET_CHAT_INVITATION_H_ */