2016-06-29 11:47:03 +00:00
|
|
|
#ifndef QEMU_9P_IOV_MARSHAL_H
|
|
|
|
#define QEMU_9P_IOV_MARSHAL_H
|
2015-11-30 16:14:29 +00:00
|
|
|
|
|
|
|
#include "9p-marshal.h"
|
|
|
|
|
|
|
|
|
|
|
|
ssize_t v9fs_pack(struct iovec *in_sg, int in_num, size_t offset,
|
|
|
|
const void *src, size_t size);
|
|
|
|
ssize_t v9fs_iov_unmarshal(struct iovec *out_sg, int out_num, size_t offset,
|
|
|
|
int bswap, const char *fmt, ...);
|
|
|
|
ssize_t v9fs_iov_marshal(struct iovec *in_sg, int in_num, size_t offset,
|
|
|
|
int bswap, const char *fmt, ...);
|
2015-12-02 14:22:04 +00:00
|
|
|
|
|
|
|
ssize_t v9fs_iov_vunmarshal(struct iovec *out_sg, int out_num, size_t offset,
|
|
|
|
int bswap, const char *fmt, va_list ap);
|
|
|
|
ssize_t v9fs_iov_vmarshal(struct iovec *in_sg, int in_num, size_t offset,
|
|
|
|
int bswap, const char *fmt, va_list ap);
|
2015-11-30 16:14:29 +00:00
|
|
|
#endif
|