Annotation of 43BSDReno/usr.sbin/amd/config/os-sos4.h, revision 1.1.1.1

1.1       root        1: /* $Id: os-sos4.h,v 5.2 90/06/23 22:20:52 jsp Rel $ */
                      2: 
                      3: /*
                      4:  * SunOS 4.0 definitions for Amd (automounter)
                      5:  *
                      6:  * Copyright (c) 1989 Jan-Simon Pendry
                      7:  * Copyright (c) 1989 Imperial College of Science, Technology & Medicine
                      8:  * Copyright (c) 1989 The Regents of the University of California.
                      9:  * All rights reserved.
                     10:  *
                     11:  * This code is derived from software contributed to Berkeley by
                     12:  * Jan-Simon Pendry at Imperial College, London.
                     13:  *
                     14:  * Redistribution and use in source and binary forms are permitted provided
                     15:  * that: (1) source distributions retain this entire copyright notice and
                     16:  * comment, and (2) distributions including binaries display the following
                     17:  * acknowledgement:  ``This product includes software developed by the
                     18:  * University of California, Berkeley and its contributors'' in the
                     19:  * documentation or other materials provided with the distribution and in
                     20:  * all advertising materials mentioning features or use of this software.
                     21:  * Neither the name of the University nor the names of its contributors may
                     22:  * be used to endorse or promote products derived from this software without
                     23:  * specific prior written permission.
                     24:  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
                     25:  * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
                     26:  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
                     27:  *
                     28:  *     @(#)os-sos4.h   5.1 (Berkeley) 6/29/90
                     29:  */
                     30: 
                     31: /*
                     32:  * Does the compiler grok void *
                     33:  */
                     34: #define        VOIDP
                     35: 
                     36: /*
                     37:  * What type is free(void*) returning?
                     38:  */
                     39: #undef FREE_RETURN_TYPE
                     40: #define FREE_RETURN_TYPE       int
                     41: 
                     42: /*
                     43:  * Which version of the Sun RPC library we are using
                     44:  * This is the implementation release number, not
                     45:  * the protocol revision number.
                     46:  */
                     47: #define        RPC_4
                     48: 
                     49: /*
                     50:  * Which version of the NFS interface are we using.
                     51:  * This is the implementation release number, not
                     52:  * the protocol revision number.
                     53:  */
                     54: #define        NFS_4
                     55: 
                     56: /*
                     57:  * Does this OS have NDBM support?
                     58:  */
                     59: #define OS_HAS_NDBM
                     60: 
                     61: /*
                     62:  * Byte ordering
                     63:  */
                     64: #undef ARCH_ENDIAN
                     65: #if defined(mc68010) || defined(mc68020) || defined(sparc)
                     66: #define        ARCH_ENDIAN     "big"
                     67: #endif
                     68: #if defined(i386)
                     69: #define ARCH_ENDIAN    "little"
                     70: #endif
                     71: 
                     72: /*
                     73:  * Name of filesystem types
                     74:  */
                     75: #define MOUNT_TYPE_NFS "nfs"
                     76: #define MOUNT_TYPE_UFS "4.2"
                     77: 
                     78: /*
                     79:  * Type of a file handle
                     80:  */
                     81: #undef NFS_FH_TYPE
                     82: #define        NFS_FH_TYPE     caddr_t
                     83: 
                     84: /*
                     85:  * Type of filesystem type
                     86:  */
                     87: #undef MTYPE_TYPE
                     88: #define        MTYPE_TYPE      char *
                     89: 
                     90: /*
                     91:  * Add support for SunOS 4 automounter files
                     92:  */
                     93: #define        SUNOS4_COMPAT

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.