X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=utils%2Fmount%2Fnfs_mount.h;h=2becfb1a0d655093385f47571b026124218fcf46;hp=a8d1f1ad6edbf9a2daa5cd3f85dab3c34d55474b;hb=dd0761b4852d9946efa86c7403e45b937462503f;hpb=3eb4c9aaa218f2af4bbea2073f02e419c50d3d3d diff --git a/utils/mount/nfs_mount.h b/utils/mount/nfs_mount.h index a8d1f1a..2becfb1 100644 --- a/utils/mount/nfs_mount.h +++ b/utils/mount/nfs_mount.h @@ -8,8 +8,8 @@ * so it is easiest to ignore the kernel altogether (at compile time). */ -#ifndef _NFS_MOUNT_H -#define _NFS_MOUNT_H +#ifndef _NFS_UTILS_MOUNT_NFS_MOUNT_H +#define _NFS_UTILS_MOUNT_NFS_MOUNT_H #include #include @@ -63,6 +63,8 @@ struct nfs_mount_data { #define NFS_MOUNT_BROKEN_SUID 0x0400 /* 4 */ #define NFS_MOUNT_NOACL 0x0800 /* 4 */ #define NFS_MOUNT_SECFLAVOUR 0x2000 /* 5 */ +#define NFS_MOUNT_NORDIRPLUS 0x4000 /* 5 */ +#define NFS_MOUNT_UNSHARED 0x8000 /* 5 */ /* security pseudoflavors */ @@ -78,8 +80,7 @@ struct nfs_mount_data { #define AUTH_GSS_SPKMP 390011 #endif -int nfsmount(const char *, const char *, int *, char **, char **, - int, int *); -void mount_errors(char *, int, int); +int nfsmount(const char *, const char *, int , char **, int, int); +int nfsumount(int, char **); -#endif /* _NFS_MOUNT_H */ +#endif /* _NFS_UTILS_MOUNT_NFS_MOUNT_H */