mirror of
https://github.com/torvalds/linux.git
synced 2024-12-30 14:52:05 +00:00
1f32761322
Based on 1 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms of the gnu general public license version 2 as published by the free software foundation this program is distributed in the hope that it will be useful but without any warranty without even the implied warranty of merchantability or fitness for a particular purpose see the gnu general public license for more details you should have received a copy of the gnu general public license along with this program if not write to free software foundation 51 franklin street fifth floor boston ma 02111 1301 usa extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 27 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Richard Fontana <rfontana@redhat.com> Reviewed-by: Alexios Zavras <alexios.zavras@intel.com> Reviewed-by: Steve Winslow <swinslow@gmail.com> Reviewed-by: Allison Randal <allison@lohutok.net> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190528170026.981318839@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
20 lines
686 B
C
20 lines
686 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* net/9p/protocol.h
|
|
*
|
|
* 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);
|