diff options
Diffstat (limited to 'src/gnunet_chat_handle.h')
-rw-r--r-- | src/gnunet_chat_handle.h | 37 |
1 files changed, 34 insertions, 3 deletions
diff --git a/src/gnunet_chat_handle.h b/src/gnunet_chat_handle.h index dd1da93..837a16e 100644 --- a/src/gnunet_chat_handle.h +++ b/src/gnunet_chat_handle.h | |||
@@ -30,8 +30,10 @@ | |||
30 | #include <gnunet/gnunet_container_lib.h> | 30 | #include <gnunet/gnunet_container_lib.h> |
31 | #include <gnunet/gnunet_arm_service.h> | 31 | #include <gnunet/gnunet_arm_service.h> |
32 | #include <gnunet/gnunet_fs_service.h> | 32 | #include <gnunet/gnunet_fs_service.h> |
33 | #include <gnunet/gnunet_gns_service.h> | ||
33 | #include <gnunet/gnunet_identity_service.h> | 34 | #include <gnunet/gnunet_identity_service.h> |
34 | #include <gnunet/gnunet_messenger_service.h> | 35 | #include <gnunet/gnunet_messenger_service.h> |
36 | #include <gnunet/gnunet_reclaim_service.h> | ||
35 | #include <gnunet/gnunet_regex_service.h> | 37 | #include <gnunet/gnunet_regex_service.h> |
36 | #include <gnunet/gnunet_util_lib.h> | 38 | #include <gnunet/gnunet_util_lib.h> |
37 | 39 | ||
@@ -40,9 +42,38 @@ struct GNUNET_CHAT_Handle | |||
40 | const struct GNUNET_CONFIGURATION_Handle* cfg; | 42 | const struct GNUNET_CONFIGURATION_Handle* cfg; |
41 | 43 | ||
42 | struct { | 44 | struct { |
43 | struct GNUNET_ARM_Handle* arm; | 45 | /* |
44 | struct GNUNET_FS_Handle* fs; | 46 | * feature: (automatically start required services) |
45 | struct GNUNET_MESSENGER_Handle* messenger; | 47 | */ |
48 | struct GNUNET_ARM_Handle *arm; | ||
49 | |||
50 | /* | ||
51 | * required: (files can be uploaded/downloaded) | ||
52 | */ | ||
53 | struct GNUNET_FS_Handle *fs; | ||
54 | |||
55 | /* | ||
56 | * required: (names can be resolved as well as zones and members) | ||
57 | */ | ||
58 | struct GNUNET_GNS_Handle *gns; | ||
59 | |||
60 | /* | ||
61 | * optional: (if not anonymous to receive private key) | ||
62 | * (has to be reset as soon as the private key changes) | ||
63 | */ | ||
64 | struct GNUNET_IDENTITY_Handle *identity; | ||
65 | |||
66 | /* | ||
67 | * required! | ||
68 | */ | ||
69 | struct GNUNET_MESSENGER_Handle *messenger; | ||
70 | |||
71 | /* | ||
72 | * feature/optional: (maybe add new reclaim message kind?) | ||
73 | * (the message would automatically issue the ticket) | ||
74 | * (send the ticket and consume it) | ||
75 | */ | ||
76 | struct GNUNET_RECLAIM_Handle *reclaim; | ||
46 | } handles; | 77 | } handles; |
47 | 78 | ||
48 | struct GNUNET_CONTAINER_MultiHashMap *contacts; | 79 | struct GNUNET_CONTAINER_MultiHashMap *contacts; |