xref: /original-bsd/usr.sbin/amd/config/os-hlh42.h (revision c3e32dec)
1 /*
2  * Copyright (c) 1989 Jan-Simon Pendry
3  * Copyright (c) 1989 Imperial College of Science, Technology & Medicine
4  * Copyright (c) 1989, 1993
5  *	The Regents of the University of California.  All rights reserved.
6  *
7  * This code is derived from software contributed to Berkeley by
8  * Jan-Simon Pendry at Imperial College, London.
9  *
10  * %sccs.include.redist.c%
11  *
12  *	@(#)os-hlh42.h	8.1 (Berkeley) 06/06/93
13  *
14  * $Id: os-hlh42.h,v 5.2.2.1 1992/02/09 15:10:22 jsp beta $
15  *
16  * HLH OTS definitions for Amd (automounter)
17  */
18 
19 /*
20  * Does the compiler grok void *
21  */
22 #undef	VOIDP
23 
24 /*
25  * Which version of the Sun RPC library we are using
26  * This is the implementation release number, not
27  * the protocol revision number.
28  */
29 #define	RPC_3
30 
31 /*
32  * Which version of the NFS interface are we using.
33  * This is the implementation release number, not
34  * the protocol revision number.
35  */
36 #define	NFS_3
37 
38 /*
39  * Byte ordering
40  */
41 #undef ARCH_ENDIAN
42 #if defined(hlh)
43 #define	ARCH_ENDIAN	"little"
44 #endif
45 
46 /*
47  * Name of filesystem types
48  */
49 #define	MOUNT_TYPE_NFS	MOUNT_NFS
50 #define	MOUNT_TYPE_UFS	MOUNT_UFS
51 
52 /*
53  * Miscellaneous HLH 4.2 incantations
54  */
55 #define	strchr	index
56 #define strrchr	rindex
57 #define sigmask(x)	(1 << ((x)-1))
58 
59 /*
60  * HLH's 4.2 needs the extra RPC definitions.
61  */
62 #define NEED_XDR_POINTER
63 #define	NEED_CLNT_SPERRNO
64