trafgen: Fix compiler warnings
[netsniff-ng.git] / tprintf.h
blobb2ca69ea6c327db8b2928174555e3d9186f4fc5a
1 #ifndef TPRINTF_H
2 #define TPRINTF_H
4 #include "built_in.h"
5 #include "colors.h"
6 #include "colorize.h"
8 extern void tprintf_init(void);
9 extern void tprintf(char *msg, ...) __check_format_printf(1, 2);
10 extern void tprintf_flush(void);
11 extern void tprintf_cleanup(void);
13 extern void tputchar_safe(int c);
14 extern void tputs_safe(const char *str, size_t len);
16 #define DEFAULT_TTY_SIZE 80
18 #endif /* TPRINTF_H */