mc/src/cons.saver.h
Pavel Roskin d816549ab9 * cons.saver.c: Define LINUX_CONS_SAVER_C so that some parts
of cons.saver.h can be omitted.
* cons.saver.h: Declare nothing but constants if
LINUX_CONS_SAVER_C is defined.
2001-11-29 20:28:48 +00:00

27 lines
603 B
C

#ifndef __CONS_SAVER_H
#define __CONS_SAVER_H
enum {
CONSOLE_INIT = '1',
CONSOLE_DONE,
CONSOLE_SAVE,
CONSOLE_RESTORE,
CONSOLE_CONTENTS
};
#ifndef LINUX_CONS_SAVER_C
/* Used only in mc, not in cons.saver */
extern signed char console_flag;
void show_console_contents (int starty, unsigned char begin_line, unsigned char end_line);
void handle_console (unsigned char action);
void show_rxvt_contents (int starty, unsigned char y1, unsigned char y2);
int look_for_rxvt_extensions (void);
extern int cons_saver_pid;
#endif /* !LINUX_CONS_SAVER_C */
#endif /* __CONS_SAVER_H */