smartmontools  SVN Rev 4048
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://smartmontools.sourceforge.net
8  * Address of support mailing list: smartmontools-support@lists.sourceforge.net
9  *
10  * Copyright (C) 2003-8 Philip Williams
11  *
12  * This program is free software; you can redistribute it and/or modify
13  * it under the terms of the GNU General Public License as published by
14  * the Free Software Foundation; either version 2, or (at your option)
15  * any later version.
16  *
17  * You should have received a copy of the GNU General Public License
18  * (for example COPYING); if not, write to the Free Software Foundation,
19  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20  *
21  */
22 
23 #ifndef ATACMDNAMES_H_
24 #define ATACMDNAMES_H_
25 
26 #define ATACMDNAMES_H_CVSID "$Id: atacmdnames.h 3728 2012-12-13 17:57:50Z chrfranke $\n"
27 
28 /* Returns the name of the command (and possibly sub-command) with the given
29  command code and feature register values. */
30 const char *look_up_ata_command(unsigned char c_code, unsigned char f_reg);
31 
32 #endif
const char * look_up_ata_command(unsigned char c_code, unsigned char f_reg)