0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef LINUX_LOCKD_SHARE_H
0011 #define LINUX_LOCKD_SHARE_H
0012
0013
0014
0015
0016 struct nlm_share {
0017 struct nlm_share * s_next;
0018 struct nlm_host * s_host;
0019 struct nlm_file * s_file;
0020 struct xdr_netobj s_owner;
0021 u32 s_access;
0022 u32 s_mode;
0023 };
0024
0025 __be32 nlmsvc_share_file(struct nlm_host *, struct nlm_file *,
0026 struct nlm_args *);
0027 __be32 nlmsvc_unshare_file(struct nlm_host *, struct nlm_file *,
0028 struct nlm_args *);
0029 void nlmsvc_traverse_shares(struct nlm_host *, struct nlm_file *,
0030 nlm_host_match_fn_t);
0031
0032 #endif