Subversion Repositories tendra.SVN

Rev

Rev 7 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 7u83 1
/*
7 7u83 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
 */
31
/*
2 7u83 32
    		 Crown Copyright (c) 1997
7 7u83 33
 
2 7u83 34
    This TenDRA(r) Computer Program is subject to Copyright
35
    owned by the United Kingdom Secretary of State for Defence
36
    acting through the Defence Evaluation and Research Agency
37
    (DERA).  It is made available to Recipients with a
38
    royalty-free licence for its use, reproduction, transfer
39
    to other parties and amendment for any purpose not excluding
40
    product development provided that any such use et cetera
41
    shall be deemed to be acceptance of the following conditions:-
7 7u83 42
 
2 7u83 43
        (1) Its Recipients shall ensure that this Notice is
44
        reproduced upon any copies or amended versions of it;
7 7u83 45
 
2 7u83 46
        (2) Any amended version of it shall be clearly marked to
47
        show both the nature of and the organisation responsible
48
        for the relevant amendment or amendments;
7 7u83 49
 
2 7u83 50
        (3) Its onward transfer from a recipient to another
51
        party shall be deemed to be that party's acceptance of
52
        these conditions;
7 7u83 53
 
2 7u83 54
        (4) DERA gives no warranty or assurance as to its
55
        quality or suitability for any purpose and DERA accepts
56
        no liability whatsoever in relation to any use to which
57
        it may be put.
58
*/
59
 
60
 
61
/**** debug.h --- Debugging routines.
62
 *
63
 ** Author: Steve Folkes <smf@hermes.mod.uk>
64
 *
65
 **** Commentary:
66
 *
67
 * See the file "debug.c" for more information.
68
 *
69
 **** Change Log:
70
 * $Log: debug.h,v $
71
 * Revision 1.1.1.1  1998/01/17  15:57:18  release
72
 * First version to be checked into rolling release.
73
 *
74
 * Revision 1.3  1995/07/07  15:32:23  smf
75
 * Updated to support TDF specification 4.0.
76
 *
77
 * Revision 1.2  1994/12/12  11:46:21  smf
78
 * Performing changes for 'CR94_178.sid+tld-update' - bringing in line with
79
 * OSSG C Coding Standards.
80
 *
81
 * Revision 1.1.1.1  1994/07/25  16:03:31  smf
82
 * Initial import of TDF linker 3.5 non shared files.
83
 *
84
**/
85
 
86
/****************************************************************************/
87
 
88
#ifndef H_DEBUG
89
#define H_DEBUG
90
 
91
#include "os-interface.h"
92
#include "cstring.h"
93
#include "dstring.h"
94
#include "name-key.h"
95
#include "ostream.h"
96
 
97
/*--------------------------------------------------------------------------*/
98
 
99
extern void			debug_set_file
7 7u83 100
(OStreamP);
2 7u83 101
 
102
extern void			debug_info_u_name
7 7u83 103
(NStringP);
2 7u83 104
 
105
extern void			debug_info_r_start_capsule
7 7u83 106
(CStringP);
2 7u83 107
extern void			debug_info_r_versions
7 7u83 108
(unsigned, unsigned);
2 7u83 109
extern void			debug_info_r_start_unit_decs
7 7u83 110
(unsigned);
2 7u83 111
extern void			debug_info_r_unit_dec
7 7u83 112
(NStringP);
2 7u83 113
extern void			debug_info_r_start_shapes
7 7u83 114
(unsigned);
2 7u83 115
extern void			debug_info_r_shape
7 7u83 116
(NStringP, unsigned);
2 7u83 117
extern void			debug_info_r_start_names
7 7u83 118
(unsigned);
2 7u83 119
extern void			debug_info_r_start_shape_names
7 7u83 120
(NStringP, unsigned);
2 7u83 121
extern void			debug_info_r_name
7 7u83 122
(NameKeyP, unsigned, unsigned, NameKeyP);
2 7u83 123
extern void			debug_info_r_start_unit_sets
7 7u83 124
(unsigned);
2 7u83 125
extern void			debug_info_r_start_units
7 7u83 126
(NStringP, unsigned);
2 7u83 127
extern void			debug_info_r_start_unit
7 7u83 128
(NStringP, unsigned, unsigned);
2 7u83 129
extern void			debug_info_r_start_counts
7 7u83 130
(unsigned);
2 7u83 131
extern void			debug_info_r_count
7 7u83 132
(unsigned, NStringP);
2 7u83 133
extern void			debug_info_r_start_maps
7 7u83 134
(unsigned);
2 7u83 135
extern void			debug_info_r_start_shape_maps
7 7u83 136
(NStringP, unsigned);
2 7u83 137
extern void			debug_info_r_map
7 7u83 138
(unsigned, unsigned, unsigned);
2 7u83 139
extern void			debug_info_r_unit_body
7 7u83 140
(unsigned);
2 7u83 141
extern void			debug_info_r_tld_version
7 7u83 142
(unsigned);
2 7u83 143
extern void			debug_info_r_start_usages
7 7u83 144
(NStringP, unsigned);
2 7u83 145
extern void			debug_info_r_usage
7 7u83 146
(unsigned, unsigned, NameKeyP);
2 7u83 147
extern void			debug_info_r_end_capsule
7 7u83 148
(void);
2 7u83 149
extern void			debug_info_r_abort_capsule
7 7u83 150
(void);
2 7u83 151
 
152
extern void			debug_info_w_start_capsule
7 7u83 153
(CStringP);
2 7u83 154
extern void			debug_info_w_versions
7 7u83 155
(unsigned, unsigned);
2 7u83 156
extern void			debug_info_w_start_unit_decs
7 7u83 157
(unsigned);
2 7u83 158
extern void			debug_info_w_unit_dec
7 7u83 159
(NStringP);
2 7u83 160
extern void			debug_info_w_start_shapes
7 7u83 161
(unsigned);
2 7u83 162
extern void			debug_info_w_shape
7 7u83 163
(NStringP, unsigned);
2 7u83 164
extern void			debug_info_w_start_names
7 7u83 165
(unsigned);
2 7u83 166
extern void			debug_info_w_start_shape_names
7 7u83 167
(NStringP, unsigned);
2 7u83 168
extern void			debug_info_w_name
7 7u83 169
(NameKeyP, unsigned);
2 7u83 170
extern void			debug_info_w_start_unit_sets
7 7u83 171
(unsigned);
2 7u83 172
extern void			debug_info_w_start_units
7 7u83 173
(NStringP, unsigned);
2 7u83 174
extern void			debug_info_w_start_unit
7 7u83 175
(NStringP, unsigned, unsigned);
2 7u83 176
extern void			debug_info_w_start_counts
7 7u83 177
(unsigned);
2 7u83 178
extern void			debug_info_w_count
7 7u83 179
(unsigned, NStringP);
2 7u83 180
extern void			debug_info_w_start_maps
7 7u83 181
(unsigned);
2 7u83 182
extern void			debug_info_w_start_shape_maps
7 7u83 183
(NStringP, unsigned);
2 7u83 184
extern void			debug_info_w_map
7 7u83 185
(unsigned, unsigned);
2 7u83 186
extern void			debug_info_w_unit_body
7 7u83 187
(unsigned);
2 7u83 188
extern void			debug_info_w_tld_version
7 7u83 189
(unsigned);
2 7u83 190
extern void			debug_info_w_start_usages
7 7u83 191
(NStringP);
2 7u83 192
extern void			debug_info_w_usage
7 7u83 193
(unsigned, NameKeyP);
2 7u83 194
extern void			debug_info_w_end_capsule
7 7u83 195
(void);
2 7u83 196
 
197
extern void			debug_info_r_start_library
7 7u83 198
(CStringP);
2 7u83 199
extern void			debug_info_r_lib_versions
7 7u83 200
(unsigned, unsigned);
2 7u83 201
extern void			debug_info_r_library_version
7 7u83 202
(unsigned);
2 7u83 203
extern void			debug_info_r_start_capsules
7 7u83 204
(unsigned);
2 7u83 205
extern void			debug_info_r_capsule
7 7u83 206
(NStringP, unsigned);
2 7u83 207
extern void			debug_info_r_start_index
7 7u83 208
(unsigned);
2 7u83 209
extern void			debug_info_r_start_shape_index
7 7u83 210
(NStringP, unsigned);
2 7u83 211
extern void			debug_info_r_index_entry
7 7u83 212
(NameKeyP, unsigned, unsigned, NameKeyP, CStringP);
2 7u83 213
extern void			debug_info_r_end_library
7 7u83 214
(void);
2 7u83 215
extern void			debug_info_r_abort_library
7 7u83 216
(void);
2 7u83 217
 
218
extern void			debug_info_w_start_library
7 7u83 219
(CStringP);
2 7u83 220
extern void			debug_info_w_lib_versions
7 7u83 221
(unsigned, unsigned);
2 7u83 222
extern void			debug_info_w_library_version
7 7u83 223
(unsigned);
2 7u83 224
extern void			debug_info_w_start_capsules
7 7u83 225
(unsigned);
2 7u83 226
extern void			debug_info_w_capsule
7 7u83 227
(CStringP, unsigned);
2 7u83 228
extern void			debug_info_w_start_index
7 7u83 229
(unsigned);
2 7u83 230
extern void			debug_info_w_start_shape_index
7 7u83 231
(NStringP, unsigned);
2 7u83 232
extern void			debug_info_w_index_entry
7 7u83 233
(NameKeyP, unsigned, CStringP, unsigned);
2 7u83 234
extern void			debug_info_w_end_library
7 7u83 235
(void);
2 7u83 236
 
237
extern void			debug_info_l_not_needed
7 7u83 238
(NameKeyP, NStringP, unsigned);
2 7u83 239
extern void			debug_info_l_not_found
7 7u83 240
(NameKeyP, NStringP, unsigned);
2 7u83 241
extern void			debug_info_l_found
7 7u83 242
(NameKeyP, NStringP, unsigned, CStringP);
2 7u83 243
extern void			debug_info_l_hide
7 7u83 244
(NStringP, NameKeyP);
2 7u83 245
extern void			debug_info_l_keep
7 7u83 246
(NStringP, NameKeyP);
2 7u83 247
extern void			debug_info_l_suppress
7 7u83 248
(NStringP, NameKeyP);
2 7u83 249
extern void			debug_info_l_rename
7 7u83 250
(NStringP, NameKeyP, NameKeyP);
2 7u83 251
 
252
#endif /* !defined (H_DEBUG) */
253
 
254
/*
255
 * Local variables(smf):
256
 * eval: (include::add-path-entry "os-interface" "library" "generated")
257
 * End:
258
**/