diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-12-07 20:39:59 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-12-07 20:39:59 +0000 |
commit | affc30e281750349e1344b4cb2975f67684d8747 (patch) | |
tree | 562a2fc50107f894485062c1043b90b09e1e9b70 /nfs | |
parent | e6a6d4d6481b317c014953f9b94c3b8a9ae5b9a8 (diff) |
Formerly nfs.c.~7~
Diffstat (limited to 'nfs')
-rw-r--r-- | nfs/nfs.c | 17 |
1 files changed, 16 insertions, 1 deletions
@@ -108,6 +108,22 @@ xdr_encode_sattr_times (int *p, struct timespec *atime, struct timespec *mtime) return p; } +inline int * +xdr_encode_create_state (int *p, + mode_t mode) +{ + *p++ = mode; + *p++ = -1; /* uid */ + *p++ = -1; /* gid */ + *p++ = 0; /* size */ + *p++ = -1; /* atime sec */ + *p++ = -1; /* atime usec */ + *p++ = -1; /* mtime sec */ + *p++ = -1; /* mtime usec */ + return p +} + + /* Decode *P into a stat structure; return the address of the following data. */ int * @@ -142,4 +158,3 @@ xdr_decode_fattr (int *p, struct stat *st) return p; } - |