/*1* net/9p/protocol.h2*3* 9P Protocol Support Code4*5* Copyright (C) 2008 by Eric Van Hensbergen <[email protected]>6*7* Base on code from Anthony Liguori <[email protected]>8* Copyright (C) 2008 by IBM, Corp.9*10* This program is free software; you can redistribute it and/or modify11* it under the terms of the GNU General Public License version 212* as published by the Free Software Foundation.13*14* This program is distributed in the hope that it will be useful,15* but WITHOUT ANY WARRANTY; without even the implied warranty of16* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the17* GNU General Public License for more details.18*19* You should have received a copy of the GNU General Public License20* along with this program; if not, write to:21* Free Software Foundation22* 51 Franklin Street, Fifth Floor23* Boston, MA 02111-1301 USA24*25*/2627int p9pdu_vwritef(struct p9_fcall *pdu, int proto_version, const char *fmt,28va_list ap);29int p9pdu_readf(struct p9_fcall *pdu, int proto_version, const char *fmt, ...);30int p9pdu_prepare(struct p9_fcall *pdu, int16_t tag, int8_t type);31int p9pdu_finalize(struct p9_fcall *pdu);32void p9pdu_dump(int, struct p9_fcall *);33void p9pdu_reset(struct p9_fcall *pdu);343536