/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* bos43V src/bos/usr/include/mntent.h 1.1 */ /* */ /* Licensed Materials - Property of IBM */ /* */ /* (C) COPYRIGHT International Business Machines Corp. 2001 */ /* All Rights Reserved */ /* */ /* US Government Users Restricted Rights - Use, duplication or */ /* disclosure restricted by GSA ADP Schedule Contract with IBM Corp. */ /* */ /* IBM_PROLOG_END_TAG */ /* * Structures, defines, and prototypes for the * System V mntent functions. */ #ifndef _H_MNTENT #define _H_MNTENT #ifndef _H_STDIO #include #endif #ifdef __cplusplus extern "C" { #endif /* Generic mount options. */ #define MNTOPT_DEFAULTS "defaults" /* Use all default options. */ #define MNTOPT_RO "ro" /* Read only. */ #define MNTOPT_RW "rw" /* Read/write. */ #define MNTOPT_SUID "suid" /* Set uid allowed. */ #define MNTOPT_NOSUID "nosuid" /* No set uid allowed. */ #define MNTOPT_NOAUTO "noauto" /* Do not auto mount. */ /* * Structure section. */ struct mntent { char *mnt_fsname; /* Name of block special */ char *mnt_dir; /* Mount point */ char *mnt_type; /* vfs type */ char *mnt_opts; /* mount options */ int mnt_freq; /* dump frequency */ int mnt_passno; /* fsck pass number */ }; /* * Function prototype section. */ #ifdef _NO_PROTO extern FILE *setmntent(); extern int endmntent(); extern struct mntent *getmntent(); extern int addmntent(); extern char *hasmntopt(); #else extern FILE *setmntent(const char *, const char *); extern int endmntent(FILE *); extern struct mntent *getmntent(FILE *); extern int addmntent(FILE *, const struct mntent *); extern char *hasmntopt(const struct mntent *, const char *); #endif #ifdef __cplusplus } #endif #endif /* _H_MNTENT */