]>
git.proxmox.com Git - mirror_smartmontools-debian.git/blob - nvmeprint.h
1d4a1faeb4aee13d8e0b95118d1e12f1fd84e561
4 * Home page of code is: http://www.smartmontools.org
6 * Copyright (C) 2016 Christian Franke
8 * SPDX-License-Identifier: GPL-2.0-or-later
14 #define NVMEPRINT_H_CVSID "$Id: nvmeprint.h 4760 2018-08-19 18:45:53Z chrfranke $"
18 // options for nvmePrintMain
19 struct nvme_print_options
22 bool drive_capabilities
;
23 bool smart_check_status
;
24 bool smart_vendor_attrib
;
25 unsigned error_log_entries
;
26 unsigned char log_page
;
27 unsigned log_page_size
;
31 drive_capabilities(false),
32 smart_check_status(false),
33 smart_vendor_attrib(false),
40 int nvmePrintMain(nvme_device
* device
, const nvme_print_options
& options
);