10
#define LAME_CONSOLE_H
12
#if defined(_WIN32) && !defined(__CYGWIN__)
17
unsigned long ClassID;
18
unsigned long ClassProt;
19
FILE *Console_fp; /* filepointer to stream reporting information */
20
FILE *Error_fp; /* filepointer to stream fatal error reporting information */
21
FILE *Report_fp; /* filepointer to stream reports (normally a text file or /dev/null) */
22
#if defined(_WIN32) && !defined(__CYGWIN__)
23
HANDLE Console_Handle;
31
char Console_buff[2048];
32
int Console_file_type;
35
extern Console_IO_t Console_IO;
36
extern int frontend_open_console(void);
37
extern void frontend_close_console(void);
39
extern void frontend_msgf(const char *format, va_list ap);
40
extern void frontend_debugf(const char *format, va_list ap);
41
extern void frontend_errorf(const char *format, va_list ap);
43
int console_printf(const char *format, ...);
44
int error_printf(const char *format, ...);
45
int report_printf(const char *format, ...);
47
void console_flush(void);
48
void error_flush(void);
49
void report_flush(void);
51
void console_up(int n_lines);
53
void set_debug_file(const char *fn);
55
#endif /* LAME_CONSOLE_H */
57
/* end of console.h */