Home | History | Annotate | Download | only in qemu
      1 #ifndef QEMU_TYPEDEFS_H
      2 #define QEMU_TYPEDEFS_H
      3 
      4 /* A load of opaque types so that device init declarations don't have to
      5    pull in all the real definitions.  */
      6 typedef struct QEMUTimer QEMUTimer;
      7 typedef struct QEMUTimerListGroup QEMUTimerListGroup;
      8 typedef struct QEMUFile QEMUFile;
      9 typedef struct QEMUBH QEMUBH;
     10 
     11 typedef struct AioContext AioContext;
     12 
     13 struct Monitor;
     14 typedef struct Monitor Monitor;
     15 typedef struct MigrationParams MigrationParams;
     16 
     17 typedef struct Property Property;
     18 typedef struct PropertyInfo PropertyInfo;
     19 typedef struct CompatProperty CompatProperty;
     20 typedef struct DeviceState DeviceState;
     21 typedef struct BusState BusState;
     22 typedef struct BusClass BusClass;
     23 
     24 typedef struct AddressSpace AddressSpace;
     25 typedef struct MemoryRegion MemoryRegion;
     26 typedef struct MemoryRegionSection MemoryRegionSection;
     27 
     28 typedef struct MemoryMappingList MemoryMappingList;
     29 
     30 typedef struct NICInfo NICInfo;
     31 typedef struct HCIInfo HCIInfo;
     32 typedef struct AudioState AudioState;
     33 typedef struct BlockDriverState BlockDriverState;
     34 typedef struct DriveInfo DriveInfo;
     35 typedef struct DisplayState DisplayState;
     36 typedef struct DisplayChangeListener DisplayChangeListener;
     37 typedef struct DisplaySurface DisplaySurface;
     38 typedef struct PixelFormat PixelFormat;
     39 //typedef struct QemuConsole QemuConsole;  (see below)
     40 typedef struct CharDriverState CharDriverState;
     41 typedef struct MACAddr MACAddr;
     42 typedef struct NetClientState NetClientState;
     43 typedef struct i2c_bus i2c_bus;
     44 typedef struct ISABus ISABus;
     45 typedef struct ISADevice ISADevice;
     46 typedef struct SMBusDevice SMBusDevice;
     47 typedef struct PCIHostState PCIHostState;
     48 typedef struct PCIExpressHost PCIExpressHost;
     49 typedef struct PCIBus PCIBus;
     50 typedef struct PCIDevice PCIDevice;
     51 typedef struct PCIExpressDevice PCIExpressDevice;
     52 typedef struct PCIBridge PCIBridge;
     53 typedef struct PCIEAERMsg PCIEAERMsg;
     54 typedef struct PCIEAERLog PCIEAERLog;
     55 typedef struct PCIEAERErr PCIEAERErr;
     56 typedef struct PCIEPort PCIEPort;
     57 typedef struct PCIESlot PCIESlot;
     58 typedef struct MSIMessage MSIMessage;
     59 typedef struct SerialState SerialState;
     60 typedef struct PCMCIACardState PCMCIACardState;
     61 typedef struct MouseTransformInfo MouseTransformInfo;
     62 typedef struct uWireSlave uWireSlave;
     63 typedef struct I2SCodec I2SCodec;
     64 typedef struct SSIBus SSIBus;
     65 typedef struct EventNotifier EventNotifier;
     66 typedef struct VirtIODevice VirtIODevice;
     67 typedef struct QEMUSGList QEMUSGList;
     68 typedef struct SHPCDevice SHPCDevice;
     69 typedef struct FWCfgState FWCfgState;
     70 typedef struct PcGuestInfo PcGuestInfo;
     71 typedef struct Range Range;
     72 
     73 // NOTE(digit): Remove typedefs below when everything is upstreamed.
     74 typedef struct DisplayAllocator DisplayAllocator;
     75 typedef struct IRQState *qemu_irq;
     76 typedef struct QEMUConsole QEMUConsole;
     77 typedef struct VLANState VLANState;
     78 typedef struct VLANClientState VLANClientState;
     79 
     80 #endif /* QEMU_TYPEDEFS_H */
     81