Added initial unfs3 sources for version 0.9.22+dfsg-1maemo2
[unfs3] / unfs3 / attr.h
1 /*
2  * UNFS3 attribute handling
3  * (C) 2004, Pascal Schmidt
4  * see file LICENSE for license details
5  */
6
7 #ifndef NFS_ATTR_H
8 #define NFS_ATTR_H
9
10 nfsstat3 is_reg(void);
11
12 mode_t type_to_mode(ftype3 ftype);
13
14 post_op_attr get_post_attr(const char *path, nfs_fh3 fh, struct svc_req *req);
15 post_op_attr get_post_stat(const char *path, struct svc_req *req);
16 post_op_attr get_post_cached(struct svc_req *req);
17 post_op_attr get_post_buf(backend_statstruct buf, struct svc_req *req);
18 pre_op_attr  get_pre_cached(void);
19
20 nfsstat3 set_attr(const char *path, nfs_fh3 fh, sattr3 sattr);
21
22 mode_t create_mode(sattr3 sattr);
23
24 nfsstat3 atomic_attr(sattr3 sattr);
25
26 #endif