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: table_fns.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.1 1995/04/06 10:43:34 currie
|
|
|
40 |
* Initial revision
|
|
|
41 |
*
|
|
|
42 |
***********************************************************************/
|
|
|
43 |
#ifndef table_decs_key
|
|
|
44 |
#define table_decs_key 1
|
|
|
45 |
|
|
|
46 |
|
|
|
47 |
|
|
|
48 |
|
|
|
49 |
extern exp get_lab PROTO_S ((label l));
|
|
|
50 |
/* find the exp which is labelled by l */
|
|
|
51 |
|
|
|
52 |
extern void set_lab PROTO_S ((label l, exp e));
|
|
|
53 |
/* set the exp which is labelled by l */
|
|
|
54 |
|
|
|
55 |
extern exp get_tag PROTO_S ((tag tg));
|
|
|
56 |
/* find the exp known as tg */
|
|
|
57 |
|
|
|
58 |
extern void set_tag PROTO_S ((tag tg, exp e));
|
|
|
59 |
/* set the exp known as tg */
|
|
|
60 |
|
|
|
61 |
|
|
|
62 |
extern dec * get_dec PROTO_S ((int tg));
|
|
|
63 |
/* find the tag declaration indexed by tg */
|
|
|
64 |
|
|
|
65 |
extern aldef * get_aldef PROTO_S ((int tg));
|
|
|
66 |
/* find the alignment tag value indexed by tg */
|
|
|
67 |
|
|
|
68 |
extern tok_define * get_tok PROTO_S ((int tk));
|
|
|
69 |
/* find the token declaration indexed by tg */
|
|
|
70 |
|
|
|
71 |
extern tokval apply_tok PROTO_S((token tk, bitstream pars, int sortcode,
|
|
|
72 |
tokval * actual_pars));
|
|
|
73 |
/* apply tk to its parameters in pars, and return the result */
|
|
|
74 |
|
|
|
75 |
#endif
|