Annotation of 43BSDReno/usr.sbin/amd/config/misc-hpux.h, revision 1.1.1.1

1.1       root        1: /*
                      2:  * $Id: misc-hpux.h,v 5.2 90/06/23 22:20:48 jsp Rel $
                      3:  *
                      4:  * Copyright (c) 1989 Jan-Simon Pendry
                      5:  * Copyright (c) 1989 Imperial College of Science, Technology & Medicine
                      6:  * Copyright (c) 1989 The Regents of the University of California.
                      7:  * All rights reserved.
                      8:  *
                      9:  * This code is derived from software contributed to Berkeley by
                     10:  * Jan-Simon Pendry at Imperial College, London.
                     11:  *
                     12:  * Redistribution and use in source and binary forms are permitted provided
                     13:  * that: (1) source distributions retain this entire copyright notice and
                     14:  * comment, and (2) distributions including binaries display the following
                     15:  * acknowledgement:  ``This product includes software developed by the
                     16:  * University of California, Berkeley and its contributors'' in the
                     17:  * documentation or other materials provided with the distribution and in
                     18:  * all advertising materials mentioning features or use of this software.
                     19:  * Neither the name of the University nor the names of its contributors may
                     20:  * be used to endorse or promote products derived from this software without
                     21:  * specific prior written permission.
                     22:  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
                     23:  * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
                     24:  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
                     25:  *
                     26:  *     @(#)misc-hpux.h 5.1 (Berkeley) 6/29/90
                     27:  */
                     28: 
                     29: /*
                     30:  * These definitions are from <nfs/nfs.h>
                     31:  * Unfortunately, that file cannot be included
                     32:  * because it contains lots of structure definitions
                     33:  * that are not wanted (they produce name clashes).
                     34:  * Isn't HP-UX wonderful!
                     35:  */
                     36: 
                     37: /*
                     38:  * HP-UX specific definitions
                     39:  */
                     40: struct nfs_args {
                     41:        struct sockaddr_in      *addr;          /* file server address */
                     42:        fhandle_t               *fh;            /* File handle to be mounted */
                     43:        int                     flags;          /* flags */
                     44:        int                     wsize;          /* write size in bytes */
                     45:        int                     rsize;          /* read size in bytes */
                     46:        int                     timeo;          /* initial timeout in .1 secs */
                     47:        int                     retrans;        /* times to retry send */
                     48:        char                    *hostname;      /* server's name */
                     49: };
                     50: 
                     51: /*
                     52:  * NFS mount option flags
                     53:  */
                     54: #define        NFSMNT_SOFT     0x001   /* soft mount (hard is default) */
                     55: #define        NFSMNT_WSIZE    0x002   /* set write size */
                     56: #define        NFSMNT_RSIZE    0x004   /* set read size */
                     57: #define        NFSMNT_TIMEO    0x008   /* set initial timeout */
                     58: #define        NFSMNT_RETRANS  0x010   /* set number of request retrys */
                     59: #define        NFSMNT_HOSTNAME 0x020   /* set hostname for error printf */
                     60: #define        NFSMNT_INT      0x040   /* set option to have interruptable mounts */
                     61: #define        NFSMNT_NODEVS   0x080   /* turn off device file access (default on) */

unix.superglobalmegacorp.com

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