aboutsummaryrefslogtreecommitdiff
path: root/fsdev/virtio-9p-marshal.h
blob: 0709bcd06da0db172a03985024aca81dfec9231a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef _QEMU_VIRTIO_9P_MARSHAL_H
#define _QEMU_VIRTIO_9P_MARSHAL_H

#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_unmarshal(struct iovec *out_sg, int out_num, size_t offset,
                       int bswap, const char *fmt, ...);
ssize_t v9fs_marshal(struct iovec *in_sg, int in_num, size_t offset,
                     int bswap, const char *fmt, ...);
#endif