]> git.proxmox.com Git - mirror_qemu.git/blame - fsdev/qemu-fsdev.h
Revert "audio: fix pc speaker init"
[mirror_qemu.git] / fsdev / qemu-fsdev.h
CommitLineData
74db920c 1/*
af8b38b0 2 * 9p
74db920c
GS
3 *
4 * Copyright IBM, Corp. 2010
5 *
6 * Authors:
7 * Gautham R Shenoy <ego@in.ibm.com>
8 *
9 * This work is licensed under the terms of the GNU GPL, version 2. See
10 * the COPYING file in the top-level directory.
11 *
12 */
13#ifndef QEMU_FSDEV_H
14#define QEMU_FSDEV_H
353ac78d 15#include "file-op-9p.h"
74db920c
GS
16
17
18/*
19 * A table to store the various file systems and their callback operations.
20 * -----------------
21 * fstype | ops
22 * -----------------
23 * local | local_ops
24 * . |
25 * . |
26 * . |
27 * . |
28 * -----------------
29 * etc
30 */
fbcbf101 31typedef struct FsDriverTable {
74db920c
GS
32 const char *name;
33 FileOperations *ops;
fbcbf101 34} FsDriverTable;
74db920c 35
fbcbf101
AK
36typedef struct FsDriverListEntry {
37 FsDriverEntry fse;
38 QTAILQ_ENTRY(FsDriverListEntry) next;
39} FsDriverListEntry;
74db920c 40
b836723d 41int qemu_fsdev_add(QemuOpts *opts, Error **errp);
fbcbf101 42FsDriverEntry *get_fsdev_fsentry(char *id);
9f107513 43extern FileOperations local_ops;
5f542225 44extern FileOperations handle_ops;
9db221ae 45extern FileOperations synth_ops;
4c793dda 46extern FileOperations proxy_ops;
74db920c 47#endif