ring: use xzmalloc_aligned
[netsniff-ng.git] / tprintf.h
blob488360a6710bfc23a9a826df959c856b3fd277be
1 #ifndef TPRINTF_H
2 #define TPRINTF_H
4 #include "built_in.h"
5 #include "colors.h"
7 extern void tprintf_init(void);
8 extern void tprintf(char *msg, ...) __check_format_printf(1, 2);
9 extern void tprintf_flush(void);
10 extern void tprintf_cleanup(void);
12 extern void tputchar_safe(int c);
13 extern void tputs_safe(const char *str, size_t len);
15 #define DEFAULT_TTY_SIZE 80
17 #endif /* TPRINTF_H */