mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-24 03:59:52 +00:00
2023243573
It would make sense for these types to be defined in a header file if we had an API for fsdrivers to register themselves. In practice, we only have three of them and it is very unlikely we add new ones since the future of file sharing between host and guest is the upcoming virtio-fs. Move the types to qemu-fsdev.c instead since they are only used there. Signed-off-by: Greg Kurz <groug@kaod.org> Reviewed-by: Thomas Huth <thuth@redhat.com>
23 lines
492 B
C
23 lines
492 B
C
/*
|
|
* 9p
|
|
*
|
|
* Copyright IBM, Corp. 2010
|
|
*
|
|
* Authors:
|
|
* Gautham R Shenoy <ego@in.ibm.com>
|
|
*
|
|
* This work is licensed under the terms of the GNU GPL, version 2. See
|
|
* the COPYING file in the top-level directory.
|
|
*
|
|
*/
|
|
#ifndef QEMU_FSDEV_H
|
|
#define QEMU_FSDEV_H
|
|
#include "file-op-9p.h"
|
|
|
|
int qemu_fsdev_add(QemuOpts *opts, Error **errp);
|
|
FsDriverEntry *get_fsdev_fsentry(char *id);
|
|
extern FileOperations local_ops;
|
|
extern FileOperations synth_ops;
|
|
extern FileOperations proxy_ops;
|
|
#endif
|