source: svn/trunk/newcon3bcm2_21bu/toolchain/mips-linux-uclibc/include/linux/lockd/bind.h

Last change on this file was 2, checked in by jglee, 11 years ago

first commit

  • Property svn:executable set to *
File size: 784 bytes
Line 
1/*
2 * linux/include/linux/lockd/bind.h
3 *
4 * This is the part of lockd visible to nfsd and the nfs client.
5 *
6 * Copyright (C) 1996, Olaf Kirch <okir@monad.swb.de>
7 */
8
9#ifndef LINUX_LOCKD_BIND_H
10#define LINUX_LOCKD_BIND_H
11
12#include <asm/types.h>
13
14#include <linux/lockd/nlm.h>
15
16/* Dummy declarations */
17struct svc_rqst;
18
19/*
20 * This is the set of functions for lockd->nfsd communication
21 */
22struct nlmsvc_binding {
23        __u32                   (*fopen)(struct svc_rqst *,
24                                                struct nfs_fh *,
25                                                struct file **);
26        void                    (*fclose)(struct file *);
27};
28
29extern struct nlmsvc_binding *  nlmsvc_ops;
30
31/*
32 * Functions exported by the lockd module
33 */
34extern int      nlmclnt_proc(struct inode *, int, struct file_lock *);
35extern int      lockd_up(void);
36extern void     lockd_down(void);
37
38#endif /* LINUX_LOCKD_BIND_H */
Note: See TracBrowser for help on using the repository browser.