smartmontools SVN Rev 3317
Utility to control and monitor storage systems with "S.M.A.R.T."
Typedefs | Functions | Variables
atacmdnames.cpp File Reference
#include "atacmdnames.h"
#include <stdlib.h>
#include <stdio.h>
Include dependency graph for atacmdnames.cpp:

Go to the source code of this file.

Typedefs

typedef char ASSERT_command_table_size [sizeof(command_table)/sizeof(command_table[0])==256?1:-1]

Functions

const char * look_up_ata_command (unsigned char c_code, unsigned char f_reg)

Variables

const char * atacmdnames_cpp_cvsid
const char cmd_reserved [] = "[RESERVED]"
const char cmd_vendor_specific [] = "[VENDOR SPECIFIC]"
const char cmd_reserved_sa [] = "[RESERVED FOR SERIAL ATA]"
const char cmd_reserved_cf [] = "[RESERVED FOR COMPACTFLASH ASSOCIATION]"
const char cmd_reserved_mcpt [] = "[RESERVED FOR MEDIA CARD PASS THROUGH]"
const char cmd_recalibrate_ret4 [] = "RECALIBRATE [RET-4]"
const char cmd_seek_ret4 [] = "SEEK [RET-4]"
const char *const command_table []

Typedef Documentation

typedef char ASSERT_command_table_size[sizeof(command_table)/sizeof(command_table[0])==256?1:-1]

Definition at line 312 of file atacmdnames.cpp.


Function Documentation

const char* look_up_ata_command ( unsigned char  c_code,
unsigned char  f_reg 
)

Definition at line 319 of file atacmdnames.cpp.


Variable Documentation

const char* atacmdnames_cpp_cvsid
Initial value:
"$Id: atacmdnames.cpp 3670 2012-10-31 22:00:50Z chrfranke $"
  ATACMDNAMES_H_CVSID

Definition at line 23 of file atacmdnames.cpp.

const char cmd_recalibrate_ret4[] = "RECALIBRATE [RET-4]"

Definition at line 31 of file atacmdnames.cpp.

const char cmd_reserved[] = "[RESERVED]"

Definition at line 26 of file atacmdnames.cpp.

const char cmd_reserved_cf[] = "[RESERVED FOR COMPACTFLASH ASSOCIATION]"

Definition at line 29 of file atacmdnames.cpp.

const char cmd_reserved_mcpt[] = "[RESERVED FOR MEDIA CARD PASS THROUGH]"

Definition at line 30 of file atacmdnames.cpp.

const char cmd_reserved_sa[] = "[RESERVED FOR SERIAL ATA]"

Definition at line 28 of file atacmdnames.cpp.

const char cmd_seek_ret4[] = "SEEK [RET-4]"

Definition at line 32 of file atacmdnames.cpp.

const char cmd_vendor_specific[] = "[VENDOR SPECIFIC]"

Definition at line 27 of file atacmdnames.cpp.

const char* const command_table[]

Definition at line 36 of file atacmdnames.cpp.