home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 308.lha / treewalk / errors.h < prev    next >
Encoding:
C/C++ Source or Header  |  1980-12-05  |  1.1 KB  |  31 lines

  1. /*
  2.  * errors.h #defines the error we set to indicate that things are broken,
  3.  * and how badly.
  4.  *
  5.  *    Copyright (C) 1989  Mike Meyer
  6.  *
  7.  *    This program is free software; you can redistribute it and/or modify
  8.  *    it under the terms of the GNU General Public License as published by
  9.  *    the Free Software Foundation; either version 1, or any later version.
  10.  *
  11.  *    This program is distributed in the hope that it will be useful,
  12.  *    but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.  *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.  *    GNU General Public License for more details.
  15.  *
  16.  *    You should have received a copy of the GNU General Public License
  17.  *    along with this program; if not, write to the Free Software
  18.  *    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  19.  */
  20.  
  21. /* The thing we set to the values below */
  22. extern int    errorflag ;
  23.  
  24. #define    ERROR_NONE    0    /* No errors at all, the default */
  25. #define ERROR_WARN    1    /* Warning issued to user */
  26. #define ERROR_BREAK    2    /* User break */
  27. #define ERROR_HALT    3    /* We stop _now_ */
  28.  
  29. /* And a thing to mention my name with */
  30. extern char    *my_name ;
  31.