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.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/gnunet_chat_contact.h b/src/gnunet_chat_contact.h
index e649047..e215c5f 100644
--- a/src/gnunet_chat_contact.h
+++ b/src/gnunet_chat_contact.h
@@ -32,15 +32,20 @@ struct GNUNET_CHAT_Contact
32 struct GNUNET_CHAT_Handle *handle; 32 struct GNUNET_CHAT_Handle *handle;
33 struct GNUNET_CHAT_Context *context; 33 struct GNUNET_CHAT_Context *context;
34 34
35 struct GNUNET_MESSENGER_Contact *contact; 35 const struct GNUNET_MESSENGER_Contact *contact;
36
37 char *nick;
38}; 36};
39 37
40struct GNUNET_CHAT_Contact* 38struct GNUNET_CHAT_Contact*
41contact_create (struct GNUNET_CHAT_Handle *handle); 39contact_create (struct GNUNET_CHAT_Handle *handle,
40 const struct GNUNET_MESSENGER_Contact *msg_contact);
42 41
43void 42void
44contact_destroy (struct GNUNET_CHAT_Contact *contact); 43contact_destroy (struct GNUNET_CHAT_Contact *contact);
45 44
45int
46contact_call (struct GNUNET_CHAT_Handle *handle,
47 const struct GNUNET_MESSENGER_Contact *msg_contact,
48 GNUNET_CHAT_ContactCallback callback,
49 void *cls);
50
46#endif /* GNUNET_CHAT_CONTACT_H_ */ 51#endif /* GNUNET_CHAT_CONTACT_H_ */