home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / f / ftp-102.zip / ftape-1.02 / qic / ecc.h < prev    next >
Text File  |  1992-10-12  |  1KB  |  34 lines

  1. /* Error correcting codes.
  2.    Copyright (C) 1992 David L. Brown, Jr.
  3.  
  4.    This program is free software; you can redistribute it and/or modify
  5.    it under the terms of the GNU General Public License as published by
  6.    the Free Software Foundation; either version 2, or (at your option)
  7.    any later version.
  8.    
  9.    This program is distributed in the hope that it will be useful,
  10.    but WITHOUT ANY WARRANTY; without even the implied warranty of
  11.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12.    GNU General Public License for more details.
  13.    
  14.    You should have received a copy of the GNU General Public License
  15.    along with this program; see the file COPYING.  If not, write to
  16.    the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  17.  
  18. /*
  19.  * ecc.h,v 1.2 1992/10/13 01:55:16 dbrown Exp
  20.  *
  21.  * ecc.h,v
  22.  * Revision 1.2  1992/10/13  01:55:16  dbrown
  23.  * Added FSF copyright.
  24.  *
  25.  */
  26.  
  27. /* Return values for ecc_correct_data. */
  28.  
  29. enum {
  30.   ECC_CORRECT,            /* Data was correct. */
  31.   ECC_CORRECTED,        /* Correctable error in data. */
  32.   ECC_FAILED            /* Could not correct data. */
  33.   };
  34.