block/block-copy: hide structure definitions
commit397f4e9d83e9c0000905f0a988ba1aeda162571c
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Wed, 11 Mar 2020 10:30:04 +0000 (11 13:30 +0300)
committerMax Reitz <mreitz@redhat.com>
Wed, 11 Mar 2020 11:42:30 +0000 (11 12:42 +0100)
treeb3256abab352c186eed1f4d18028ab9893d131d5
parent5332e5d21060c48511a73bc5dccd15960f7fa395
block/block-copy: hide structure definitions

Hide structure definitions and add explicit API instead, to keep an
eye on the scope of the shared fields.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Andrey Shinkevich <andrey.shinkevich@virtuozzo.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-Id: <20200311103004.7649-10-vsementsov@virtuozzo.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
block/backup-top.c
block/backup.c
block/block-copy.c
include/block/block-copy.h