aboutsummaryrefslogtreecommitdiff
path: root/src/contact.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/contact.h')
-rw-r--r--src/contact.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/contact.h b/src/contact.h
index 15c7c9f..8a6dd4c 100644
--- a/src/contact.h
+++ b/src/contact.h
@@ -1,6 +1,6 @@
1/* 1/*
2 This file is part of GNUnet. 2 This file is part of GNUnet.
3 Copyright (C) 2021 GNUnet e.V. 3 Copyright (C) 2021--2022 GNUnet e.V.
4 4
5 GNUnet is free software: you can redistribute it and/or modify it 5 GNUnet is free software: you can redistribute it and/or modify it
6 under the terms of the GNU Affero General Public License as published 6 under the terms of the GNU Affero General Public License as published
@@ -29,6 +29,8 @@
29 29
30typedef struct MESSENGER_ContactInfo 30typedef struct MESSENGER_ContactInfo
31{ 31{
32 void *last_message;
33
32 GList *name_labels; 34 GList *name_labels;
33 GList *name_avatars; 35 GList *name_avatars;
34} MESSENGER_ContactInfo; 36} MESSENGER_ContactInfo;
@@ -40,6 +42,13 @@ void
40contact_destroy_info(struct GNUNET_CHAT_Contact *contact); 42contact_destroy_info(struct GNUNET_CHAT_Contact *contact);
41 43
42void 44void
45contact_set_last_message_to_info(const struct GNUNET_CHAT_Contact *contact,
46 void *message);
47
48void*
49contact_get_last_message_from_info(const struct GNUNET_CHAT_Contact *contact);
50
51void
43contact_add_name_label_to_info(const struct GNUNET_CHAT_Contact *contact, 52contact_add_name_label_to_info(const struct GNUNET_CHAT_Contact *contact,
44 GtkLabel *label); 53 GtkLabel *label);
45 54