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
/**********************************************************************
32
$Author: release $
33
$Date: 1998/01/17 15:55:45 $
34
$Revision: 1.1.1.1 $
35
$Log: basicread.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 basicrd_key
44
#define basicrd_key 1
45
 
46
 
47
 
48
extern char initreader PROTO_S ((char *n));
49
     /* start the input stream reading from the file called n */
50
 
51
extern void endreader PROTO_S ((void));
52
 
53
extern int getcode PROTO_S ((int n));
54
     /* read n bits from the input stream */
55
 
56
extern int get_big_code PROTO_S ((int n));
57
     /* read construct encoding number (n bit pieces)
58
        from the input stream */
59
 
60
extern place keep_place PROTO_S ((void));
61
     /* deliver the current place in the input stream */
62
 
63
extern place add_place PROTO_S ((place pl, int n));
64
     /* form a place n bits further on in the input stream than pl */
65
 
66
extern void set_place PROTO_S ((place pl));
67
     /* start reading from pl in the input stream */
68
 
69
extern place new_place PROTO_S ((int bn));
70
     /* records bn bits from the input stream in a new place.
71
        The input stream is stepped on over these bits */
72
 
73
extern void failer PROTO_S ((char *s));
74
     /* records the failure message s and sets good_trans to false */
75
 
76
extern int  small_dtdfint PROTO_S ((void));
77
 
78
 
79
extern void to_boundary PROTO_S ((void));
80
     /* step the input stream on to the next byte boundary */
81
 
82
extern bitstream d_bitstream PROTO_S ((void));
83
     /* delivers a new place for the bitstream in the input stream and
84
        steps over it */
85
 
86
extern void start_bytestream PROTO_S ((void));
87
     /* records in bytestream_pickup the end of a bytestream */
88
 
89
extern bytestream d_bytestream PROTO_S ((void));
90
     /* returns bytestream_pickup */
91
 
92
extern void ignore_bytestream PROTO_S ((void));
93
     /* steps over a bytestream */
94
 
95
extern void end_bytestream PROTO_S ((void));
96
     /* resets the input stream from bytestream_pickup */
97
 
98
extern tdfstring d_tdfstring PROTO_S ((void));
99
     /* reads a tdfstring from the input stream */
100
 
101
extern tdfstring d_tdfident PROTO_S ((void));
102
     /* reads a tdfident from the input stream */
103
 
104
extern tdfbool d_tdfbool PROTO_S ((void));
105
     /* reads a tdfbool from the input stream */
106
 
107
extern tdfint d_tdfint PROTO_S ((void));
108
     /* reads a tdfint from the input stream */
109
 
110
extern int crt_lno;
111
 
112
extern char * crt_flnm;
113
 
114
extern int crt_charno;
115
 
116
extern void add_capsule_frees PROTO_S ((void * vp));
117
 
118
 
119
 
120
#endif