Warning: Attempt to read property "date" on null in /usr/local/www/websvn.planix.org/blame.php on line 247

Warning: Attempt to read property "msg" on null in /usr/local/www/websvn.planix.org/blame.php on line 247
WebSVN – tendra.SVN – Blame – /branches/tendra5/src/tools/tspec/config.h – Rev 2

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 CONFIG_INCLUDED
32
#define CONFIG_INCLUDED
33
 
34
 
35
/*
36
    ANSI API SPECIFICATION
37
 
38
    The API for this program is ANSI.  This defines the basic interface,
39
    and utility.c includes stdarg.h (or varargs.h).
40
*/
41
 
42
#include <stdio.h>
43
#include <stdlib.h>
44
#include <string.h>
45
#include <time.h>
46
 
47
 
48
/*
49
    HACKS FOR BAD API IMPLEMENTATIONS
50
 
51
    These values are meant to be in the headers above, but sometimes
52
    they are omitted.
53
*/
54
 
55
#ifndef EXIT_SUCCESS
56
#define EXIT_SUCCESS		0
57
#define EXIT_FAILURE		1
58
#endif
59
 
60
#ifndef SEEK_SET
61
#define SEEK_SET		0
62
#define SEEK_CUR		1
63
#define SEEK_END		2
64
#endif
65
 
66
#ifdef __MSDOS__
67
#define FS_NO_MODE_T		1
68
#endif
69
 
70
 
71
/*
72
    COMPILER DEPENDENT MACROS
73
*/
74
 
75
#include "ossg.h"
76
 
77
 
78
/*
79
    BASIC TYPES
80
 
81
    These types are so ubiquitous that this is the only suitable place
82
    for them.
83
*/
84
 
85
typedef char boolean ;
86
#if FS_PTR_VOID
87
typedef void *pointer ;
88
#else
89
typedef char *pointer ;
90
#endif
91
 
92
 
93
/*
94
    UTILITY MACROS
95
 
96
    These macros are just a matter of programming style.
97
*/
98
 
99
#define null			NULL
100
#define null_str		( ( char * ) NULL )
101
#define streq( X, Y )		( strcmp ( ( X ), ( Y ) ) == 0 )
102
#define strneq( X, Y, Z )	( strncmp ( ( X ), ( Y ), ( Z ) ) == 0 )
103
 
104
 
105
#endif