/*
* $Log$
+ * Revision 1.9 2008/02/20 19:36:06 james
+ * @@
+ *
+ * Revision 1.8 2008/02/20 19:25:09 james
+ * *** empty log message ***
+ *
+ * Revision 1.7 2008/02/13 16:57:29 james
+ * *** empty log message ***
+ *
* Revision 1.6 2008/02/13 01:08:18 james
* *** empty log message ***
*
int escape_ptr;
} ANSI_Parser;
-typedef struct
+struct CRT_struct;
+struct Context_struct;
+
+typedef struct ANSI_struct
{
+ ANSI_Parser parser;
+
TTY *terminal;
CRT crt;
int attr;
int color;
- ANSI_Parser parser;
+
+ int history_ptr;
+
+ void (*dispatch)(struct ANSI_struct *,struct Context_struct *);
+ void (*update)(struct ANSI_struct *,struct Context_struct *);
+ void (*oneshot)(struct ANSI_struct *,struct CRT_struct *);
+ void (*reset)(struct ANSI_struct *,struct CRT_struct *);
+ void (*terminal_reset)(struct ANSI_struct *);
+ void (*close)(struct ANSI_struct *);
} ANSI;