Correct PPTP server firewall rules chain.
[tomato/davidwu.git] / release / src / router / nfs-utils / utils / mount / fstab.h
blobdc7c9fc8d73bdc854e78c5c87a68dbb76e71445d
1 #ifndef _NFS_UTILS_MOUNT_FSTAB_H
2 #define _NFS_UTILS_MOUNT_FSTAB_H
4 #include "nfs_mntent.h"
6 #ifndef _PATH_FSTAB
7 #define _PATH_FSTAB "/etc/fstab"
8 #endif
10 int mtab_is_writable(void);
11 int mtab_does_not_exist(void);
12 void reset_mtab_info(void);
14 struct mntentchn {
15 struct mntentchn *nxt, *prev;
16 struct mntent m;
19 struct mntentchn *getmntoptfile (const char *file);
20 struct mntentchn *getmntdirbackward (const char *dir, struct mntentchn *mc);
21 struct mntentchn *getmntdevbackward (const char *dev, struct mntentchn *mc);
23 struct mntentchn *getfsfile (const char *file);
24 struct mntentchn *getfsspec (const char *spec);
26 void lock_mtab (void);
27 void unlock_mtab (void);
28 void update_mtab (const char *special, struct mntent *with);
30 #endif /* _NFS_UTILS_MOUNT_FSTAB_H */