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