177d9e0da0
We commonly define the header guard symbol without an explicit value. Normalize the exceptions. Done with scripts/clean-header-guards.pl. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20190315145123.28030-8-armbru@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
17 lines
379 B
C
17 lines
379 B
C
#ifndef HW_SCSI_EMULATION_H
|
|
#define HW_SCSI_EMULATION_H
|
|
|
|
typedef struct SCSIBlockLimits {
|
|
bool wsnz;
|
|
uint16_t min_io_size;
|
|
uint32_t max_unmap_descr;
|
|
uint32_t opt_io_size;
|
|
uint32_t max_unmap_sectors;
|
|
uint32_t unmap_sectors;
|
|
uint32_t max_io_sectors;
|
|
} SCSIBlockLimits;
|
|
|
|
int scsi_emulate_block_limits(uint8_t *outbuf, const SCSIBlockLimits *bl);
|
|
|
|
#endif
|