diff options
author | Markus Armbruster <armbru@redhat.com> | 2018-06-26 19:41:19 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2018-06-29 14:20:56 +0200 |
commit | 796d32394516d624986e9275f56bfcbffe945491 (patch) | |
tree | fb1c30c32d9da335a8a72a761e9ab130aeb1bebf /block/dmg.h | |
parent | 37aec7d75eb0d035a0db4f2cf9ad8b1b0c10f91b (diff) |
block/crypto: Simplify block_crypto_{open,create}_opts_init()
block_crypto_open_opts_init() and block_crypto_create_opts_init()
contain a virtual visit of QCryptoBlockOptions and
QCryptoBlockCreateOptions less member "format", respectively.
Change their callers to put member "format" in the QDict, so they can
use the generated visitors for these types instead.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/dmg.h')
0 files changed, 0 insertions, 0 deletions