aboutsummaryrefslogtreecommitdiffstats
path: root/src/history.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/history.h')
-rw-r--r--src/history.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/history.h b/src/history.h
new file mode 100644
index 0000000..6c1bdba
--- /dev/null
+++ b/src/history.h
@@ -0,0 +1,35 @@
+/*
+ * history.h:
+ *
+ * Copyright (c) 2008 James McKenzie <james@fishsoup.dhs.org>,
+ * All rights reserved.
+ *
+ */
+
+/*
+ * $Id$
+ */
+
+/*
+ * $Log$
+ * Revision 1.1 2008/02/08 15:06:42 james
+ * *** empty log message ***
+ *
+ */
+
+#ifndef __HISTORY_H__
+#define __HISTORY_H__
+
+typedef struct {
+int valid;
+time_t t;
+CRT_CA line[CRT_COLS];
+} History_ent;
+
+typedef struct {
+History_ent *lines;
+int nlines;
+int wptr;
+} History;
+
+#endif /* __HISTORY_H__ */