1 /*
2  * Copyright (c) 1991-1994  Sony Corporation
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining
5  * a copy of this software and associated documentation files (the
6  * "Software"), to deal in the Software without restriction, including
7  * without limitation the rights to use, copy, modify, merge, publish,
8  * distribute, sublicense, and/or sell copies of the Software, and to
9  * permit persons to whom the Software is furnished to do so, subject to
10  * the following conditions:
11  *
12  * The above copyright notice and this permission notice shall be
13  * included in all copies or substantial portions of the Software.
14  *
15  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
18  * IN NO EVENT SHALL SONY CORPORATION BE LIABLE FOR ANY CLAIM,
19  * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
20  * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
21  * THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22  *
23  * Except as contained in this notice, the name of Sony Corporation
24  * shall not be used in advertising or otherwise to promote the sale, use
25  * or other dealings in this Software without prior written authorization
26  * from Sony Corporation.
27  *
28  */
29 
30 /*
31  * $SonyRCSfile: sj_typedef.h,v $
32  * $SonyRevision: 1.1 $
33  * $SonyDate: 1994/06/03 08:01:22 $
34  */
35 
36 
37 
38 #ifndef	_SJ_TYPEDEF
39 
40 #define	_SJ_TYPEDEF
41 
42 #define	RECURS
43 
44 #define	TFar
45 #define	Far
46 
47 #define	Void	void
48 #define	Char	char
49 #define	Uchar	unsigned char
50 #define	Short	short
51 #define	Ushort	unsigned short
52 #define	Int	int
53 #define	Uint	unsigned int
54 #define	Long	long
55 #define	Ulong	unsigned long
56 
57 typedef	Void	(*VFunc)();
58 typedef	Uchar	*(*UCPFunc)();
59 typedef	Int	(*IFunc)();
60 
61 #include <sys/types.h>
62 
63 typedef	Uchar	TypeGroup;
64 typedef	Uchar	TypeGram;
65 typedef	Ushort	TypeIdxOfs;
66 typedef	Short	TypeDicSeg;
67 typedef	Ushort	TypeDicOfs;
68 typedef	ino_t	TypeDicID;
69 typedef	Uchar	TypeCnct;
70 typedef	Ushort	TypeStyNum;
71 typedef	Uchar	TypeClass;
72 typedef	Uchar	TypeBunNum;
73 
74 #ifndef	NULL
75 #	define	NULL	0
76 #endif
77 
78 #endif
79 
80