chiark / gitweb /
::
[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.2  2008/02/04 02:05:06  james
16  * *** empty log message ***
17  *
18  * Revision 1.1  2008/02/03 23:36:41  james
19  * *** empty log message ***
20  *
21  */
22
23 #ifndef __VT102_H__
24 #define __VT102_H__
25
26 #define VT102_CSI_LEN 128
27
28 typedef struct
29 {
30   int in_escape;
31   int in_csi;
32   int csi_ptr;
33   char csi_buf[VT102_CSI_LEN];
34 } VT102_parser;
35
36 typedef struct
37 {
38   VT102_parser parser;
39   int attr;
40   CRT crt;
41   CRT_Pos pos;
42 } VT102;
43
44
45 #endif /* __VT102_H__ */