8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / lib / libbc / inc / include / exportent.h
blob907bbe6d419b5d92b6222eaf9bb4835fb189bf6f
1 /*
2 * CDDL HEADER START
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
7 * with the License.
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or http://www.opensolaris.org/os/licensing.
11 * See the License for the specific language governing permissions
12 * and limitations under the License.
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
20 * CDDL HEADER END
22 #pragma ident "%Z%%M% %I% %E% SMI"
25 * Exported file system table, see exportent(3)
26 * Copyright (C) 1986 by Sun Microsystems, Inc.
27 */
29 #ifndef _exportent_h
30 #define _exportent_h
32 #define TABFILE "/etc/xtab" /* where the table is kept */
35 * Options keywords
37 #define ACCESS_OPT "access" /* machines that can mount fs */
38 #define ROOT_OPT "root" /* machines with root access of fs */
39 #define RO_OPT "ro" /* export read-only */
40 #define RW_OPT "rw" /* export read-mostly */
41 #define ANON_OPT "anon" /* uid for anonymous requests */
42 #define SECURE_OPT "secure" /* require secure NFS for access */
43 #define WINDOW_OPT "window" /* expiration window for credential */
45 struct exportent {
46 char *xent_dirname; /* directory (or file) to export */
47 char *xent_options; /* options, as above */
50 extern FILE *setexportent();
51 extern void endexportent();
52 extern int remexportent();
53 extern int addexportent();
54 extern char *getexportopt();
55 extern struct exportent *getexportent();
57 #endif /*!_exportent_h*/