version 1.1.1.1, 2012/02/21 16:32:16
|
version 1.1.1.2, 2013/07/22 01:17:35
|
Line 5
|
Line 5
|
* Address of support mailing list: smartmontools-support@lists.sourceforge.net |
* Address of support mailing list: smartmontools-support@lists.sourceforge.net |
* |
* |
* Copyright (C) 2003-11 Philip Williams, Bruce Allen |
* Copyright (C) 2003-11 Philip Williams, Bruce Allen |
* Copyright (C) 2008-11 Christian Franke <smartmontools-support@lists.sourceforge.net> | * Copyright (C) 2008-12 Christian Franke <smartmontools-support@lists.sourceforge.net> |
* |
* |
* This program is free software; you can redistribute it and/or modify |
* This program is free software; you can redistribute it and/or modify |
* it under the terms of the GNU General Public License as published by |
* it under the terms of the GNU General Public License as published by |
Line 13
|
Line 13
|
* any later version. |
* any later version. |
* |
* |
* You should have received a copy of the GNU General Public License |
* You should have received a copy of the GNU General Public License |
* (for example COPYING); if not, write to the Free | * (for example COPYING); If not, see <http://www.gnu.org/licenses/>. |
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
* |
* |
*/ |
*/ |
|
|
Line 56 int showallpresets();
|
Line 55 int showallpresets();
|
int showmatchingpresets(const char *model, const char *firmware); |
int showmatchingpresets(const char *model, const char *firmware); |
|
|
// Searches drive database and sets preset vendor attribute |
// Searches drive database and sets preset vendor attribute |
// options in defs and fix_firmwarebug. | // options in defs and firmwarebugs. |
// Values that have already been set will not be changed. |
// Values that have already been set will not be changed. |
// Returns pointer to database entry or nullptr if none found. |
// Returns pointer to database entry or nullptr if none found. |
const drive_settings * lookup_drive_apply_presets( |
const drive_settings * lookup_drive_apply_presets( |
const ata_identify_device * drive, ata_vendor_attr_defs & defs, |
const ata_identify_device * drive, ata_vendor_attr_defs & defs, |
unsigned char & fix_firmwarebug); | firmwarebug_defs & firmwarebugs); |
|
|
// Get path for additional database file |
// Get path for additional database file |
const char * get_drivedb_path_add(); |
const char * get_drivedb_path_add(); |