diff options
author | Michael Kelly <mike@weatherwax.co.uk> | 2025-07-10 18:32:49 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2025-07-10 18:33:00 +0200 |
commit | 3df101ed0d44b7f22d18890973fe400cb2551d73 (patch) | |
tree | fba953455aeeef7106bc001f1ed020414057ad63 /nfs/nfs.h | |
parent | 7dfabcb3764da7f39179c591325e57ab44de06bf (diff) |
nfs: Clean xdr_encode/decode_64bit
Better use the stdint.
Also export them, they will be useful generally.
Diffstat (limited to 'nfs/nfs.h')
-rw-r--r-- | nfs/nfs.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -171,9 +171,11 @@ int *xdr_encode_sattr_size (int *, off_t); int *xdr_encode_sattr_times (int *, const struct timespec *, const struct timespec *); int *xdr_encode_sattr_stat (int *, const struct stat *); int *xdr_encode_create_state (int *, mode_t, uid_t); +int *xdr_encode_64bit (int *p, uint64_t n); int *xdr_decode_fattr (int *, struct stat *); int *xdr_decode_string (int *, char *); int *xdr_decode_fhandle (int *, struct node **); +int *xdr_decode_64bit (int *p, uint64_t *n); int *nfs_initialize_rpc (int, struct iouser *, size_t, void **, struct node *, uid_t); error_t nfs_error_trans (int); |