projects
/
bluesky.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove most static variables in the NFS server functions.
[bluesky.git]
/
nfs3
/
nfs3_prot.h
diff --git
a/nfs3/nfs3_prot.h
b/nfs3/nfs3_prot.h
index
7f75928
..
42b46ba
100644
(file)
--- a/
nfs3/nfs3_prot.h
+++ b/
nfs3/nfs3_prot.h
@@
-683,54
+683,55
@@
typedef struct {
xdrproc_t xdr_result;
} RPCRequest;
xdrproc_t xdr_result;
} RPCRequest;
+extern void async_rpc_send_reply(RPCRequest *req, void *result);
+
#define NFS_PROGRAM 100003
#define NFS_V3 3
#define NFSPROC3_NULL 0
#define NFS_PROGRAM 100003
#define NFS_V3 3
#define NFSPROC3_NULL 0
-extern
void * nfsproc3_null_3_svc(void *, struct svc_req
*);
+extern
void nfsproc3_null_3_svc(void *, RPCRequest
*);
#define NFSPROC3_GETATTR 1
#define NFSPROC3_GETATTR 1
-extern
getattr3res * nfsproc3_getattr_3_svc(nfs_fh3 *, struct svc_req
*);
+extern
void nfsproc3_getattr_3_svc(nfs_fh3 *, RPCRequest
*);
#define NFSPROC3_SETATTR 2
#define NFSPROC3_SETATTR 2
-extern
wccstat3 * nfsproc3_setattr_3_svc(setattr3args *, struct svc_req
*);
+extern
void nfsproc3_setattr_3_svc(setattr3args *, RPCRequest
*);
#define NFSPROC3_LOOKUP 3
#define NFSPROC3_LOOKUP 3
-extern
lookup3res * nfsproc3_lookup_3_svc(diropargs3 *, struct svc_req
*);
+extern
void nfsproc3_lookup_3_svc(diropargs3 *, RPCRequest
*);
#define NFSPROC3_ACCESS 4
#define NFSPROC3_ACCESS 4
-extern
access3res * nfsproc3_access_3_svc(access3args *, struct svc_req
*);
+extern
void nfsproc3_access_3_svc(access3args *, RPCRequest
*);
#define NFSPROC3_READLINK 5
#define NFSPROC3_READLINK 5
-extern
readlink3res * nfsproc3_readlink_3_svc(nfs_fh3 *, struct svc_req
*);
+extern
void nfsproc3_readlink_3_svc(nfs_fh3 *, RPCRequest
*);
#define NFSPROC3_READ 6
#define NFSPROC3_READ 6
-extern
read3res * nfsproc3_read_3_svc(read3args *, struct svc_req
*);
+extern
void nfsproc3_read_3_svc(read3args *, RPCRequest
*);
#define NFSPROC3_WRITE 7
#define NFSPROC3_WRITE 7
-extern
write3res * nfsproc3_write_3_svc(write3args *, struct svc_req
*);
+extern
void nfsproc3_write_3_svc(write3args *, RPCRequest
*);
#define NFSPROC3_CREATE 8
#define NFSPROC3_CREATE 8
-extern
diropres3 * nfsproc3_create_3_svc(create3args *, struct svc_req
*);
+extern
void nfsproc3_create_3_svc(create3args *, RPCRequest
*);
#define NFSPROC3_MKDIR 9
#define NFSPROC3_MKDIR 9
-extern
diropres3 * nfsproc3_mkdir_3_svc(mkdir3args *, struct svc_req
*);
+extern
void nfsproc3_mkdir_3_svc(mkdir3args *, RPCRequest
*);
#define NFSPROC3_SYMLINK 10
#define NFSPROC3_SYMLINK 10
-extern
diropres3 * nfsproc3_symlink_3_svc(symlink3args *, struct svc_req
*);
+extern
void nfsproc3_symlink_3_svc(symlink3args *, RPCRequest
*);
#define NFSPROC3_MKNOD 11
#define NFSPROC3_MKNOD 11
-extern
diropres3 * nfsproc3_mknod_3_svc(mknod3args *, struct svc_req
*);
+extern
void nfsproc3_mknod_3_svc(mknod3args *, RPCRequest
*);
#define NFSPROC3_REMOVE 12
#define NFSPROC3_REMOVE 12
-extern
wccstat3 * nfsproc3_remove_3_svc(diropargs3 *, struct svc_req
*);
+extern
void nfsproc3_remove_3_svc(diropargs3 *, RPCRequest
*);
#define NFSPROC3_RMDIR 13
#define NFSPROC3_RMDIR 13
-extern
wccstat3 * nfsproc3_rmdir_3_svc(diropargs3 *, struct svc_req
*);
+extern
void nfsproc3_rmdir_3_svc(diropargs3 *, RPCRequest
*);
#define NFSPROC3_RENAME 14
#define NFSPROC3_RENAME 14
-extern
rename3res * nfsproc3_rename_3_svc(rename3args *, struct svc_req
*);
+extern
void nfsproc3_rename_3_svc(rename3args *, RPCRequest
*);
#define NFSPROC3_LINK 15
#define NFSPROC3_LINK 15
-extern
link3res * nfsproc3_link_3_svc(link3args *, struct svc_req
*);
+extern
void nfsproc3_link_3_svc(link3args *, RPCRequest
*);
#define NFSPROC3_READDIR 16
#define NFSPROC3_READDIR 16
-extern
readdir3res * nfsproc3_readdir_3_svc(readdir3args *, struct svc_req
*);
+extern
void nfsproc3_readdir_3_svc(readdir3args *, RPCRequest
*);
#define NFSPROC3_READDIRPLUS 17
#define NFSPROC3_READDIRPLUS 17
-extern
readdirplus3res * nfsproc3_readdirplus_3_svc(readdirplus3args *, struct svc_req
*);
+extern
void nfsproc3_readdirplus_3_svc(readdirplus3args *, RPCRequest
*);
#define NFSPROC3_FSSTAT 18
#define NFSPROC3_FSSTAT 18
-extern
fsstat3res * nfsproc3_fsstat_3_svc(nfs_fh3 *, struct svc_req
*);
+extern
void nfsproc3_fsstat_3_svc(nfs_fh3 *, RPCRequest
*);
#define NFSPROC3_FSINFO 19
#define NFSPROC3_FSINFO 19
-extern
fsinfo3res * nfsproc3_fsinfo_3_svc(nfs_fh3 *, struct svc_req
*);
+extern
void nfsproc3_fsinfo_3_svc(nfs_fh3 *, RPCRequest
*);
#define NFSPROC3_PATHCONF 20
#define NFSPROC3_PATHCONF 20
-extern
pathconf3res * nfsproc3_pathconf_3_svc(nfs_fh3 *, struct svc_req
*);
+extern
void nfsproc3_pathconf_3_svc(nfs_fh3 *, RPCRequest
*);
#define NFSPROC3_COMMIT 21
#define NFSPROC3_COMMIT 21
-extern commit3res * nfsproc3_commit_3_svc(commit3args *, struct svc_req *);
-extern int nfs_program_3_freeresult (SVCXPRT *, xdrproc_t, caddr_t);
+extern void nfsproc3_commit_3_svc(commit3args *, RPCRequest *);
/* the xdr functions */
/* the xdr functions */