diff options
author | Eric Van Hensbergen <ericvh@gmail.com> | 2005-09-09 16:04:22 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-09 16:57:57 -0400 |
commit | 426cc91aa651b50713d06d45e5c3c3e90cfd40d9 (patch) | |
tree | 56124d6564412d5f88cf12ad4b216ec5a0a6867e /fs/9p/mux.h | |
parent | b8cf945b3166c4394386f162a527c9950f396ce2 (diff) |
[PATCH] v9fs: transport modules
This part of the patch contains transport routines.
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Signed-off-by: Latchesar Ionkov <lucho@ionkov.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/9p/mux.h')
-rw-r--r-- | fs/9p/mux.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/fs/9p/mux.h b/fs/9p/mux.h new file mode 100644 index 000000000000..d7d8fa1c1529 --- /dev/null +++ b/fs/9p/mux.h | |||
@@ -0,0 +1,39 @@ | |||
1 | /* | ||
2 | * linux/fs/9p/mux.h | ||
3 | * | ||
4 | * Multiplexer Definitions | ||
5 | * | ||
6 | * Copyright (C) 2004 by Eric Van Hensbergen <ericvh@gmail.com> | ||
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License as published by | ||
10 | * the Free Software Foundation; either version 2 of the License, or | ||
11 | * (at your option) any later version. | ||
12 | * | ||
13 | * This program is distributed in the hope that it will be useful, | ||
14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
16 | * GNU General Public License for more details. | ||
17 | * | ||
18 | * You should have received a copy of the GNU General Public License | ||
19 | * along with this program; if not, write to: | ||
20 | * Free Software Foundation | ||
21 | * 51 Franklin Street, Fifth Floor | ||
22 | * Boston, MA 02111-1301 USA | ||
23 | * | ||
24 | */ | ||
25 | |||
26 | /* structure to manage each RPC transaction */ | ||
27 | |||
28 | struct v9fs_rpcreq { | ||
29 | struct v9fs_fcall *tcall; | ||
30 | struct v9fs_fcall *rcall; | ||
31 | |||
32 | /* XXX - could we put scatter/gather buffers here? */ | ||
33 | |||
34 | struct list_head next; | ||
35 | }; | ||
36 | |||
37 | int v9fs_mux_init(struct v9fs_session_info *v9ses, const char *dev_name); | ||
38 | long v9fs_mux_rpc(struct v9fs_session_info *v9ses, | ||
39 | struct v9fs_fcall *tcall, struct v9fs_fcall **rcall); | ||