#ifndef _PARAMS
#if defined(__STDC__) || defined(__cplusplus)
#define _PARAMS(ARGS) ARGS
#else
#define _PARAMS(ARGS) ()
#endif
#endif /* _PARAMS */
/*  DO NOT EDIT THIS FILE.

    It has been auto-edited by fixincludes from:

	"/usr/include/exportent.h"

    This had to be done to correct non-standard usages in the
    original, manufacturer supplied header file.  */

/*   @(#)exportent.h	$Revision: 1.1.211.1 $	$Date: 96/10/09 11:02:51 $  */
/*   (c) Copyright 1992 Hewlett-Packard Company   */

/* 
 * Copyright (c) 1988 by Sun Microsystems, Inc.
 *  1.5 88/02/07 (C) 1986 SMI
 */


/*
 * Exported file system table, see exportent(3)
 */ 

#ifndef _EXPORTENT_INCLUDED
#define _EXPORTENT_INCLUDED
#define TABFILE "/etc/xtab"		/* where the table is kept */

/*
 * Options keywords
 */
#define ACCESS_OPT	"access"	/* machines that can mount fs */
#define ROOT_OPT	"root"		/* machines with root access of fs */
#define RO_OPT		"ro"		/* export read-only */
#define RW_OPT		"rw"		/* export read-mostly */
#define ANON_OPT	"anon"		/* uid for anonymous requests */
#ifndef __hpux__
#define SECURE_OPT	"secure"	/* require secure NFS for access */
#define WINDOW_OPT	"window"	/* expiration window for credential */
#endif
#ifdef __hpux__
#define ASYNC_OPT	"async"		/* all mounts will be asynchronous */
#endif

struct exportent {
	char *xent_dirname;	/* directory (or file) to export */
	char *xent_options;	/* options, as above */
};

extern FILE *setexportent();
extern void endexportent();
extern int remexportent();
extern int addexportent();
extern char *getexportopt();
extern struct exportent *getexportent();

#endif /*_EXPORTENT_INCLUDED*/
