smartmontools SVN Rev 5640
Utility to control and monitor storage systems with "S.M.A.R.T."
|
Go to the source code of this file.
Macros | |
#define | SMARTCTL_H_CVSID "$Id: smartctl.h 5200 2021-02-07 14:19:40Z chrfranke $\n" |
#define | FAILCMD (0x01<<0) |
#define | FAILDEV (0x01<<1) |
#define | FAILPOWER (0x01<<1) |
#define | FAILID (0x01<<1) |
#define | FAILSMART (0x01<<2) |
#define | FAILSTATUS (0x01<<3) |
#define | FAILATTR (0x01<<4) |
#define | FAILAGE (0x01<<5) |
#define | FAILERR (0x01<<6) |
#define | FAILLOG (0x01<<7) |
Enumerations | |
enum | failure_type { OPTIONAL_CMD , MANDATORY_CMD } |
Functions | |
void | failuretest (failure_type type, int returnvalue) |
void | print_on () |
void | print_off () |
void | jout (const char *fmt,...) __attribute_format_printf(1 |
void void | jinf (const char *fmt,...) __attribute_format_printf(1 |
void void void | jwrn (const char *fmt,...) __attribute_format_printf(1 |
void void void void | jerr (const char *fmt,...) __attribute_format_printf(1 |
void void void void void | jout_startup_datetime (const char *prefix) |
Variables | |
bool | failuretest_conservative |
unsigned char | failuretest_permissive |
bool | printing_is_switchable |
bool | printing_is_off |
json | jglb |
#define FAILAGE (0x01<<5) |
Definition at line 43 of file smartctl.h.
#define FAILATTR (0x01<<4) |
Definition at line 39 of file smartctl.h.
#define FAILCMD (0x01<<0) |
Definition at line 21 of file smartctl.h.
#define FAILDEV (0x01<<1) |
Definition at line 24 of file smartctl.h.
#define FAILERR (0x01<<6) |
Definition at line 46 of file smartctl.h.
#define FAILID (0x01<<1) |
Definition at line 30 of file smartctl.h.
#define FAILLOG (0x01<<7) |
Definition at line 49 of file smartctl.h.
#define FAILPOWER (0x01<<1) |
Definition at line 27 of file smartctl.h.
#define FAILSMART (0x01<<2) |
Definition at line 33 of file smartctl.h.
#define FAILSTATUS (0x01<<3) |
Definition at line 36 of file smartctl.h.
#define SMARTCTL_H_CVSID "$Id: smartctl.h 5200 2021-02-07 14:19:40Z chrfranke $\n" |
Definition at line 16 of file smartctl.h.
enum failure_type |
Enumerator | |
---|---|
OPTIONAL_CMD | |
MANDATORY_CMD |
Definition at line 56 of file smartctl.h.
void failuretest | ( | failure_type | type, |
int | returnvalue | ||
) |
Definition at line 1462 of file smartctl.cpp.
void void void void jerr | ( | const char * | fmt, |
... | |||
) |
void void jinf | ( | const char * | fmt, |
... | |||
) |
void jout | ( | const char * | fmt, |
... | |||
) |
void void void void void jout_startup_datetime | ( | const char * | prefix | ) |
Definition at line 1450 of file smartctl.cpp.
void void void jwrn | ( | const char * | fmt, |
... | |||
) |
|
inline |
Definition at line 79 of file smartctl.h.
|
inline |
Definition at line 74 of file smartctl.h.
|
extern |
Definition at line 1456 of file smartctl.cpp.
|
extern |
Definition at line 1457 of file smartctl.cpp.
|
extern |
Definition at line 53 of file smartctl.cpp.
|
extern |
Definition at line 50 of file smartctl.cpp.
|
extern |
Definition at line 49 of file smartctl.cpp.