aboutsummaryrefslogtreecommitdiff
path: root/src/gnunet_chat_contact.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gnunet_chat_contact.h')
-rw-r--r--src/gnunet_chat_contact.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/gnunet_chat_contact.h b/src/gnunet_chat_contact.h
new file mode 100644
index 0000000..a8e28a1
--- /dev/null
+++ b/src/gnunet_chat_contact.h
@@ -0,0 +1,27 @@
1/*
2 * @author Tobias Frisch
3 * @file gnunet_chat_contact.h
4 */
5
6#ifndef GNUNET_CHAT_CONTACT_H_
7#define GNUNET_CHAT_CONTACT_H_
8
9#include "gnunet_chat_context.h"
10
11struct GNUNET_CHAT_Contact
12{
13 struct GNUNET_CHAT_Handle *handle;
14 struct GNUNET_CHAT_Context *context;
15
16 struct GNUNET_MESSENGER_Contact *contact;
17
18 char *nick;
19};
20
21struct GNUNET_CHAT_Contact*
22contact_create (struct GNUNET_CHAT_Handle *handle);
23
24void
25contact_destroy (struct GNUNET_CHAT_Contact *contact);
26
27#endif /* GNUNET_CHAT_CONTACT_H_ */