source: svn/newcon3bcm2_21bu/toolchain/mipsel-linux-uclibc/include/linux/lockd/share.h @ 22

Last change on this file since 22 was 22, checked in by phkim, 11 years ago
  1. phkim
  2. newcon3sk 를 kctv 로 브랜치 함
  • Property svn:executable set to *
File size: 836 bytes
Line 
1/*
2 * linux/include/linux/lockd/share.h
3 *
4 * DOS share management for lockd.
5 *
6 * Copyright (C) 1996, Olaf Kirch <okir@monad.swb.de>
7 */
8
9#ifndef LINUX_LOCKD_SHARE_H
10#define LINUX_LOCKD_SHARE_H
11
12#include <asm/types.h>
13
14/*
15 * DOS share for a specific file
16 */
17struct nlm_share {
18        struct nlm_share *      s_next;         /* linked list */
19        struct nlm_host *       s_host;         /* client host */
20        struct nlm_file *       s_file;         /* shared file */
21        struct xdr_netobj       s_owner;        /* owner handle */
22        __u32                   s_access;       /* access mode */
23        __u32                   s_mode;         /* deny mode */
24};
25
26__u32   nlmsvc_share_file(struct nlm_host *, struct nlm_file *,
27                                               struct nlm_args *);
28__u32   nlmsvc_unshare_file(struct nlm_host *, struct nlm_file *,
29                                               struct nlm_args *);
30int     nlmsvc_traverse_shares(struct nlm_host *, struct nlm_file *, int);
31
32#endif /* LINUX_LOCKD_SHARE_H */
Note: See TracBrowser for help on using the repository browser.