1 /* public things from log.c */ 2 3 #ifndef _LOG_H_ 4 #define _LOG_H_ 5 6 enum linetype { EMPTY = 0, LINE = 1, PROMPT = 2, SLEEP = 3 }; 7 8 extern FILE *capturefile, *recordfile, *moviefile; 9 extern vtime movie_last; 10 11 void log_clearsleep __P ((void)); 12 void log_flush __P ((void)); 13 int log_getsize __P ((void)); 14 void log_resize __P ((int newsize)); 15 void log_write __P ((char *str, int len, int newline)); 16 17 void reprint_writeline __P ((char *line)); 18 char *reprint_getline __P ((void)); 19 void reprint_clear __P ((void)); 20 21 #endif /* _LOG_H_ */ 22 23