smartmontools  SVN Rev 4430
Utility to control and monitor storage systems with "S.M.A.R.T."
Classes | Macros | Typedefs | Variables
os_os2.h File Reference
#include <os2.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 4423 2017-04-23 19:14:02Z samm2 $\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_GET_LOG   0x26 /* get SMART log table */
 
#define DSKSP_SMART_AUTO_OFFLINE   0x27 /* set SMART offline autosave timer */
 
#define DSKSP_SMART_EXEC_OFFLINE   0x28 /* execute SMART immediate offline */
 
#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
 

Variables

const char * danisdev ="\\DEV\\IBMS506$"
 
const char * danispref ="hd"
 
const char * ahcidev ="\\DEV\\OS2AHCI$"
 
const char * ahcipref ="ahci"
 

Macro Definition Documentation

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

Definition at line 50 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 51 of file os_os2.h.

#define DSKSP_SMART_AUTO_OFFLINE   0x27 /* set SMART offline autosave timer */

Definition at line 44 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_EXEC_OFFLINE   0x28 /* execute SMART immediate offline */

Definition at line 45 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_LOG   0x26 /* get SMART log table */

Definition at line 43 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_SAVE   0x22 /* force save of SMART data */

Definition at line 39 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 4423 2017-04-23 19:14:02Z samm2 $\n"

Definition at line 21 of file os_os2.h.

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

Definition at line 48 of file os_os2.h.

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

Definition at line 47 of file os_os2.h.

Typedef Documentation

Variable Documentation

const char* ahcidev ="\\DEV\\OS2AHCI$"

Definition at line 70 of file os_os2.h.

const char* ahcipref ="ahci"

Definition at line 71 of file os_os2.h.

const char* danisdev ="\\DEV\\IBMS506$"

Definition at line 68 of file os_os2.h.

const char* danispref ="hd"

Definition at line 69 of file os_os2.h.