16#define SMARTCTL_H_CVSID "$Id: smartctl.h 5200 2021-02-07 14:19:40Z chrfranke $\n"
21#define FAILCMD (0x01<<0)
24#define FAILDEV (0x01<<1)
27#define FAILPOWER (0x01<<1)
30#define FAILID (0x01<<1)
33#define FAILSMART (0x01<<2)
36#define FAILSTATUS (0x01<<3)
39#define FAILATTR (0x01<<4)
43#define FAILAGE (0x01<<5)
46#define FAILERR (0x01<<6)
49#define FAILLOG (0x01<<7)
Create and print JSON output.
const char const char * fmt
bool failuretest_conservative
unsigned char failuretest_permissive
void void jinf(const char *fmt,...) __attribute_format_printf(1
void failuretest(failure_type type, int returnvalue)
void void void jwrn(const char *fmt,...) __attribute_format_printf(1
void void void void jerr(const char *fmt,...) __attribute_format_printf(1
void jout(const char *fmt,...) __attribute_format_printf(1
void void void void void jout_startup_datetime(const char *prefix)
bool printing_is_switchable
#define __attribute_format_printf(x, y)