Select Git revision
scsicmds.cpp
smartctl.h 1.45 KiB
// $Id: smartctl.h,v 1.1 2002/10/09 17:56:58 ballen4705 Exp $
/*
* smartctl.h
*
* Copyright (C) 2002 Bruce Allen <ballen@uwm.edu>
* Copyright (C) 2000 Michael Cornwell <cornwell@acm.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* You should have received a copy of the GNU General Public License
* (for example COPYING); if not, write to the Free
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#ifndef __SMARTCTL_H_
#define __SMARTCTL_H_
/* smartctl version number */
#define VERSION_MAJOR 5
#define VERSION_MINOR 0
/* Defines for command line options */
#define DRIVEINFO 'i'
#define CHECKSMART 'c'
#define SMARTVERBOSEALL 'a'
#define SMARTVENDORATTRIB 'v'
#define GENERALSMARTVALUES 'g'
#define SMARTERRORLOG 'l'
#define SMARTSELFTESTLOG 'L'
#define SMARTDISABLE 'd'
#define SMARTENABLE 'e'
#define SMARTEXEOFFIMMEDIATE 'O'
#define SMARTSHORTSELFTEST 'S'
#define SMARTEXTENDSELFTEST 'X'
#define SMARTSHORTCAPSELFTEST 's'
#define SMARTEXTENDCAPSELFTEST 'x'
#define SMARTSELFTESTABORT 'A'
#define SMARTAUTOOFFLINEENABLE 't'
#define SMARTAUTOOFFLINEDISABLE 'T'
#define SMARTAUTOSAVEENABLE 'f'
#define SMARTAUTOSAVEDISABLE 'F'
#define PRINTCOPYLEFT 'p'
/* Boolean Values */
#define TRUE 0x01
#define FALSE 0x00
#endif