aboutsummaryrefslogtreecommitdiffstats
path: root/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'log.h')
-rw-r--r--log.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/log.h b/log.h
new file mode 100644
index 0000000..0fe3a54
--- /dev/null
+++ b/log.h
@@ -0,0 +1,22 @@
+/* public things from log.c */
+
+#ifndef _LOG_H_
+#define _LOG_H_
+
+enum linetype { EMPTY = 0, LINE = 1, PROMPT = 2, SLEEP = 3 };
+
+extern FILE *capturefile, *recordfile, *moviefile;
+extern vtime movie_last;
+
+void log_clearsleep __P ((void));
+void log_flush __P ((void));
+int log_getsize __P ((void));
+void log_resize __P ((int newsize));
+void log_write __P ((char *str, int len, int newline));
+
+void reprint_writeline __P ((char *line));
+char *reprint_getline __P ((void));
+void reprint_clear __P ((void));
+
+#endif /* _LOG_H_ */
+