2 * linux/include/linux/lockd/share.h
4 * DOS share management for lockd.
6 * Copyright (C) 1996, Olaf Kirch <okir@monad.swb.de>
9 #ifndef LINUX_LOCKD_SHARE_H
10 #define LINUX_LOCKD_SHARE_H
13 * DOS share for a specific file
16 struct nlm_share
* s_next
; /* linked list */
17 struct nlm_host
* s_host
; /* client host */
18 struct nlm_file
* s_file
; /* shared file */
19 struct xdr_netobj s_owner
; /* owner handle */
20 u32 s_access
; /* access mode */
21 u32 s_mode
; /* deny mode */
24 u32
nlmsvc_share_file(struct nlm_host
*, struct nlm_file
*,
26 u32
nlmsvc_unshare_file(struct nlm_host
*, struct nlm_file
*,
28 int nlmsvc_traverse_shares(struct nlm_host
*, struct nlm_file
*, int);
30 #endif /* LINUX_LOCKD_SHARE_H */