summaryrefslogtreecommitdiffstats
path: root/net/9p/protocol.h
diff options
context:
space:
mode:
authorEric Van Hensbergen <ericvh@gmail.com>2008-10-16 08:30:07 -0500
committerEric Van Hensbergen <ericvh@gmail.com>2008-10-17 11:04:45 -0500
commit51a87c552dfd428e304c865e24ecbe091556f226 (patch)
tree6e9012962e6601b559dcf15ae3228647a8581a31 /net/9p/protocol.h
parentcb198131b0e7aba755ac164744536d461e86ab82 (diff)
downloadop-kernel-dev-51a87c552dfd428e304c865e24ecbe091556f226.zip
op-kernel-dev-51a87c552dfd428e304c865e24ecbe091556f226.tar.gz
9p: rework client code to use new protocol support functions
Now that the new protocol functions are in place, this patch switches the client code to using the new support code. Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'net/9p/protocol.h')
-rw-r--r--net/9p/protocol.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/net/9p/protocol.h b/net/9p/protocol.h
index 596ee10..ccde462 100644
--- a/net/9p/protocol.h
+++ b/net/9p/protocol.h
@@ -27,5 +27,8 @@
int
p9pdu_vwritef(struct p9_fcall *pdu, int optional, const char *fmt, va_list ap);
-
int p9pdu_readf(struct p9_fcall *pdu, int optional, const char *fmt, ...);
+int p9pdu_prepare(struct p9_fcall *pdu, int16_t tag, int8_t type);
+int p9pdu_finalize(struct p9_fcall *pdu);
+void p9pdu_dump(int, struct p9_fcall *);
+void p9pdu_reset(struct p9_fcall *pdu);
OpenPOWER on IntegriCloud