2 |
7u83 |
1 |
/*
|
|
|
2 |
Crown Copyright (c) 1997
|
|
|
3 |
|
|
|
4 |
This TenDRA(r) Computer Program is subject to Copyright
|
|
|
5 |
owned by the United Kingdom Secretary of State for Defence
|
|
|
6 |
acting through the Defence Evaluation and Research Agency
|
|
|
7 |
(DERA). It is made available to Recipients with a
|
|
|
8 |
royalty-free licence for its use, reproduction, transfer
|
|
|
9 |
to other parties and amendment for any purpose not excluding
|
|
|
10 |
product development provided that any such use et cetera
|
|
|
11 |
shall be deemed to be acceptance of the following conditions:-
|
|
|
12 |
|
|
|
13 |
(1) Its Recipients shall ensure that this Notice is
|
|
|
14 |
reproduced upon any copies or amended versions of it;
|
|
|
15 |
|
|
|
16 |
(2) Any amended version of it shall be clearly marked to
|
|
|
17 |
show both the nature of and the organisation responsible
|
|
|
18 |
for the relevant amendment or amendments;
|
|
|
19 |
|
|
|
20 |
(3) Its onward transfer from a recipient to another
|
|
|
21 |
party shall be deemed to be that party's acceptance of
|
|
|
22 |
these conditions;
|
|
|
23 |
|
|
|
24 |
(4) DERA gives no warranty or assurance as to its
|
|
|
25 |
quality or suitability for any purpose and DERA accepts
|
|
|
26 |
no liability whatsoever in relation to any use to which
|
|
|
27 |
it may be put.
|
|
|
28 |
*/
|
|
|
29 |
|
|
|
30 |
|
|
|
31 |
/**********************************************************************
|
|
|
32 |
$Author: release $
|
|
|
33 |
$Date: 1998/01/17 15:55:45 $
|
|
|
34 |
$Revision: 1.1.1.1 $
|
|
|
35 |
$Log: readglob.h,v $
|
|
|
36 |
* Revision 1.1.1.1 1998/01/17 15:55:45 release
|
|
|
37 |
* First version to be checked into rolling release.
|
|
|
38 |
*
|
|
|
39 |
* Revision 1.4 1997/08/23 13:30:59 pwe
|
|
|
40 |
* no invert order, and initial ANDF-DE
|
|
|
41 |
*
|
|
|
42 |
* Revision 1.3 1997/02/18 12:56:07 currie
|
|
|
43 |
* NEW DIAG STRUCTURE
|
|
|
44 |
*
|
|
|
45 |
* Revision 1.2 1995/09/15 13:28:11 currie
|
|
|
46 |
* add_prefix
|
|
|
47 |
*
|
|
|
48 |
* Revision 1.1 1995/04/06 10:43:34 currie
|
|
|
49 |
* Initial revision
|
|
|
50 |
*
|
|
|
51 |
***********************************************************************/
|
|
|
52 |
#ifndef readglob_key
|
|
|
53 |
#define readglob_key 1
|
|
|
54 |
|
|
|
55 |
|
|
|
56 |
|
|
|
57 |
extern dec * capsule_tagtab;
|
|
|
58 |
/* the table of tags which are available at the capsule level */
|
|
|
59 |
|
|
|
60 |
extern tok_define * capsule_toktab;
|
|
|
61 |
/* the table of tokens which are available at the capsule level */
|
|
|
62 |
|
|
|
63 |
extern aldef * capsule_altab;
|
|
|
64 |
/* the table of alignment tags which are available at the
|
|
|
65 |
capsule level */
|
|
|
66 |
|
|
|
67 |
extern diag_tagdef * capsule_diag_tagtab; /* OLD DIAGS */
|
|
|
68 |
/* the table of diagnostic tags which are available at the
|
|
|
69 |
capsule level */
|
|
|
70 |
|
|
|
71 |
extern dgtag_struct * capsule_dgtab; /* NEW DIAGS */
|
|
|
72 |
/* the table of diagnostic name tags which are available at the
|
|
|
73 |
capsule level */
|
|
|
74 |
|
|
|
75 |
extern int capsule_no_of_tokens;
|
|
|
76 |
/* the number of tokens at the capsule level */
|
|
|
77 |
|
|
|
78 |
extern int capsule_no_of_tags;
|
|
|
79 |
/* the number of tags at the capsule level */
|
|
|
80 |
|
|
|
81 |
extern int capsule_no_of_als;
|
|
|
82 |
/* the number of alignment tags at the capsule level */
|
|
|
83 |
|
|
|
84 |
extern int capsule_no_of_diagtags; /* OLD DIAGS */
|
|
|
85 |
/* the number of diagnostic tags at the capsule level */
|
|
|
86 |
|
|
|
87 |
extern int capsule_no_of_dgtags; /* NEW DIAGS */
|
|
|
88 |
/* the number of diagnostic tags at the capsule level */
|
|
|
89 |
|
|
|
90 |
|
|
|
91 |
extern dec * unit_tagtab;
|
|
|
92 |
/* the table of tags for the current unit */
|
|
|
93 |
|
|
|
94 |
extern tok_define * unit_toktab;
|
|
|
95 |
/* the table of tokens for the current unit */
|
|
|
96 |
|
|
|
97 |
extern aldef * unit_altab;
|
|
|
98 |
/* the table of alignment tags for the current unit */
|
|
|
99 |
|
|
|
100 |
extern int unit_no_of_tokens;
|
|
|
101 |
/* the number of tokens in the current unit */
|
|
|
102 |
|
|
|
103 |
extern int unit_no_of_tags;
|
|
|
104 |
/* the number of tags in the current unit */
|
|
|
105 |
|
|
|
106 |
extern int unit_no_of_als;
|
|
|
107 |
/* the number of alignment tags in the current unit */
|
|
|
108 |
|
|
|
109 |
extern dec ** unit_ind_tags;
|
|
|
110 |
/* table of pointers to the tags used in the current unit */
|
|
|
111 |
|
|
|
112 |
extern tok_define ** unit_ind_tokens;
|
|
|
113 |
/* table of pointers to the tokens used in the current unit */
|
|
|
114 |
|
|
|
115 |
extern aldef ** unit_ind_als;
|
|
|
116 |
/* table of pointers to the alignment tags used in the current unit */
|
|
|
117 |
|
|
|
118 |
|
|
|
119 |
extern exp * unit_labtab;
|
|
|
120 |
/* table of labels used in the current unit */
|
|
|
121 |
|
|
|
122 |
extern int unit_no_of_labels;
|
|
|
123 |
/* number of labels used in the current unit */
|
|
|
124 |
|
|
|
125 |
extern int crt_tagdef_unit_no;
|
|
|
126 |
/* number of current tagdef unit. -1 before tagdef units */
|
|
|
127 |
|
|
|
128 |
extern int unit_index;
|
|
|
129 |
|
|
|
130 |
extern char * make_local_name PROTO_S ((void));
|
|
|
131 |
|
|
|
132 |
extern int rep_make_proc;
|
|
|
133 |
|
|
|
134 |
extern int replace_arith_type;
|
|
|
135 |
|
|
|
136 |
extern int good_trans;
|
|
|
137 |
|
|
|
138 |
extern char *crt_filename;
|
|
|
139 |
|
|
|
140 |
extern capsule_frees * capsule_freelist;
|
|
|
141 |
|
|
|
142 |
extern int newcode;
|
|
|
143 |
|
|
|
144 |
extern char * add_prefix PROTO_S ((char *));
|
|
|
145 |
|
|
|
146 |
extern char * external_to_string PROTO_S ((external));
|
|
|
147 |
|
|
|
148 |
#ifdef NEWDIAGS
|
|
|
149 |
extern int within_diags;
|
|
|
150 |
#endif
|
|
|
151 |
|
|
|
152 |
#endif
|