mirror of
https://github.com/torvalds/linux.git
synced 2024-12-21 02:21:36 +00:00
6e195b0f7c
Sohaib Mohamed started a serie of tiny and incomplete checkpatch fixes but seemingly stopped halfway -- take over and do most of it. This is still missing net/9p/trans* and net/9p/protocol.c for a later time... Link: http://lkml.kernel.org/r/20211102134608.1588018-3-dominique.martinet@atmark-techno.com Signed-off-by: Dominique Martinet <asmadeus@codewreck.org>
18 lines
658 B
C
18 lines
658 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* 9P Protocol Support Code
|
|
*
|
|
* Copyright (C) 2008 by Eric Van Hensbergen <ericvh@gmail.com>
|
|
*
|
|
* Base on code from Anthony Liguori <aliguori@us.ibm.com>
|
|
* Copyright (C) 2008 by IBM, Corp.
|
|
*/
|
|
|
|
int p9pdu_vwritef(struct p9_fcall *pdu, int proto_version, const char *fmt,
|
|
va_list ap);
|
|
int p9pdu_readf(struct p9_fcall *pdu, int proto_version, const char *fmt, ...);
|
|
int p9pdu_prepare(struct p9_fcall *pdu, int16_t tag, int8_t type);
|
|
int p9pdu_finalize(struct p9_client *clnt, struct p9_fcall *pdu);
|
|
void p9pdu_reset(struct p9_fcall *pdu);
|
|
size_t pdu_read(struct p9_fcall *pdu, void *data, size_t size);
|