|
@@ -19,11 +19,6 @@
|
|
|
|
|
|
typedef void (QmpCommandFunc)(QDict *, QObject **, Error **);
|
|
typedef void (QmpCommandFunc)(QDict *, QObject **, Error **);
|
|
|
|
|
|
-typedef enum QmpCommandType
|
|
|
|
-{
|
|
|
|
- QCT_NORMAL,
|
|
|
|
-} QmpCommandType;
|
|
|
|
-
|
|
|
|
typedef enum QmpCommandOptions
|
|
typedef enum QmpCommandOptions
|
|
{
|
|
{
|
|
QCO_NO_OPTIONS = 0x0,
|
|
QCO_NO_OPTIONS = 0x0,
|
|
@@ -33,7 +28,6 @@ typedef enum QmpCommandOptions
|
|
typedef struct QmpCommand
|
|
typedef struct QmpCommand
|
|
{
|
|
{
|
|
const char *name;
|
|
const char *name;
|
|
- QmpCommandType type;
|
|
|
|
QmpCommandFunc *fn;
|
|
QmpCommandFunc *fn;
|
|
QmpCommandOptions options;
|
|
QmpCommandOptions options;
|
|
QTAILQ_ENTRY(QmpCommand) node;
|
|
QTAILQ_ENTRY(QmpCommand) node;
|