X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=utils%2Fmount%2Fnfs_mount.h;h=ec30c9b62a6da09c8671e3b8b7c995e1ef7f7e3c;hp=4a061d834f4f20081bd7447d0948e22bcfcbe440;hb=HEAD;hpb=4f7fc41f6324daad94c37e9327567d27a0d50afe diff --git a/utils/mount/nfs_mount.h b/utils/mount/nfs_mount.h index 4a061d8..ec30c9b 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 @@ -64,6 +64,7 @@ struct nfs_mount_data { #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 */ @@ -74,13 +75,9 @@ struct nfs_mount_data { #define AUTH_GSS_LKEY 390006 #define AUTH_GSS_LKEYI 390007 #define AUTH_GSS_LKEYP 390008 -#define AUTH_GSS_SPKM 390009 -#define AUTH_GSS_SPKMI 390010 -#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 */