summaryrefslogtreecommitdiff
path: root/nfs/rpcsvc/nfs_prot.h
diff options
context:
space:
mode:
Diffstat (limited to 'nfs/rpcsvc/nfs_prot.h')
-rw-r--r--nfs/rpcsvc/nfs_prot.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/nfs/rpcsvc/nfs_prot.h b/nfs/rpcsvc/nfs_prot.h
index a51f7c9f..476c72ef 100644
--- a/nfs/rpcsvc/nfs_prot.h
+++ b/nfs/rpcsvc/nfs_prot.h
@@ -66,6 +66,14 @@ enum ftype {
NF2FIFO = 8, /* v2 only */
};
+/* Ways to set the time in setattr structures */
+enum sattr_time_how
+{
+ DONT_CHANGE = 0,
+ SET_TO_SERVER_TIME = 1,
+ SET_TO_CLIENT_TIME = 2,
+};
+
#define NFS_PROGRAM ((u_long)100003)
#define NFS_VERSION ((u_long)2)