diff options
author | Pavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru> | 2015-09-17 19:25:01 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-09-25 12:04:45 +0200 |
commit | ae1e93801d9a60642b349c571122909f0019d59e (patch) | |
tree | 7bad7c0fa827f9d4a9d5ed439ca7200d4f4f8f68 /include/qemu/option.h | |
parent | a4fc321219cc1c6bd5ca1262cdbbb2e8cee8d56e (diff) | |
download | qemu-ae1e93801d9a60642b349c571122909f0019d59e.zip qemu-ae1e93801d9a60642b349c571122909f0019d59e.tar.gz qemu-ae1e93801d9a60642b349c571122909f0019d59e.tar.bz2 |
typedef: add typedef for QemuOpts
This patch moves typedefs for QemuOpts and related types
to qemu/typedefs.h file.
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Pavel Dovgalyuk <pavel.dovgaluk@ispras.ru>
Message-Id: <20150917162501.8676.85435.stgit@PASHA-ISP.def.inno>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/qemu/option.h')
-rw-r--r-- | include/qemu/option.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/qemu/option.h b/include/qemu/option.h index 57e51c9..71f5f27 100644 --- a/include/qemu/option.h +++ b/include/qemu/option.h @@ -30,6 +30,7 @@ #include "qemu/queue.h" #include "qapi/error.h" #include "qapi/qmp/qdict.h" +#include "qemu/typedefs.h" const char *get_opt_name(char *buf, int buf_size, const char *p, char delim); const char *get_opt_value(char *buf, int buf_size, const char *p); @@ -44,10 +45,6 @@ void parse_option_size(const char *name, const char *value, bool has_help_option(const char *param); bool is_valid_option_list(const char *param); -typedef struct QemuOpt QemuOpt; -typedef struct QemuOpts QemuOpts; -typedef struct QemuOptsList QemuOptsList; - enum QemuOptType { QEMU_OPT_STRING = 0, /* no parsing (use string as-is) */ QEMU_OPT_BOOL, /* on/off */ |