Line -... |
Line 1... |
- |
|
1 |
/*
|
- |
|
2 |
* Copyright (c) 2002-2006 The TenDRA Project <http://www.tendra.org/>.
|
- |
|
3 |
* All rights reserved.
|
- |
|
4 |
*
|
- |
|
5 |
* Redistribution and use in source and binary forms, with or without
|
- |
|
6 |
* modification, are permitted provided that the following conditions are met:
|
- |
|
7 |
*
|
- |
|
8 |
* 1. Redistributions of source code must retain the above copyright notice,
|
- |
|
9 |
* this list of conditions and the following disclaimer.
|
- |
|
10 |
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
- |
|
11 |
* this list of conditions and the following disclaimer in the documentation
|
- |
|
12 |
* and/or other materials provided with the distribution.
|
- |
|
13 |
* 3. Neither the name of The TenDRA Project nor the names of its contributors
|
- |
|
14 |
* may be used to endorse or promote products derived from this software
|
- |
|
15 |
* without specific, prior written permission.
|
- |
|
16 |
*
|
- |
|
17 |
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS
|
- |
|
18 |
* IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
- |
|
19 |
* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
- |
|
20 |
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR
|
- |
|
21 |
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
- |
|
22 |
* EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
- |
|
23 |
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
|
- |
|
24 |
* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
- |
|
25 |
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
- |
|
26 |
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
- |
|
27 |
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
- |
|
28 |
*
|
- |
|
29 |
* $Id$
|
- |
|
30 |
*/
|
1 |
/*
|
31 |
/*
|
2 |
Crown Copyright (c) 1997
|
32 |
Crown Copyright (c) 1997
|
3 |
|
33 |
|
4 |
This TenDRA(r) Computer Program is subject to Copyright
|
34 |
This TenDRA(r) Computer Program is subject to Copyright
|
5 |
owned by the United Kingdom Secretary of State for Defence
|
35 |
owned by the United Kingdom Secretary of State for Defence
|
6 |
acting through the Defence Evaluation and Research Agency
|
36 |
acting through the Defence Evaluation and Research Agency
|
7 |
(DERA). It is made available to Recipients with a
|
37 |
(DERA). It is made available to Recipients with a
|
8 |
royalty-free licence for its use, reproduction, transfer
|
38 |
royalty-free licence for its use, reproduction, transfer
|
9 |
to other parties and amendment for any purpose not excluding
|
39 |
to other parties and amendment for any purpose not excluding
|
10 |
product development provided that any such use et cetera
|
40 |
product development provided that any such use et cetera
|
11 |
shall be deemed to be acceptance of the following conditions:-
|
41 |
shall be deemed to be acceptance of the following conditions:-
|
12 |
|
42 |
|
13 |
(1) Its Recipients shall ensure that this Notice is
|
43 |
(1) Its Recipients shall ensure that this Notice is
|
14 |
reproduced upon any copies or amended versions of it;
|
44 |
reproduced upon any copies or amended versions of it;
|
15 |
|
45 |
|
16 |
(2) Any amended version of it shall be clearly marked to
|
46 |
(2) Any amended version of it shall be clearly marked to
|
17 |
show both the nature of and the organisation responsible
|
47 |
show both the nature of and the organisation responsible
|
18 |
for the relevant amendment or amendments;
|
48 |
for the relevant amendment or amendments;
|
19 |
|
49 |
|
20 |
(3) Its onward transfer from a recipient to another
|
50 |
(3) Its onward transfer from a recipient to another
|
21 |
party shall be deemed to be that party's acceptance of
|
51 |
party shall be deemed to be that party's acceptance of
|
22 |
these conditions;
|
52 |
these conditions;
|
23 |
|
53 |
|
24 |
(4) DERA gives no warranty or assurance as to its
|
54 |
(4) DERA gives no warranty or assurance as to its
|
25 |
quality or suitability for any purpose and DERA accepts
|
55 |
quality or suitability for any purpose and DERA accepts
|
26 |
no liability whatsoever in relation to any use to which
|
56 |
no liability whatsoever in relation to any use to which
|
27 |
it may be put.
|
57 |
it may be put.
|
28 |
*/
|
58 |
*/
|
Line 102... |
Line 132... |
102 |
} NameEntryT, *NameEntryP;
|
132 |
} NameEntryT, *NameEntryP;
|
103 |
|
133 |
|
104 |
/*--------------------------------------------------------------------------*/
|
134 |
/*--------------------------------------------------------------------------*/
|
105 |
|
135 |
|
106 |
extern NameEntryP name_entry_create_direct
|
136 |
extern NameEntryP name_entry_create_direct
|
107 |
PROTO_S ((NameKeyP, struct ShapeEntryT *));
|
137 |
(NameKeyP, struct ShapeEntryT *);
|
108 |
extern NameEntryP name_entry_create_indirect
|
138 |
extern NameEntryP name_entry_create_indirect
|
109 |
PROTO_S ((NameKeyP, NameEntryP));
|
139 |
(NameKeyP, NameEntryP);
|
110 |
extern NameEntryP name_entry_create_place
|
140 |
extern NameEntryP name_entry_create_place
|
111 |
PROTO_S ((NameKeyP));
|
141 |
(NameKeyP);
|
112 |
extern void name_entry_make_direct
|
142 |
extern void name_entry_make_direct
|
113 |
PROTO_S ((NameEntryP, struct ShapeEntryT *));
|
143 |
(NameEntryP, struct ShapeEntryT *);
|
114 |
extern void name_entry_make_indirect
|
144 |
extern void name_entry_make_indirect
|
115 |
PROTO_S ((NameEntryP, NameEntryP));
|
145 |
(NameEntryP, NameEntryP);
|
116 |
extern NameEntryP name_entry_resolve_renames
|
146 |
extern NameEntryP name_entry_resolve_renames
|
117 |
PROTO_S ((NameEntryP, NStringP, BoolT));
|
147 |
(NameEntryP, NStringP, BoolT);
|
118 |
extern NameKeyP name_entry_key
|
148 |
extern NameKeyP name_entry_key
|
119 |
PROTO_S ((NameEntryP));
|
149 |
(NameEntryP);
|
120 |
extern NameEntryP name_entry_next
|
150 |
extern NameEntryP name_entry_next
|
121 |
PROTO_S ((NameEntryP));
|
151 |
(NameEntryP);
|
122 |
extern NameEntryP *name_entry_next_ref
|
152 |
extern NameEntryP *name_entry_next_ref
|
123 |
PROTO_S ((NameEntryP));
|
153 |
(NameEntryP);
|
124 |
extern BoolT name_entry_is_direct
|
154 |
extern BoolT name_entry_is_direct
|
125 |
PROTO_S ((NameEntryP));
|
155 |
(NameEntryP);
|
126 |
extern BoolT name_entry_is_indirect
|
156 |
extern BoolT name_entry_is_indirect
|
127 |
PROTO_S ((NameEntryP));
|
157 |
(NameEntryP);
|
128 |
extern BoolT name_entry_is_place
|
158 |
extern BoolT name_entry_is_place
|
129 |
PROTO_S ((NameEntryP));
|
159 |
(NameEntryP);
|
130 |
extern unsigned name_entry_id
|
160 |
extern unsigned name_entry_id
|
131 |
PROTO_S ((NameEntryP));
|
161 |
(NameEntryP);
|
132 |
extern void name_entry_merge_use
|
162 |
extern void name_entry_merge_use
|
133 |
PROTO_S ((NameEntryP, unsigned));
|
163 |
(NameEntryP, unsigned);
|
134 |
extern unsigned name_entry_get_use
|
164 |
extern unsigned name_entry_get_use
|
135 |
PROTO_S ((NameEntryP));
|
165 |
(NameEntryP);
|
136 |
extern void name_entry_hide
|
166 |
extern void name_entry_hide
|
137 |
PROTO_S ((NameEntryP));
|
167 |
(NameEntryP);
|
138 |
extern void name_entry_unhide
|
168 |
extern void name_entry_unhide
|
139 |
PROTO_S ((NameEntryP));
|
169 |
(NameEntryP);
|
140 |
extern BoolT name_entry_is_hidden
|
170 |
extern BoolT name_entry_is_hidden
|
141 |
PROTO_S ((NameEntryP));
|
171 |
(NameEntryP);
|
142 |
extern void name_entry_set_definition
|
172 |
extern void name_entry_set_definition
|
143 |
PROTO_S ((NameEntryP, struct CapsuleT *));
|
173 |
(NameEntryP, struct CapsuleT *);
|
144 |
extern struct CapsuleT *name_entry_get_definition
|
174 |
extern struct CapsuleT *name_entry_get_definition
|
145 |
PROTO_S ((NameEntryP));
|
175 |
(NameEntryP);
|
146 |
extern void name_entry_set_lib_definition
|
176 |
extern void name_entry_set_lib_definition
|
147 |
PROTO_S ((NameEntryP, struct LibCapsuleT *));
|
177 |
(NameEntryP, struct LibCapsuleT *);
|
148 |
extern struct LibCapsuleT *name_entry_get_lib_definition
|
178 |
extern struct LibCapsuleT *name_entry_get_lib_definition
|
149 |
PROTO_S ((NameEntryP));
|
179 |
(NameEntryP);
|
150 |
extern NameEntryP name_entry_list_next
|
180 |
extern NameEntryP name_entry_list_next
|
151 |
PROTO_S ((NameEntryP));
|
181 |
(NameEntryP);
|
152 |
extern NameEntryP *name_entry_list_next_ref
|
182 |
extern NameEntryP *name_entry_list_next_ref
|
153 |
PROTO_S ((NameEntryP));
|
183 |
(NameEntryP);
|
154 |
extern NameEntryP name_entry_get_indirect
|
184 |
extern NameEntryP name_entry_get_indirect
|
155 |
PROTO_S ((NameEntryP));
|
185 |
(NameEntryP);
|
156 |
extern NameEntryP name_entry_deallocate
|
186 |
extern NameEntryP name_entry_deallocate
|
157 |
PROTO_S ((NameEntryP));
|
187 |
(NameEntryP);
|
158 |
|
188 |
|
159 |
extern void name_entry_do_count
|
189 |
extern void name_entry_do_count
|
160 |
PROTO_S ((NameEntryP, GenericP));
|
190 |
(NameEntryP, GenericP);
|
161 |
extern void name_entry_write_name
|
191 |
extern void name_entry_write_name
|
162 |
PROTO_S ((NameEntryP, GenericP));
|
192 |
(NameEntryP, GenericP);
|
163 |
extern void name_entry_compute_tld_size
|
193 |
extern void name_entry_compute_tld_size
|
164 |
PROTO_S ((NameEntryP, GenericP));
|
194 |
(NameEntryP, GenericP);
|
165 |
extern void name_entry_write_tld
|
195 |
extern void name_entry_write_tld
|
166 |
PROTO_S ((NameEntryP, GenericP));
|
196 |
(NameEntryP, GenericP);
|
167 |
extern void name_entry_check_multi_defs
|
197 |
extern void name_entry_check_multi_defs
|
168 |
PROTO_S ((NameEntryP, GenericP));
|
198 |
(NameEntryP, GenericP);
|
169 |
extern void name_entry_do_lib_count
|
199 |
extern void name_entry_do_lib_count
|
170 |
PROTO_S ((NameEntryP, GenericP));
|
200 |
(NameEntryP, GenericP);
|
171 |
extern void name_entry_do_lib_write
|
201 |
extern void name_entry_do_lib_write
|
172 |
PROTO_S ((NameEntryP, GenericP));
|
202 |
(NameEntryP, GenericP);
|
173 |
extern void name_entry_suppress
|
203 |
extern void name_entry_suppress
|
174 |
PROTO_S ((NameEntryP, GenericP));
|
204 |
(NameEntryP, GenericP);
|
175 |
extern void name_entry_builder_suppress
|
205 |
extern void name_entry_builder_suppress
|
176 |
PROTO_S ((NameEntryP, GenericP));
|
206 |
(NameEntryP, GenericP);
|
177 |
extern BoolT name_entry_resolve_undefined
|
207 |
extern BoolT name_entry_resolve_undefined
|
178 |
PROTO_S ((NameEntryP, struct NameTableT *, struct UnitTableT *,
|
208 |
(NameEntryP, struct NameTableT *, struct UnitTableT *,
|
179 |
struct ShapeTableT *, NStringP));
|
209 |
struct ShapeTableT *, NStringP);
|
180 |
extern void name_entry_hide_defd
|
210 |
extern void name_entry_hide_defd
|
181 |
PROTO_S ((NameEntryP, GenericP));
|
211 |
(NameEntryP, GenericP);
|
182 |
extern void name_entry_keep
|
212 |
extern void name_entry_keep
|
183 |
PROTO_S ((NameEntryP, GenericP));
|
213 |
(NameEntryP, GenericP);
|
184 |
extern void name_entry_suppress_mult
|
214 |
extern void name_entry_suppress_mult
|
185 |
PROTO_S ((NameEntryP, GenericP));
|
215 |
(NameEntryP, GenericP);
|
186 |
extern void name_entry_lib_suppress_mult
|
216 |
extern void name_entry_lib_suppress_mult
|
187 |
PROTO_S ((NameEntryP, GenericP));
|
217 |
(NameEntryP, GenericP);
|
188 |
extern void name_entry_show_content
|
218 |
extern void name_entry_show_content
|
189 |
PROTO_S ((NameEntryP, GenericP));
|
219 |
(NameEntryP, GenericP);
|
190 |
|
220 |
|
191 |
#endif /* !defined (H_NAME_ENTRY) */
|
221 |
#endif /* !defined (H_NAME_ENTRY) */
|
192 |
|
222 |
|
193 |
/*
|
223 |
/*
|
194 |
* Local variables(smf):
|
224 |
* Local variables(smf):
|