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
#ifndef FILE_INCLUDED
32
#define FILE_INCLUDED
33
 
34
 
35
/*
36
    FILE HANDLING ROUTINES
37
 
38
    This file contains the low level file reading and writing routines.
39
*/
40
 
41
extern FILE *pp_file ;
42
extern place here ;
43
extern int printflag ;
44
extern int column ;
45
extern int maximum ;
46
extern int lastc ;
47
extern int read_error ;
48
extern int dump ;
49
 
50
extern void open_files PROTO_S ( ( char *, char * ) ) ;
51
extern long fetch PROTO_S ( ( int ) ) ;
52
extern void byte_align PROTO_S ( ( void ) ) ;
53
extern void set_place PROTO_S ( ( place * ) ) ;
54
extern void skip_bits PROTO_S ( ( long ) ) ;
55
extern void init_spaces PROTO_S ( ( int ) ) ;
56
extern void spaces PROTO_S ( ( int ) ) ;
57
 
58
#define posn( X )	( ( X ).byte * BYTESIZE + ( X ).bit )
59
 
60
 
61
#endif