Files
xemu/fsdev/qemu-fsdev.h
T

49 lines
996 B
C
Raw Normal View History

/*
* 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
2012-12-17 18:20:00 +01:00
#include "qemu/option.h"
2011-01-28 18:09:08 +05:30
#include "file-op-9p.h"
/*
* A table to store the various file systems and their callback operations.
* -----------------
* fstype | ops
* -----------------
* local | local_ops
* . |
* . |
* . |
* . |
* -----------------
* etc
*/
typedef struct FsDriverTable {
const char *name;
FileOperations *ops;
} FsDriverTable;
typedef struct FsDriverListEntry {
FsDriverEntry fse;
QTAILQ_ENTRY(FsDriverListEntry) next;
} FsDriverListEntry;
int qemu_fsdev_add(QemuOpts *opts);
FsDriverEntry *get_fsdev_fsentry(char *id);
2010-04-29 17:44:44 +05:30
extern FileOperations local_ops;
2011-08-02 11:35:54 +05:30
extern FileOperations handle_ops;
extern FileOperations synth_ops;
2011-12-14 13:49:28 +05:30
extern FileOperations proxy_ops;
#endif