diff options
Diffstat (limited to 'src/ui/messages.h')
-rw-r--r-- | src/ui/messages.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ui/messages.h b/src/ui/messages.h index b42bb1b..06de97f 100644 --- a/src/ui/messages.h +++ b/src/ui/messages.h | |||
@@ -42,6 +42,8 @@ typedef struct UI_MESSAGES_List | |||
42 | struct UI_MESSAGES_List *next; | 42 | struct UI_MESSAGES_List *next; |
43 | } UI_MESSAGES_List; | 43 | } UI_MESSAGES_List; |
44 | 44 | ||
45 | #define TEXT_LEN_MAX 1024 | ||
46 | |||
45 | typedef struct UI_MESSAGES_Handle | 47 | typedef struct UI_MESSAGES_Handle |
46 | { | 48 | { |
47 | WINDOW *window; | 49 | WINDOW *window; |
@@ -54,6 +56,10 @@ typedef struct UI_MESSAGES_Handle | |||
54 | int line_selected; | 56 | int line_selected; |
55 | 57 | ||
56 | const struct GNUNET_CHAT_Message *selected; | 58 | const struct GNUNET_CHAT_Message *selected; |
59 | |||
60 | char text [1024]; | ||
61 | int text_len; | ||
62 | int text_pos; | ||
57 | } UI_MESSAGES_Handle; | 63 | } UI_MESSAGES_Handle; |
58 | 64 | ||
59 | void | 65 | void |