File: tprintf.h

package info (click to toggle)
netsniff-ng 0.5.8-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 3,092 kB
  • ctags: 4,428
  • sloc: ansic: 40,619; yacc: 1,207; sh: 588; makefile: 457; lex: 266; python: 58
file content (18 lines) | stat: -rw-r--r-- 408 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef TPRINTF_H
#define TPRINTF_H

#include "built_in.h"
#include "colors.h"
#include "colorize.h"

extern void tprintf_init(void);
extern void tprintf(char *msg, ...) __check_format_printf(1, 2);
extern void tprintf_flush(void);
extern void tprintf_cleanup(void);

extern void tputchar_safe(int c);
extern void tputs_safe(const char *str, size_t len);

#define DEFAULT_TTY_SIZE	80

#endif /* TPRINTF_H */