2 |
7u83 |
1 |
/*
|
|
|
2 |
COPYRIGHT NOTICE
|
|
|
3 |
|
|
|
4 |
This program is the proprietary property of IXI Ltd, a subsidiary
|
|
|
5 |
of the Santa Cruz Operation (SCO). Use, reproduction, production
|
|
|
6 |
of amended versions and/or transfer of this program is permitted
|
|
|
7 |
PROVIDED THAT:
|
|
|
8 |
|
|
|
9 |
(a) This legend be preserved on any such reproduction and amended
|
|
|
10 |
version.
|
|
|
11 |
|
|
|
12 |
(b) Any recipient of such reproduction or amended version accept
|
|
|
13 |
the conditions set out in this legend.
|
|
|
14 |
|
|
|
15 |
IXI accepts no liability whatsoever in relation to any use to
|
|
|
16 |
which this program may be put and gives no warranty as to the
|
|
|
17 |
program's suitability for any purpose.
|
|
|
18 |
|
|
|
19 |
All rights reserved.
|
|
|
20 |
|
|
|
21 |
Copyright (c) 1995, 1996
|
|
|
22 |
|
|
|
23 |
*/
|
|
|
24 |
|
|
|
25 |
/*
|
|
|
26 |
Copyright (c) 1996 Open Software Foundation, Inc.
|
|
|
27 |
|
|
|
28 |
All Rights Reserved
|
|
|
29 |
|
|
|
30 |
Permission to use, copy, modify, and distribute this software and its
|
|
|
31 |
documentation for any purpose and without fee is hereby granted, provided
|
|
|
32 |
that the above copyright notice appears in all copies and that both the
|
|
|
33 |
copyright notice and this permission notice appear in supporting
|
|
|
34 |
documentation.
|
|
|
35 |
|
|
|
36 |
OSF DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE
|
|
|
37 |
INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
|
|
38 |
FOR A PARTICULAR PURPOSE.
|
|
|
39 |
|
|
|
40 |
IN NO EVENT SHALL OSF BE LIABLE FOR ANY SPECIAL, INDIRECT, OR
|
|
|
41 |
CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
|
42 |
LOSS OF USE, DATA OR PROFITS, WHETHER IN ACTION OF CONTRACT,
|
|
|
43 |
NEGLIGENCE, OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
|
|
|
44 |
CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
|
45 |
*/
|
|
|
46 |
|
|
|
47 |
|
|
|
48 |
+USE "x5/t","X11/Intrinsic.h";
|
|
|
49 |
|
|
|
50 |
+TYPE (int) Uil_status_type;
|
|
|
51 |
+TYPE (int) Uil_continue_type;
|
|
|
52 |
|
|
|
53 |
+CONST int Uil_k_terminate;
|
|
|
54 |
+CONST int Uil_k_continue;
|
|
|
55 |
|
|
|
56 |
+CONST int Uil_k_success_status;
|
|
|
57 |
+CONST int Uil_k_info_status;
|
|
|
58 |
+CONST int Uil_k_warning_status;
|
|
|
59 |
+CONST int Uil_k_error_status;
|
|
|
60 |
+CONST int Uil_k_severe_status;
|
|
|
61 |
+CONST int Uil_k_max_status;
|
|
|
62 |
|
|
|
63 |
+FIELD struct _Uil_command_type := {
|
|
|
64 |
char *source_file;
|
|
|
65 |
char *resource_file;
|
|
|
66 |
char *listing_file;
|
|
|
67 |
unsigned int include_dir_count;
|
|
|
68 |
char **include_dir;
|
|
|
69 |
unsigned listing_file_flag : 1;
|
|
|
70 |
unsigned resource_file_flag : 1;
|
|
|
71 |
unsigned machine_code_flag : 1;
|
|
|
72 |
unsigned report_info_msg_flag : 1;
|
|
|
73 |
unsigned report_warn_msg_flag : 1;
|
|
|
74 |
unsigned parse_tree_flag : 1;
|
|
|
75 |
unsigned issue_summary : 1;
|
|
|
76 |
unsigned int status_update_delay;
|
|
|
77 |
char *database;
|
|
|
78 |
unsigned database_flag : 1;
|
|
|
79 |
unsigned use_setlocale_flag : 1;
|
|
|
80 |
};
|
|
|
81 |
|
|
|
82 |
+TYPEDEF struct _Uil_command_type Uil_command_type;
|
|
|
83 |
|
|
|
84 |
+FIELD struct _Uil_compile_desc_type := {
|
|
|
85 |
unsigned int compiler_version;
|
|
|
86 |
unsigned int data_version;
|
|
|
87 |
char *parse_tree_root;
|
|
|
88 |
unsigned int message_count[5];
|
|
|
89 |
};
|
|
|
90 |
|
|
|
91 |
+TYPEDEF struct _Uil_compile_desc_type Uil_compile_desc_type;
|
|
|
92 |
|
|
|
93 |
+FUNC Uil_status_type Uil(Uil_command_type *, Uil_compile_desc_type *,
|
|
|
94 |
Uil_continue_type (*)(),
|
|
|
95 |
char *,
|
|
|
96 |
Uil_continue_type (*)(),
|
|
|
97 |
char *);
|
|
|
98 |
|
|
|
99 |
/*
|
|
|
100 |
* MISSING: UilDumpSymbolTable
|
|
|
101 |
*/
|