Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  * 9P Protocol Support Code
0004  *
0005  *  Copyright (C) 2008 by Eric Van Hensbergen <ericvh@gmail.com>
0006  *
0007  *  Base on code from Anthony Liguori <aliguori@us.ibm.com>
0008  *  Copyright (C) 2008 by IBM, Corp.
0009  */
0010 
0011 int p9pdu_vwritef(struct p9_fcall *pdu, int proto_version, const char *fmt,
0012           va_list ap);
0013 int p9pdu_readf(struct p9_fcall *pdu, int proto_version, const char *fmt, ...);
0014 int p9pdu_prepare(struct p9_fcall *pdu, int16_t tag, int8_t type);
0015 int p9pdu_finalize(struct p9_client *clnt, struct p9_fcall *pdu);
0016 void p9pdu_reset(struct p9_fcall *pdu);
0017 size_t pdu_read(struct p9_fcall *pdu, void *data, size_t size);