diff options
Diffstat (limited to 'src/contact.h')
-rw-r--r-- | src/contact.h | 11 |
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 | ||
30 | typedef struct MESSENGER_ContactInfo | 30 | typedef 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 | |||
40 | contact_destroy_info(struct GNUNET_CHAT_Contact *contact); | 42 | contact_destroy_info(struct GNUNET_CHAT_Contact *contact); |
41 | 43 | ||
42 | void | 44 | void |
45 | contact_set_last_message_to_info(const struct GNUNET_CHAT_Contact *contact, | ||
46 | void *message); | ||
47 | |||
48 | void* | ||
49 | contact_get_last_message_from_info(const struct GNUNET_CHAT_Contact *contact); | ||
50 | |||
51 | void | ||
43 | contact_add_name_label_to_info(const struct GNUNET_CHAT_Contact *contact, | 52 | contact_add_name_label_to_info(const struct GNUNET_CHAT_Contact *contact, |
44 | GtkLabel *label); | 53 | GtkLabel *label); |
45 | 54 | ||