X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=sympathy.git;a=blobdiff_plain;f=src%2Fansi.h;h=44fd61ae3aded5995b174cb8658619a4ce858f91;hp=7aa5935e690c7b0282fb1c4013017fb4cea9ddcf;hb=48b2a7fa2c0dc01a99a1a2e5bd7c7533d0c7f974;hpb=1d00929f790c7e65eac1bc90ba9d7e520a1b7462 diff --git a/src/ansi.h b/src/ansi.h index 7aa5935..44fd61a 100644 --- a/src/ansi.h +++ b/src/ansi.h @@ -12,6 +12,9 @@ /* * $Log$ + * 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 *** * @@ -51,7 +54,10 @@ typedef struct int escape_ptr; } ANSI_Parser; -typedef struct +struct CRT_struct; +struct Context_struct; + +typedef struct ANSI_struct { ANSI_Parser parser; @@ -66,6 +72,11 @@ typedef struct int history_ptr; + + void (*dispatch)(struct ANSI_struct *,struct Context_struct *); + void (*update)(struct ANSI_struct *,struct CRT_struct *); + void (*reset)(struct ANSI_struct *,struct CRT_struct *); + void (*terminal_reset)(struct ANSI_struct *); } ANSI;