]>
git.proxmox.com Git - mirror_smartmontools-debian.git/blob - nvmeprint.h
4 * Home page of code is: http://www.smartmontools.org
6 * Copyright (C) 2016 Christian Franke
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2, or (at your option)
13 * You should have received a copy of the GNU General Public License
14 * (for example COPYING); If not, see <http://www.gnu.org/licenses/>.
21 #define NVMEPRINT_H_CVSID "$Id: nvmeprint.h 4311 2016-04-27 21:03:01Z chrfranke $"
25 // options for nvmePrintMain
26 struct nvme_print_options
29 bool drive_capabilities
;
30 bool smart_check_status
;
31 bool smart_vendor_attrib
;
32 unsigned error_log_entries
;
33 unsigned char log_page
;
34 unsigned log_page_size
;
38 drive_capabilities(false),
39 smart_check_status(false),
40 smart_vendor_attrib(false),
47 int nvmePrintMain(nvme_device
* device
, const nvme_print_options
& options
);