smartmontools SVN Rev 3317
Utility to control and monitor storage systems with "S.M.A.R.T."
Classes | Defines | 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

Defines

#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
#define DSKSP_SMART_ONOFF   0x20
#define DSKSP_SMART_AUTOSAVE_ONOFF   0x21
#define DSKSP_SMART_SAVE   0x22
#define DSKSP_SMART_GETSTATUS   0x23
#define DSKSP_SMART_GET_ATTRIBUTES   0x24
#define DSKSP_SMART_GET_THRESHOLDS   0x25
#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
#define SMART_CMD_ON   1
#define SMART_CMD_OFF   0
#define DSKSP_CAT_GENERIC   0x90
#define DSKSP_GET_INQUIRY_DATA   0x42

Typedefs

typedef struct
_DSKSP_CommandParameters 
DSKSP_CommandParameters
typedef struct
_DSKSP_CommandParameters
PDSKSP_CommandParameters

Define Documentation

#define DSKSP_CAT_GENERIC   0x90

Definition at line 52 of file os_os2.h.

#define DSKSP_CAT_SMART   0x80

Definition at line 36 of file os_os2.h.

#define DSKSP_GET_INQUIRY_DATA   0x42

Definition at line 53 of file os_os2.h.

#define DSKSP_SMART_AUTOSAVE_ONOFF   0x21

Definition at line 38 of file os_os2.h.

#define DSKSP_SMART_EOLI   0x30

Definition at line 47 of file os_os2.h.

#define DSKSP_SMART_GET_ATTRIBUTES   0x24

Definition at line 41 of file os_os2.h.

#define DSKSP_SMART_GET_THRESHOLDS   0x25

Definition at line 42 of file os_os2.h.

#define DSKSP_SMART_GETSTATUS   0x23

Definition at line 40 of file os_os2.h.

#define DSKSP_SMART_ONOFF   0x20

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

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

Definition at line 50 of file os_os2.h.

#define SMART_CMD_ON   1

Definition at line 49 of file os_os2.h.


Typedef Documentation