chiark / gitweb /
*** empty log message ***
[sympathy.git] / src / vt102.h
1 /*
2  * vt102.h:
3  *
4  * Copyright (c) 2008 James McKenzie <james@fishsoup.dhs.org>,
5  * All rights reserved.
6  *
7  */
8
9 /*
10  * $Id$
11  */
12
13 /*
14  * $Log$
15  * Revision 1.1  2008/02/03 23:36:41  james
16  * *** empty log message ***
17  *
18  */
19
20 #ifndef __VT102_H__
21 #define __VT102_H__
22
23 #define VT102_CSI_LEN 128
24
25 typedef struct
26 {
27   int in_escape;
28   int in_csi;
29   int csi_ptr;
30   char csi_buf[VT102_CSI_LEN];
31 } VT102_parser;
32
33 typedef struct
34 {
35   VT102_parser p;
36   int attr;
37   CRT crt;
38   CRT_Pos p;
39
40
41
42 } VT102;
43
44
45 #endif /* __VT102_H__ */