blob: 91a39577e256b431c96f18a5268c0d6fab550de5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
/* */
/*----------------------------------------------------------------------+
| |
| This file contains the structures and defines that are needed to use |
| the parser from a C program. |
| |
| |
| Date: 6-19-87 |
| |
+----------------------------------------------------------------------*/
/* Standard reserved DOS handles */
#define stdin 0x00 /*;AN000; Standard Input device handle */
#define stdout 0x01 /*;AN000; Standard Output device handle */
#define stderr 0x02 /*;AN000; Standard Error Output device handle */
#define stdaux 0x03 /*;AN000; Standard Auxiliary device handle */
#define stdprn 0x04 /*;AN000; Standard Printer device handle */
#define utility_msg_class 0xff /*;AN000; Utility message type */
/* Sublist Flag Values */
/* Alignment Indicator */
#define sf_left 0x00 /*;AN000; left align */
#define sf_right 0x80 /*;AN000; right align */
/* Field Type */
#define sf_char 0x00 /*;AN000; character */
#define sf_unsbin2d 0x01 /*;AN000; unsigned binary to decimal */
#define sf_sbin 0x02 /*;AN000; signed binary to decimal */
#define sf_unsbin2h 0x03 /*;AN000; unsigned binary to hex */
#define sf_date 0x04 /*;AN000; date */
#define sf_time12 0x05 /*;AN000; time 12-hour */
#define sf_time24 0x06 /*;AN000; time 24-hour */
/* Data Variable Size */
#define sf_ch 0x00 /*;AN000; single character */
#define sf_asciiz 0x10 /*;AN000; asciiz string */
#define sf_word 0x20 /*;AN000; word */
#define sf_dword 0x30 /*;AN000; double word */
#define sf_word 0x20 /*;AN000; word */
#define sf_mdy2 0x20 /*;AN000; month,day,year (2 digits) */
#define sf_mdy4 0x30 /*;AN000; month,day,year (4 digits) */
#define sf_hhmm 0x00 /*;AN000; hh:mm */
#define sf_hhmmss 0x10 /*;AN000; hh:mm:ss */
#define sf_hhmmsshh 0x20 /*;AN000; hh:mm:ss:hh */
struct m_sublist /*;AN000; */
{ /*;AN000; */
BYTE sub_size; /*;AN000; */
BYTE sub_res; /*;AN000; */
WORD sub_value; /*;AN000; */
WORD sub_value_seg; /*;AN000; */
BYTE sub_id; /*;AN000; */
BYTE sub_flags; /*;AN000; */
BYTE sub_max_width; /*;AN000; */
BYTE sub_min_width; /*;AN000; */
BYTE sub_pad_char; /*;AN000; */
}; /*;AN000; */
|