#ifndef MNTENT_H #define MNTENT_H #include struct mntent { char *mnt_fsname; /* Device or server for filesystem. */ char *mnt_dir; /* Directory mounted on. */ char *mnt_type; /* Type of filesystem: ufs, nfs, etc. */ char *mnt_opts; /* Comma-separated options for fs. */ int mnt_freq; /* Dump frequency (in days). */ int mnt_passno; /* Pass number for `fsck'. */ }; extern FILE *mingw_setmntent(void); extern struct mntent *getmntent(FILE *stream); extern int endmntent(FILE *stream); # if defined(MNTENT_PRIVATE) struct mntdata { struct mntent me; char mnt_fsname[PATH_MAX]; char mnt_dir[4]; char mnt_type[100]; char mnt_opts[4]; }; extern int fill_mntdata(struct mntdata *data, int index); # endif #define setmntent(f, m) mingw_setmntent() #endif