aboutsummaryrefslogtreecommitdiffstats
path: root/src/vt102.h
diff options
context:
space:
mode:
authorjames <>2008-02-03 23:36:41 +0000
committerjames <>2008-02-03 23:36:41 +0000
commitba58c87c457aa20cfebcc69374736ee8e7e3c470 (patch)
tree838b435bd7691eb13a1f7b0151575adc8ac992cf /src/vt102.h
parent148184f54c08d931007fc31cfd26ac88cc86e493 (diff)
downloadsympathy-ba58c87c457aa20cfebcc69374736ee8e7e3c470.tar.gz
sympathy-ba58c87c457aa20cfebcc69374736ee8e7e3c470.tar.bz2
sympathy-ba58c87c457aa20cfebcc69374736ee8e7e3c470.zip
*** empty log message ***
Diffstat (limited to 'src/vt102.h')
-rw-r--r--src/vt102.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/src/vt102.h b/src/vt102.h
new file mode 100644
index 0000000..e5b62a5
--- /dev/null
+++ b/src/vt102.h
@@ -0,0 +1,45 @@
+/*
+ * vt102.h:
+ *
+ * Copyright (c) 2008 James McKenzie <james@fishsoup.dhs.org>,
+ * All rights reserved.
+ *
+ */
+
+/*
+ * $Id$
+ */
+
+/*
+ * $Log$
+ * Revision 1.1 2008/02/03 23:36:41 james
+ * *** empty log message ***
+ *
+ */
+
+#ifndef __VT102_H__
+#define __VT102_H__
+
+#define VT102_CSI_LEN 128
+
+typedef struct
+{
+ int in_escape;
+ int in_csi;
+ int csi_ptr;
+ char csi_buf[VT102_CSI_LEN];
+} VT102_parser;
+
+typedef struct
+{
+ VT102_parser p;
+ int attr;
+ CRT crt;
+ CRT_Pos p;
+
+
+
+} VT102;
+
+
+#endif /* __VT102_H__ */