smartmontools  SVN Rev 4092
Utility to control and monitor storage systems with "S.M.A.R.T."
Classes | Macros | Typedefs
os_os2.h File Reference
#include <os2.h>
#include "os_os2\hdreg.h"
#include "os_linux.h"
Include dependency graph for os_os2.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _DSKSP_CommandParameters
 
struct  SMART_ParamExt
 

Macros

#define OS_XXXX_H_CVSID   "$Id: os_os2.h 3728 2012-12-13 17:57:50Z chrfranke $\n"
 
#define INCL_DOS
 
#define DSKSP_CAT_SMART   0x80 /* SMART IOCTL category */
 
#define DSKSP_SMART_ONOFF   0x20 /* turn SMART on or off */
 
#define DSKSP_SMART_AUTOSAVE_ONOFF   0x21 /* turn SMART autosave on or off */
 
#define DSKSP_SMART_SAVE   0x22 /* force save of SMART data */
 
#define DSKSP_SMART_GETSTATUS   0x23 /* get SMART status (pass/fail) */
 
#define DSKSP_SMART_GET_ATTRIBUTES   0x24 /* get SMART attributes table */
 
#define DSKSP_SMART_GET_THRESHOLDS   0x25 /* get SMART thresholds table */
 
#define DSKSP_SMART_READ_LOG   0x26
 
#define DSKSP_SMART_WRITE_LOG   0x27
 
#define DSKSP_SMART_READ_LOG_EXT   0x28
 
#define DSKSP_SMART_WRITE_LOG_EXT   0x29
 
#define DSKSP_SMART_EOLI   0x30 /* EXECUTE OFF-LINE IMMEDIATE */
 
#define SMART_CMD_ON   1 /* on value for related SMART functions */
 
#define SMART_CMD_OFF   0 /* off value for related SMART functions */
 
#define DSKSP_CAT_GENERIC   0x90 /* generic IOCTL category */
 
#define DSKSP_GET_INQUIRY_DATA   0x42 /* get ATA/ATAPI inquiry data */
 

Typedefs

typedef struct _DSKSP_CommandParameters DSKSP_CommandParameters
 
typedef struct _DSKSP_CommandParametersPDSKSP_CommandParameters
 

Macro Definition Documentation

#define DSKSP_CAT_GENERIC   0x90 /* generic IOCTL category */

Definition at line 52 of file os_os2.h.

#define DSKSP_CAT_SMART   0x80 /* SMART IOCTL category */

Definition at line 36 of file os_os2.h.

#define DSKSP_GET_INQUIRY_DATA   0x42 /* get ATA/ATAPI inquiry data */

Definition at line 53 of file os_os2.h.

#define DSKSP_SMART_AUTOSAVE_ONOFF   0x21 /* turn SMART autosave on or off */

Definition at line 38 of file os_os2.h.

#define DSKSP_SMART_EOLI   0x30 /* EXECUTE OFF-LINE IMMEDIATE */

Definition at line 47 of file os_os2.h.

#define DSKSP_SMART_GET_ATTRIBUTES   0x24 /* get SMART attributes table */

Definition at line 41 of file os_os2.h.

#define DSKSP_SMART_GET_THRESHOLDS   0x25 /* get SMART thresholds table */

Definition at line 42 of file os_os2.h.

#define DSKSP_SMART_GETSTATUS   0x23 /* get SMART status (pass/fail) */

Definition at line 40 of file os_os2.h.

#define DSKSP_SMART_ONOFF   0x20 /* turn SMART on or off */

Definition at line 37 of file os_os2.h.

#define DSKSP_SMART_READ_LOG   0x26

Definition at line 43 of file os_os2.h.

#define DSKSP_SMART_READ_LOG_EXT   0x28

Definition at line 45 of file os_os2.h.

#define DSKSP_SMART_SAVE   0x22 /* force save of SMART data */

Definition at line 39 of file os_os2.h.

#define DSKSP_SMART_WRITE_LOG   0x27

Definition at line 44 of file os_os2.h.

#define DSKSP_SMART_WRITE_LOG_EXT   0x29

Definition at line 46 of file os_os2.h.

#define INCL_DOS

Definition at line 28 of file os_os2.h.

#define OS_XXXX_H_CVSID   "$Id: os_os2.h 3728 2012-12-13 17:57:50Z chrfranke $\n"

Definition at line 21 of file os_os2.h.

#define SMART_CMD_OFF   0 /* off value for related SMART functions */

Definition at line 50 of file os_os2.h.

#define SMART_CMD_ON   1 /* on value for related SMART functions */

Definition at line 49 of file os_os2.h.

Typedef Documentation