Subversion Repositories tendra.SVN

Rev

Go to most recent revision | Details | 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
/**** debug.h --- Debugging routines.
32
 *
33
 ** Author: Steve Folkes <smf@hermes.mod.uk>
34
 *
35
 **** Commentary:
36
 *
37
 * See the file "debug.c" for more information.
38
 *
39
 **** Change Log:
40
 * $Log: debug.h,v $
41
 * Revision 1.1.1.1  1998/01/17  15:57:18  release
42
 * First version to be checked into rolling release.
43
 *
44
 * Revision 1.3  1995/07/07  15:32:23  smf
45
 * Updated to support TDF specification 4.0.
46
 *
47
 * Revision 1.2  1994/12/12  11:46:21  smf
48
 * Performing changes for 'CR94_178.sid+tld-update' - bringing in line with
49
 * OSSG C Coding Standards.
50
 *
51
 * Revision 1.1.1.1  1994/07/25  16:03:31  smf
52
 * Initial import of TDF linker 3.5 non shared files.
53
 *
54
**/
55
 
56
/****************************************************************************/
57
 
58
#ifndef H_DEBUG
59
#define H_DEBUG
60
 
61
#include "os-interface.h"
62
#include "cstring.h"
63
#include "dstring.h"
64
#include "name-key.h"
65
#include "ostream.h"
66
 
67
/*--------------------------------------------------------------------------*/
68
 
69
extern void			debug_set_file
70
	PROTO_S ((OStreamP));
71
 
72
extern void			debug_info_u_name
73
	PROTO_S ((NStringP));
74
 
75
extern void			debug_info_r_start_capsule
76
	PROTO_S ((CStringP));
77
extern void			debug_info_r_versions
78
	PROTO_S ((unsigned, unsigned));
79
extern void			debug_info_r_start_unit_decs
80
	PROTO_S ((unsigned));
81
extern void			debug_info_r_unit_dec
82
	PROTO_S ((NStringP));
83
extern void			debug_info_r_start_shapes
84
	PROTO_S ((unsigned));
85
extern void			debug_info_r_shape
86
	PROTO_S ((NStringP, unsigned));
87
extern void			debug_info_r_start_names
88
	PROTO_S ((unsigned));
89
extern void			debug_info_r_start_shape_names
90
	PROTO_S ((NStringP, unsigned));
91
extern void			debug_info_r_name
92
	PROTO_S ((NameKeyP, unsigned, unsigned, NameKeyP));
93
extern void			debug_info_r_start_unit_sets
94
	PROTO_S ((unsigned));
95
extern void			debug_info_r_start_units
96
	PROTO_S ((NStringP, unsigned));
97
extern void			debug_info_r_start_unit
98
	PROTO_S ((NStringP, unsigned, unsigned));
99
extern void			debug_info_r_start_counts
100
	PROTO_S ((unsigned));
101
extern void			debug_info_r_count
102
	PROTO_S ((unsigned, NStringP));
103
extern void			debug_info_r_start_maps
104
	PROTO_S ((unsigned));
105
extern void			debug_info_r_start_shape_maps
106
	PROTO_S ((NStringP, unsigned));
107
extern void			debug_info_r_map
108
	PROTO_S ((unsigned, unsigned, unsigned));
109
extern void			debug_info_r_unit_body
110
	PROTO_S ((unsigned));
111
extern void			debug_info_r_tld_version
112
	PROTO_S ((unsigned));
113
extern void			debug_info_r_start_usages
114
	PROTO_S ((NStringP, unsigned));
115
extern void			debug_info_r_usage
116
	PROTO_S ((unsigned, unsigned, NameKeyP));
117
extern void			debug_info_r_end_capsule
118
	PROTO_S ((void));
119
extern void			debug_info_r_abort_capsule
120
	PROTO_S ((void));
121
 
122
extern void			debug_info_w_start_capsule
123
	PROTO_S ((CStringP));
124
extern void			debug_info_w_versions
125
	PROTO_S ((unsigned, unsigned));
126
extern void			debug_info_w_start_unit_decs
127
	PROTO_S ((unsigned));
128
extern void			debug_info_w_unit_dec
129
	PROTO_S ((NStringP));
130
extern void			debug_info_w_start_shapes
131
	PROTO_S ((unsigned));
132
extern void			debug_info_w_shape
133
	PROTO_S ((NStringP, unsigned));
134
extern void			debug_info_w_start_names
135
	PROTO_S ((unsigned));
136
extern void			debug_info_w_start_shape_names
137
	PROTO_S ((NStringP, unsigned));
138
extern void			debug_info_w_name
139
	PROTO_S ((NameKeyP, unsigned));
140
extern void			debug_info_w_start_unit_sets
141
	PROTO_S ((unsigned));
142
extern void			debug_info_w_start_units
143
	PROTO_S ((NStringP, unsigned));
144
extern void			debug_info_w_start_unit
145
	PROTO_S ((NStringP, unsigned, unsigned));
146
extern void			debug_info_w_start_counts
147
	PROTO_S ((unsigned));
148
extern void			debug_info_w_count
149
	PROTO_S ((unsigned, NStringP));
150
extern void			debug_info_w_start_maps
151
	PROTO_S ((unsigned));
152
extern void			debug_info_w_start_shape_maps
153
	PROTO_S ((NStringP, unsigned));
154
extern void			debug_info_w_map
155
	PROTO_S ((unsigned, unsigned));
156
extern void			debug_info_w_unit_body
157
	PROTO_S ((unsigned));
158
extern void			debug_info_w_tld_version
159
	PROTO_S ((unsigned));
160
extern void			debug_info_w_start_usages
161
	PROTO_S ((NStringP));
162
extern void			debug_info_w_usage
163
	PROTO_S ((unsigned, NameKeyP));
164
extern void			debug_info_w_end_capsule
165
	PROTO_S ((void));
166
 
167
extern void			debug_info_r_start_library
168
	PROTO_S ((CStringP));
169
extern void			debug_info_r_lib_versions
170
	PROTO_S ((unsigned, unsigned));
171
extern void			debug_info_r_library_version
172
	PROTO_S ((unsigned));
173
extern void			debug_info_r_start_capsules
174
	PROTO_S ((unsigned));
175
extern void			debug_info_r_capsule
176
	PROTO_S ((NStringP, unsigned));
177
extern void			debug_info_r_start_index
178
	PROTO_S ((unsigned));
179
extern void			debug_info_r_start_shape_index
180
	PROTO_S ((NStringP, unsigned));
181
extern void			debug_info_r_index_entry
182
	PROTO_S ((NameKeyP, unsigned, unsigned, NameKeyP, CStringP));
183
extern void			debug_info_r_end_library
184
	PROTO_S ((void));
185
extern void			debug_info_r_abort_library
186
	PROTO_S ((void));
187
 
188
extern void			debug_info_w_start_library
189
	PROTO_S ((CStringP));
190
extern void			debug_info_w_lib_versions
191
	PROTO_S ((unsigned, unsigned));
192
extern void			debug_info_w_library_version
193
	PROTO_S ((unsigned));
194
extern void			debug_info_w_start_capsules
195
	PROTO_S ((unsigned));
196
extern void			debug_info_w_capsule
197
	PROTO_S ((CStringP, unsigned));
198
extern void			debug_info_w_start_index
199
	PROTO_S ((unsigned));
200
extern void			debug_info_w_start_shape_index
201
	PROTO_S ((NStringP, unsigned));
202
extern void			debug_info_w_index_entry
203
	PROTO_S ((NameKeyP, unsigned, CStringP, unsigned));
204
extern void			debug_info_w_end_library
205
	PROTO_S ((void));
206
 
207
extern void			debug_info_l_not_needed
208
	PROTO_S ((NameKeyP, NStringP, unsigned));
209
extern void			debug_info_l_not_found
210
	PROTO_S ((NameKeyP, NStringP, unsigned));
211
extern void			debug_info_l_found
212
	PROTO_S ((NameKeyP, NStringP, unsigned, CStringP));
213
extern void			debug_info_l_hide
214
	PROTO_S ((NStringP, NameKeyP));
215
extern void			debug_info_l_keep
216
	PROTO_S ((NStringP, NameKeyP));
217
extern void			debug_info_l_suppress
218
	PROTO_S ((NStringP, NameKeyP));
219
extern void			debug_info_l_rename
220
	PROTO_S ((NStringP, NameKeyP, NameKeyP));
221
 
222
#endif /* !defined (H_DEBUG) */
223
 
224
/*
225
 * Local variables(smf):
226
 * eval: (include::add-path-entry "os-interface" "library" "generated")
227
 * End:
228
**/