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