aboutsummaryrefslogtreecommitdiffstats
path: root/src/ansi.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ansi.h')
-rw-r--r--src/ansi.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/ansi.h b/src/ansi.h
index 2be0ab7..6335d26 100644
--- a/src/ansi.h
+++ b/src/ansi.h
@@ -12,6 +12,9 @@
/*
* $Log$
+ * Revision 1.16 2008/03/06 16:49:05 james
+ * *** empty log message ***
+ *
* Revision 1.15 2008/03/03 06:04:42 james
* *** empty log message ***
*
@@ -83,6 +86,8 @@ typedef struct ANSI_struct
ANSI_Parser parser;
TTY *terminal;
+ int eof;
+
CRT crt;
CRT_Pos pos;
@@ -97,9 +102,9 @@ typedef struct ANSI_struct
FILE *file;
int (*dispatch) (struct ANSI_struct *, struct Context_struct *);
- void (*update) (struct ANSI_struct *, struct Context_struct *);
- void (*one_shot) (struct ANSI_struct *, struct CRT_struct *);
- void (*reset) (struct ANSI_struct *, struct CRT_struct *);
+ int (*update) (struct ANSI_struct *, struct Context_struct *);
+ int (*one_shot) (struct ANSI_struct *, struct CRT_struct *);
+ int (*reset) (struct ANSI_struct *, struct CRT_struct *);
void (*terminal_reset) (struct ANSI_struct *);
void (*close) (struct ANSI_struct *);
} ANSI;