virtiofsd: Send replies to messages
[qemu/kevin.git] / tools / virtiofsd / fuse_virtio.h
blob135a14875a36d93ed377eab8368186e7bac23afc
1 /*
2 * virtio-fs glue for FUSE
3 * Copyright (C) 2018 Red Hat, Inc. and/or its affiliates
5 * Authors:
6 * Dave Gilbert <dgilbert@redhat.com>
8 * Implements the glue between libfuse and libvhost-user
10 * This program can be distributed under the terms of the GNU LGPLv2.
11 * See the file COPYING.LIB
14 #ifndef FUSE_VIRTIO_H
15 #define FUSE_VIRTIO_H
17 #include "fuse_i.h"
19 struct fuse_session;
21 int virtio_session_mount(struct fuse_session *se);
23 int virtio_loop(struct fuse_session *se);
26 int virtio_send_msg(struct fuse_session *se, struct fuse_chan *ch,
27 struct iovec *iov, int count);
29 #endif