/*
* UNFS3 attribute handling
* (C) 2004, Pascal Schmidt
* see file LICENSE for license details
*/
#ifndef NFS_ATTR_H
#define NFS_ATTR_H
nfsstat3 is_reg(void);
mode_t type_to_mode(ftype3 ftype);
post_op_attr get_post_attr(const char *path, nfs_fh3 fh, struct svc_req *req);
post_op_attr get_post_stat(const char *path, struct svc_req *req);
post_op_attr get_post_cached(struct svc_req *req);
post_op_attr get_post_buf(struct stat buf, struct svc_req *req);
pre_op_attr get_pre_cached(void);
nfsstat3 set_attr(const char *path, nfs_fh3 fh, sattr3 sattr);
mode_t create_mode(sattr3 sattr);
nfsstat3 atomic_attr(sattr3 sattr);
#endif
syntax highlighted by Code2HTML, v. 0.9.1