Subversion Repositories tendra.SVN

Rev

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 OSSG_API_INCLUDED
32
#define OSSG_API_INCLUDED
33
 
34
 
35
/*
36
    STANDARD API HEADER
37
 
38
    This header contains the basic API headers used by the program
39
    software.  The flag FS_POSIX is set to indicate that POSIX features
40
    should be enabled (see system.h).  Some likely values for objects
41
    which are not defined by all systems are provided.  Also any
42
    unwarranted namespace pollution is removed.
43
*/
44
 
45
#include <stdio.h>
46
#include <string.h>
47
#include <stdlib.h>
48
 
49
#ifndef FS_EXTENDED_CHAR
50
#define FS_EXTENDED_CHAR	0
51
#endif
52
 
53
#ifndef FS_MULTIBYTE
54
#define FS_MULTIBYTE		0
55
#endif
56
 
57
#ifndef FS_POSIX
58
#define FS_POSIX		1
59
#endif
60
 
61
#ifndef FS_UTSNAME
62
#define FS_UTSNAME		FS_POSIX
63
#endif
64
 
65
#ifndef EXIT_SUCCESS
66
#define EXIT_SUCCESS		0
67
#define EXIT_FAILURE		1
68
#endif
69
 
70
#ifndef SEEK_SET
71
#define SEEK_SET		0
72
#define SEEK_CUR		1
73
#define SEEK_END		2
74
#endif
75
 
76
#ifndef BUFSIZ
77
#define BUFSIZ			1024
78
#endif
79
 
80
#ifdef index
81
#undef index
82
#endif
83
 
84
#ifdef major
85
#undef major
86
#endif
87
 
88
#ifdef minor
89
#undef minor
90
#endif
91
 
92
 
93
#endif