smartmontools  SVN Rev 4078
Utility to control and monitor storage systems with "S.M.A.R.T."
Public Member Functions | Public Attributes | List of all members
dev_config Struct Reference

Configuration data for a device. More...

Collaboration diagram for dev_config:
Collaboration graph
[legend]

Public Member Functions

 dev_config ()
 

Public Attributes

int lineno
 
std::string name
 
std::string dev_name
 
std::string dev_type
 
std::string dev_idinfo
 
std::string state_file
 
std::string attrlog_file
 
bool ignore
 
bool smartcheck
 
bool usagefailed
 
bool prefail
 
bool usage
 
bool selftest
 
bool errorlog
 
bool xerrorlog
 
bool offlinests
 
bool offlinests_ns
 
bool selfteststs
 
bool selfteststs_ns
 
bool permissive
 
char autosave
 
char autoofflinetest
 
firmwarebug_defs firmwarebugs
 
bool ignorepresets
 
bool showpresets
 
bool removable
 
char powermode
 
bool powerquiet
 
int powerskipmax
 
unsigned char tempdiff
 
unsigned char tempinfo
 
unsigned char tempcrit
 
regular_expression test_regex
 
std::string emailcmdline
 
std::string emailaddress
 
unsigned char emailfreq
 
bool emailtest
 
int dev_rpm
 
int set_aam
 
int set_apm
 
int set_lookahead
 
int set_standby
 
bool set_security_freeze
 
int set_wcache
 
bool sct_erc_set
 
unsigned short sct_erc_readtime
 
unsigned short sct_erc_writetime
 
unsigned char curr_pending_id
 
unsigned char offl_pending_id
 
bool curr_pending_incr
 
bool offl_pending_incr
 
bool curr_pending_set
 
bool offl_pending_set
 
attribute_flags monitor_attr_flags
 
ata_vendor_attr_defs attribute_defs
 

Detailed Description

Configuration data for a device.

Read from smartd.conf. Supports copy & assignment and is compatible with STL containers.

Definition at line 235 of file smartd.cpp.

Constructor & Destructor Documentation

dev_config::dev_config ( )

Definition at line 301 of file smartd.cpp.

Member Data Documentation

ata_vendor_attr_defs dev_config::attribute_defs

Definition at line 296 of file smartd.cpp.

std::string dev_config::attrlog_file

Definition at line 243 of file smartd.cpp.

char dev_config::autoofflinetest

Definition at line 258 of file smartd.cpp.

char dev_config::autosave

Definition at line 257 of file smartd.cpp.

unsigned char dev_config::curr_pending_id

Definition at line 289 of file smartd.cpp.

bool dev_config::curr_pending_incr

Definition at line 291 of file smartd.cpp.

bool dev_config::curr_pending_set

Definition at line 292 of file smartd.cpp.

std::string dev_config::dev_idinfo

Definition at line 241 of file smartd.cpp.

std::string dev_config::dev_name

Definition at line 239 of file smartd.cpp.

int dev_config::dev_rpm

Definition at line 277 of file smartd.cpp.

std::string dev_config::dev_type

Definition at line 240 of file smartd.cpp.

std::string dev_config::emailaddress

Definition at line 272 of file smartd.cpp.

std::string dev_config::emailcmdline

Definition at line 271 of file smartd.cpp.

unsigned char dev_config::emailfreq

Definition at line 273 of file smartd.cpp.

bool dev_config::emailtest

Definition at line 274 of file smartd.cpp.

bool dev_config::errorlog

Definition at line 250 of file smartd.cpp.

firmwarebug_defs dev_config::firmwarebugs

Definition at line 259 of file smartd.cpp.

bool dev_config::ignore

Definition at line 244 of file smartd.cpp.

bool dev_config::ignorepresets

Definition at line 260 of file smartd.cpp.

int dev_config::lineno

Definition at line 237 of file smartd.cpp.

attribute_flags dev_config::monitor_attr_flags

Definition at line 294 of file smartd.cpp.

std::string dev_config::name

Definition at line 238 of file smartd.cpp.

unsigned char dev_config::offl_pending_id

Definition at line 290 of file smartd.cpp.

bool dev_config::offl_pending_incr

Definition at line 291 of file smartd.cpp.

bool dev_config::offl_pending_set

Definition at line 292 of file smartd.cpp.

bool dev_config::offlinests

Definition at line 252 of file smartd.cpp.

bool dev_config::offlinests_ns

Definition at line 253 of file smartd.cpp.

bool dev_config::permissive

Definition at line 256 of file smartd.cpp.

char dev_config::powermode

Definition at line 263 of file smartd.cpp.

bool dev_config::powerquiet

Definition at line 264 of file smartd.cpp.

int dev_config::powerskipmax

Definition at line 265 of file smartd.cpp.

bool dev_config::prefail

Definition at line 247 of file smartd.cpp.

bool dev_config::removable

Definition at line 262 of file smartd.cpp.

unsigned short dev_config::sct_erc_readtime

Definition at line 286 of file smartd.cpp.

bool dev_config::sct_erc_set

Definition at line 285 of file smartd.cpp.

unsigned short dev_config::sct_erc_writetime

Definition at line 287 of file smartd.cpp.

bool dev_config::selftest

Definition at line 249 of file smartd.cpp.

bool dev_config::selfteststs

Definition at line 254 of file smartd.cpp.

bool dev_config::selfteststs_ns

Definition at line 255 of file smartd.cpp.

int dev_config::set_aam

Definition at line 278 of file smartd.cpp.

int dev_config::set_apm

Definition at line 279 of file smartd.cpp.

int dev_config::set_lookahead

Definition at line 280 of file smartd.cpp.

bool dev_config::set_security_freeze

Definition at line 282 of file smartd.cpp.

int dev_config::set_standby

Definition at line 281 of file smartd.cpp.

int dev_config::set_wcache

Definition at line 283 of file smartd.cpp.

bool dev_config::showpresets

Definition at line 261 of file smartd.cpp.

bool dev_config::smartcheck

Definition at line 245 of file smartd.cpp.

std::string dev_config::state_file

Definition at line 242 of file smartd.cpp.

unsigned char dev_config::tempcrit

Definition at line 267 of file smartd.cpp.

unsigned char dev_config::tempdiff

Definition at line 266 of file smartd.cpp.

unsigned char dev_config::tempinfo

Definition at line 267 of file smartd.cpp.

regular_expression dev_config::test_regex

Definition at line 268 of file smartd.cpp.

bool dev_config::usage

Definition at line 248 of file smartd.cpp.

bool dev_config::usagefailed

Definition at line 246 of file smartd.cpp.

bool dev_config::xerrorlog

Definition at line 251 of file smartd.cpp.


The documentation for this struct was generated from the following file: