smartmontools  SVN Rev 4556
Utility to control and monitor storage systems with "S.M.A.R.T."
atacmdnames.h
Go to the documentation of this file.
1 /*
2  * atacmdnames.h
3  *
4  * This module is based on the T13/1532D Volume 1 Revision 3 (ATA/ATAPI-7)
5  * specification, which is available from http://www.t13.org/#FTP_site
6  *
7  * Home page of code is: http://www.smartmontools.org
8  *
9  * Copyright (C) 2003-8 Philip Williams
10  *
11  * This program is free software; you can redistribute it and/or modify
12  * it under the terms of the GNU General Public License as published by
13  * the Free Software Foundation; either version 2, or (at your option)
14  * any later version.
15  *
16  * You should have received a copy of the GNU General Public License
17  * (for example COPYING); if not, write to the Free Software Foundation,
18  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19  *
20  */
21 
22 #ifndef ATACMDNAMES_H_
23 #define ATACMDNAMES_H_
24 
25 #define ATACMDNAMES_H_CVSID "$Id: atacmdnames.h 4431 2017-08-08 19:38:15Z chrfranke $\n"
26 
27 /* Returns the name of the command (and possibly sub-command) with the given
28  command code and feature register values. */
29 const char *look_up_ata_command(unsigned char c_code, unsigned char f_reg);
30 
31 #endif
const char * look_up_ata_command(unsigned char c_code, unsigned char f_reg)