diff options
Diffstat (limited to 'testing/nTox.h')
-rw-r--r-- | testing/nTox.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/testing/nTox.h b/testing/nTox.h new file mode 100644 index 00000000..fea735db --- /dev/null +++ b/testing/nTox.h | |||
@@ -0,0 +1,21 @@ | |||
1 | #ifndef NTOX_H | ||
2 | #define NTOX_H | ||
3 | |||
4 | #include <stdio.h> | ||
5 | #include <stdlib.h> | ||
6 | #include <string.h> | ||
7 | #include <ncurses.h> | ||
8 | #include <curses.h> | ||
9 | #include <ctype.h> | ||
10 | #include "../core/Messenger.h" | ||
11 | #define STRING_LENGTH 256 | ||
12 | #define HISTORY 50 | ||
13 | |||
14 | void new_lines(char *line); | ||
15 | void line_eval(char lines[HISTORY][STRING_LENGTH], char *line); | ||
16 | void wrap(char output[STRING_LENGTH], char input[STRING_LENGTH], int line_width) ; | ||
17 | int count_lines(char *string) ; | ||
18 | char *appender(char *str, const char c); | ||
19 | void do_refresh(); | ||
20 | |||
21 | #endif | ||