smartmontools SVN Rev 3317
Utility to control and monitor storage systems with "S.M.A.R.T."
Classes | Defines | Functions
knowndrives.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  drive_settings
struct  usb_dev_info

Defines

#define KNOWNDRIVES_H_CVSID   "$Id: knowndrives.h 3597 2012-09-04 21:10:37Z chrfranke $\n"

Functions

int lookup_usb_device (int vendor_id, int product_id, int bcd_device, usb_dev_info &info, usb_dev_info &info2)
void show_presets (const ata_identify_device *drive)
int showallpresets ()
int showmatchingpresets (const char *model, const char *firmware)
const drive_settingslookup_drive_apply_presets (const ata_identify_device *drive, ata_vendor_attr_defs &defs, firmwarebug_defs &firmwarebugs)
const char * get_drivedb_path_add ()
bool read_drive_database (const char *path)
bool read_default_drive_databases ()

Define Documentation

#define KNOWNDRIVES_H_CVSID   "$Id: knowndrives.h 3597 2012-09-04 21:10:37Z chrfranke $\n"

Definition at line 23 of file knowndrives.h.


Function Documentation

const char* get_drivedb_path_add ( )

Definition at line 834 of file knowndrives.cpp.

const drive_settings* lookup_drive_apply_presets ( const ata_identify_device drive,
ata_vendor_attr_defs defs,
firmwarebug_defs firmwarebugs 
)

Definition at line 534 of file knowndrives.cpp.

int lookup_usb_device ( int  vendor_id,
int  product_id,
int  bcd_device,
usb_dev_info info,
usb_dev_info info2 
)

Definition at line 274 of file knowndrives.cpp.

bool read_default_drive_databases ( )

Definition at line 860 of file knowndrives.cpp.

bool read_drive_database ( const char *  path)

Definition at line 818 of file knowndrives.cpp.

void show_presets ( const ata_identify_device drive)

Definition at line 500 of file knowndrives.cpp.

int showallpresets ( )

Definition at line 442 of file knowndrives.cpp.

int showmatchingpresets ( const char *  model,
const char *  firmware 
)

Definition at line 467 of file knowndrives.cpp.