#ifndef _FSTAB_H #define _FSTAB_H 1 #ifdef __cplusplus extern "C" { #endif #define _PATH_FSTAB "/etc/fstab" #define FSTAB_RW "rw" #define FSTAB_RQ "rq" #define FSTAB_RO "ro" #define FSTAB_SW "sw" #define FSTAB_XX "xx" struct fstab { char *fs_spec; char *fs_file; char *fs_vfstype; char *fs_mntops; char const *fs_type; int fs_freq; int fs_passno; }; struct fstab *getfsent (void); struct fstab *getfsspec (char const *); struct fstab *getfsfile (char const *); int setfsent (void); void endfsent (void); #ifdef __cplusplus } #endif #endif