Subversion Repositories tendra.SVN

Rev

Rev 2 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
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
#ifndef UNIT_INCLUDED
32
#define UNIT_INCLUDED
33
 
34
 
35
/*
36
    TOKEN/TAG DECLARATIONS/DEFINITIONS
37
 
38
    This file contains the routines for decoding token declarations, token
39
    definitions, tag declarations, tag definitions and the standard unit
40
    types associated with them.
41
*/
42
 
43
extern void token_sort PROTO_S ( ( object *, sortname, char *, long ) ) ;
44
extern void read_no_labs PROTO_S ( ( void ) ) ;
45
extern void de_tagdec_props PROTO_S ( ( void ) ) ;
46
extern void de_tagdef_props PROTO_S ( ( void ) ) ;
47
extern void de_tokdec_props PROTO_S ( ( void ) ) ;
48
extern void de_tokdef_props PROTO_S ( ( void ) ) ;
49
extern void de_al_tagdef_props PROTO_S ( ( void ) ) ;
50
extern void de_dg_comp_props PROTO_S ( ( void ) ) ;
51
extern void de_diag_type_unit PROTO_S ( ( void ) ) ;
52
extern void de_diag_unit PROTO_S ( ( void ) ) ;
53
extern void de_linkinfo_props PROTO_S ( ( void ) ) ;
54
extern void de_version_props PROTO_S ( ( void ) ) ;
55
extern void de_tld2_unit PROTO_S ( ( void ) ) ;
56
extern void de_tld_unit PROTO_S ( ( void ) ) ;
57
extern void de_make_version PROTO_S ( ( char * ) ) ;
58
extern void de_magic PROTO_S ( ( char * ) ) ;
59
extern long max_lab_no ;
60
extern int show_usage ;
61
extern int diagnostics ;
62
extern int versions ;
63
 
64
 
65
/*
66
    UNIT USAGE INFORMATION
67
 
68
    These macros describe the units decoded by the routines above and
69
    give the flags which control their use.
70
*/
71
 
72
#define MSG_tagdec_props		"TAG DECLARATIONS"
73
#define MSG_tagdef_props		"TAG DEFINITIONS"
74
#define MSG_tokdec_props		"TOKEN DECLARATIONS"
75
#define MSG_tokdef_props		"TOKEN DEFINITIONS"
76
#define MSG_al_tagdef_props		"ALIGNMENT TAG DEFINITIONS"
77
#define MSG_dg_comp_props		"DIAGNOSTIC INFORMATION"
78
#define MSG_diag_type_unit		"DIAGNOSTIC TYPE INFORMATION"
79
#define MSG_diag_unit			"DIAGNOSTIC INFORMATION"
80
#define MSG_linkinfo_props		"LINKING INFORMATION"
81
#define MSG_version_props		"TDF VERSION NUMBER"
82
#define MSG_tld2_unit			"LINKER INFORMATION"
83
#define MSG_tld_unit			"LINKER INFORMATION"
84
 
85
#define OPT_tagdec_props		1
86
#define OPT_tagdef_props		1
87
#define OPT_tokdec_props		1
88
#define OPT_tokdef_props		1
89
#define OPT_al_tagdef_props		1
90
#define OPT_dg_comp_props		diagnostics
91
#define OPT_diag_type_unit		diagnostics
92
#define OPT_diag_unit			diagnostics
93
#define OPT_linkinfo_props		show_usage
94
#define OPT_version_props		versions
95
#define OPT_tld2_unit			show_usage
96
#define OPT_tld_unit			show_usage
97
 
98
 
99
#endif