diff options
author | TheJackiMonster <thejackimonster@gmail.com> | 2021-11-20 04:20:03 +0100 |
---|---|---|
committer | TheJackiMonster <thejackimonster@gmail.com> | 2021-11-20 04:20:03 +0100 |
commit | 788a15d1c82a562e7080d3c523b30340938d8f1d (patch) | |
tree | 3f040e52d14a79b54397526857781531d490b1b3 /src/gnunet_chat_contact.h | |
parent | 41b1445ce9191b4f4a3a6355dad24d39945f3b69 (diff) | |
download | libgnunetchat-788a15d1c82a562e7080d3c523b30340938d8f1d.tar.gz libgnunetchat-788a15d1c82a562e7080d3c523b30340938d8f1d.zip |
Simplified identity keys into basic strings to integrate into ui
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
Diffstat (limited to 'src/gnunet_chat_contact.h')
-rw-r--r-- | src/gnunet_chat_contact.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gnunet_chat_contact.h b/src/gnunet_chat_contact.h index 1d2fdb3..725e8fe 100644 --- a/src/gnunet_chat_contact.h +++ b/src/gnunet_chat_contact.h | |||
@@ -40,6 +40,7 @@ struct GNUNET_CHAT_Contact | |||
40 | 40 | ||
41 | const struct GNUNET_MESSENGER_Contact *member; | 41 | const struct GNUNET_MESSENGER_Contact *member; |
42 | 42 | ||
43 | char *public_key; | ||
43 | void *user_pointer; | 44 | void *user_pointer; |
44 | }; | 45 | }; |
45 | 46 | ||
@@ -48,6 +49,9 @@ contact_create_from_member (struct GNUNET_CHAT_Handle *handle, | |||
48 | const struct GNUNET_MESSENGER_Contact *member); | 49 | const struct GNUNET_MESSENGER_Contact *member); |
49 | 50 | ||
50 | void | 51 | void |
52 | contact_update_key (struct GNUNET_CHAT_Contact *contact); | ||
53 | |||
54 | void | ||
51 | contact_destroy (struct GNUNET_CHAT_Contact* contact); | 55 | contact_destroy (struct GNUNET_CHAT_Contact* contact); |
52 | 56 | ||
53 | #endif /* GNUNET_CHAT_CONTACT_H_ */ | 57 | #endif /* GNUNET_CHAT_CONTACT_H_ */ |