Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1/* SPDX-License-Identifier: GPL-2.0-only */
2/*
3 * 9P Protocol Support Code
4 *
5 * Copyright (C) 2008 by Eric Van Hensbergen <ericvh@gmail.com>
6 *
7 * Base on code from Anthony Liguori <aliguori@us.ibm.com>
8 * Copyright (C) 2008 by IBM, Corp.
9 */
10
11int p9pdu_vwritef(struct p9_fcall *pdu, int proto_version, const char *fmt,
12 va_list ap);
13int p9pdu_readf(struct p9_fcall *pdu, int proto_version, const char *fmt, ...);
14int p9pdu_prepare(struct p9_fcall *pdu, int16_t tag, int8_t type);
15int p9pdu_finalize(struct p9_client *clnt, struct p9_fcall *pdu);
16void p9pdu_reset(struct p9_fcall *pdu);
17size_t pdu_read(struct p9_fcall *pdu, void *data, size_t size);