aboutsummaryrefslogtreecommitdiff
path: root/src/gnunet_chat_handle.h
diff options
context:
space:
mode:
authorTheJackiMonster <thejackimonster@gmail.com>2022-03-10 02:18:22 +0100
committerTheJackiMonster <thejackimonster@gmail.com>2022-03-10 02:18:22 +0100
commitfba50c0338fb76feec7fee5a12e27fc57df1972b (patch)
tree22dcdbf1d1c091d4f41a1b7e8b9f0ce12e9d9319 /src/gnunet_chat_handle.h
parent807dec8e802737fb46d015c48a7859a6ec504f74 (diff)
downloadlibgnunetchat-fba50c0338fb76feec7fee5a12e27fc57df1972b.tar.gz
libgnunetchat-fba50c0338fb76feec7fee5a12e27fc57df1972b.zip
Replace local files with namestore usage
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
Diffstat (limited to 'src/gnunet_chat_handle.h')
-rw-r--r--src/gnunet_chat_handle.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gnunet_chat_handle.h b/src/gnunet_chat_handle.h
index 6004e5d..0713bf1 100644
--- a/src/gnunet_chat_handle.h
+++ b/src/gnunet_chat_handle.h
@@ -33,6 +33,7 @@
33#include <gnunet/gnunet_fs_service.h> 33#include <gnunet/gnunet_fs_service.h>
34#include <gnunet/gnunet_identity_service.h> 34#include <gnunet/gnunet_identity_service.h>
35#include <gnunet/gnunet_messenger_service.h> 35#include <gnunet/gnunet_messenger_service.h>
36#include <gnunet/gnunet_namestore_service.h>
36#include <gnunet/gnunet_scheduler_lib.h> 37#include <gnunet/gnunet_scheduler_lib.h>
37#include <gnunet/gnunet_util_lib.h> 38#include <gnunet/gnunet_util_lib.h>
38 39
@@ -72,6 +73,7 @@ struct GNUNET_CHAT_Handle
72 73
73 const struct GNUNET_CHAT_Account *current; 74 const struct GNUNET_CHAT_Account *current;
74 struct GNUNET_IDENTITY_Operation *creation_op; 75 struct GNUNET_IDENTITY_Operation *creation_op;
76 struct GNUNET_NAMESTORE_ZoneMonitor *monitor;
75 77
76 struct GNUNET_CONTAINER_MultiHashMap *files; 78 struct GNUNET_CONTAINER_MultiHashMap *files;
77 struct GNUNET_CONTAINER_MultiHashMap *contexts; 79 struct GNUNET_CONTAINER_MultiHashMap *contexts;
@@ -82,6 +84,7 @@ struct GNUNET_CHAT_Handle
82 struct GNUNET_FS_Handle *fs; 84 struct GNUNET_FS_Handle *fs;
83 struct GNUNET_IDENTITY_Handle *identity; 85 struct GNUNET_IDENTITY_Handle *identity;
84 struct GNUNET_MESSENGER_Handle *messenger; 86 struct GNUNET_MESSENGER_Handle *messenger;
87 struct GNUNET_NAMESTORE_Handle *namestore;
85 88
86 char *public_key; 89 char *public_key;
87 void *user_pointer; 90 void *user_pointer;
@@ -109,6 +112,9 @@ handle_disconnect (struct GNUNET_CHAT_Handle *handle);
109const char* 112const char*
110handle_get_directory (const struct GNUNET_CHAT_Handle *handle); 113handle_get_directory (const struct GNUNET_CHAT_Handle *handle);
111 114
115const struct GNUNET_IDENTITY_PrivateKey*
116handle_get_key (const struct GNUNET_CHAT_Handle *handle);
117
112void 118void
113handle_send_internal_message (struct GNUNET_CHAT_Handle *handle, 119handle_send_internal_message (struct GNUNET_CHAT_Handle *handle,
114 struct GNUNET_CHAT_Context *context, 120 struct GNUNET_CHAT_Context *context,