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: codetypes.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 codetypes_key
44
#define codetypes_key 1
45
 
46
 
47
 
48
typedef int flpt;
49
 
50
 /* the definition of the internal representation of the sort nat */
51
union nat_u {int small_nat;
52
             flpt big_nat;};
53
struct nat_t {union nat_u nat_val;
54
	      char issmall;	/* 1 if small_nat, 0 if big_nat */
55
	     };
56
typedef struct nat_t nat;
57
 
58
 
59
 
60
 /* the definition of the internal representation of the sort tdfstring
61
    and tdfident */
62
typedef struct tdfstring_t
63
  {int size;	/* size of components in bits */
64
   int number;	/* number of components */
65
   union tdfs_u {char * chars; short * shorts; int * longs;} ints;
66
	/* the components are place in the array of the smallest
67
	   possible size elements */
68
  } tdfstring;
69
 
70
 /* the definition of the internal representation of the sort tdfbool */
71
typedef char tdfbool;
72
 
73
 /* the definition of the internal representation of the sort tdfint */
74
typedef nat tdfint;
75
 
76
#endif