home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume21 / amd / part01 / os-hlh42.h < prev    next >
Encoding:
Text File  |  1990-04-10  |  2.0 KB  |  74 lines

  1. /* $Id: os-hlh42.h,v 5.1.1.1 89/11/28 18:03:37 jsp Exp Locker: jsp $ */
  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
  15.  * provided that the above copyright notice and this paragraph are
  16.  * duplicated in all such forms and that any documentation,
  17.  * advertising materials, and other materials related to such
  18.  * distribution and use acknowledge that the software was developed
  19.  * by Imperial College of Science, Technology and Medicine, London, UK.
  20.  * The names of the College and University may not be used to endorse
  21.  * or promote products derived from this software without specific
  22.  * prior written permission.
  23.  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
  24.  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
  25.  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  26.  *
  27.  *    %W% (Berkeley) %G%
  28.  */
  29.  
  30. /*
  31.  * Does the compiler grok void *
  32.  */
  33. #undef    VOIDP
  34.  
  35. /*
  36.  * Which version of the Sun RPC library we are using
  37.  * This is the implementation release number, not
  38.  * the protocol revision number.
  39.  */
  40. #define    RPC_3
  41.  
  42. /*
  43.  * Which version of the NFS interface are we using.
  44.  * This is the implementation release number, not
  45.  * the protocol revision number.
  46.  */
  47. #define    NFS_3
  48.  
  49. /*
  50.  * Byte ordering
  51.  */
  52. #undef ARCH_ENDIAN
  53. #if defined(hlh)
  54. #define    ARCH_ENDIAN    "little"
  55. #endif
  56.  
  57. /*
  58.  * Name of filesystem types
  59.  */
  60. #define    MOUNT_TYPE_NFS    MOUNT_NFS
  61. #define    MOUNT_TYPE_UFS    MOUNT_UFS
  62.  
  63. /*
  64.  * Miscellaneous HLH 4.2 incantations
  65.  */
  66. #define    strchr    index
  67. #define strrchr    rindex
  68. #define sigmask(x)    (1 << ((x)-1))
  69.  
  70. /*
  71.  * HLH's 4.2 needs the extra RPC definitions.
  72.  */
  73. #define MISC_RPC
  74.