1
2
3
4
5
6
7
8
9
10 #ifndef LINUX_LOCKD_SHARE_H
11 #define LINUX_LOCKD_SHARE_H
12
13
14
15
16 struct nlm_share {
17 struct nlm_share * s_next;
18 struct nlm_host * s_host;
19 struct nlm_file * s_file;
20 struct xdr_netobj s_owner;
21 u32 s_access;
22 u32 s_mode;
23 };
24
25 __be32 nlmsvc_share_file(struct nlm_host *, struct nlm_file *,
26 struct nlm_args *);
27 __be32 nlmsvc_unshare_file(struct nlm_host *, struct nlm_file *,
28 struct nlm_args *);
29 void nlmsvc_traverse_shares(struct nlm_host *, struct nlm_file *,
30 nlm_host_match_fn_t);
31
32 #endif