home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / ip / nfs / amd / amd-5.2 / config / os-hlh42.h < prev    next >
Encoding:
Text File  |  1990-06-23  |  2.1 KB  |  75 lines

  1. /* $Id: os-hlh42.h,v 5.2 90/06/23 22:20:46 jsp Rel $ */
  2.  
  3. /*
  4.  * HLH OTS 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.  *    %W% (Berkeley) %G%
  29.  */
  30.  
  31. /*
  32.  * Does the compiler grok void *
  33.  */
  34. #undef    VOIDP
  35.  
  36. /*
  37.  * Which version of the Sun RPC library we are using
  38.  * This is the implementation release number, not
  39.  * the protocol revision number.
  40.  */
  41. #define    RPC_3
  42.  
  43. /*
  44.  * Which version of the NFS interface are we using.
  45.  * This is the implementation release number, not
  46.  * the protocol revision number.
  47.  */
  48. #define    NFS_3
  49.  
  50. /*
  51.  * Byte ordering
  52.  */
  53. #undef ARCH_ENDIAN
  54. #if defined(hlh)
  55. #define    ARCH_ENDIAN    "little"
  56. #endif
  57.  
  58. /*
  59.  * Name of filesystem types
  60.  */
  61. #define    MOUNT_TYPE_NFS    MOUNT_NFS
  62. #define    MOUNT_TYPE_UFS    MOUNT_UFS
  63.  
  64. /*
  65.  * Miscellaneous HLH 4.2 incantations
  66.  */
  67. #define    strchr    index
  68. #define strrchr    rindex
  69. #define sigmask(x)    (1 << ((x)-1))
  70.  
  71. /*
  72.  * HLH's 4.2 needs the extra RPC definitions.
  73.  */
  74. #define MISC_RPC
  75.