diff options
Diffstat (limited to 'src/chat/messenger.h')
-rw-r--r-- | src/chat/messenger.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/chat/messenger.h b/src/chat/messenger.h index 13a427c..4e3f80a 100644 --- a/src/chat/messenger.h +++ b/src/chat/messenger.h | |||
@@ -30,10 +30,18 @@ | |||
30 | #include <gnunet/gnunet_common.h> | 30 | #include <gnunet/gnunet_common.h> |
31 | #include <gnunet/gnunet_program_lib.h> | 31 | #include <gnunet/gnunet_program_lib.h> |
32 | 32 | ||
33 | struct CHAT_MESSENGER_Handle | 33 | typedef struct MESSENGER_Application MESSENGER_Application; |
34 | |||
35 | typedef struct CHAT_MESSENGER_Handle | ||
34 | { | 36 | { |
35 | struct GNUNET_CHAT_Handle *handle; | 37 | struct GNUNET_CHAT_Handle *handle; |
36 | struct GNUNET_SCHEDULER_Task *idle; | 38 | struct GNUNET_SCHEDULER_Task *idle; |
37 | }; | 39 | } CHAT_MESSENGER_Handle; |
40 | |||
41 | void | ||
42 | chat_messenger_run(void *cls, | ||
43 | char *const *args, | ||
44 | const char *cfgfile, | ||
45 | const struct GNUNET_CONFIGURATION_Handle *cfg); | ||
38 | 46 | ||
39 | #endif /* CHAT_MESSENGER_H_ */ | 47 | #endif /* CHAT_MESSENGER_H_ */ |