/*
 * front/errors.h
 *   Definition of possible frontend's errors
 *
 * $Id: errors.h,v 1.1.1.1 2002/01/24 20:19:48 sembera Exp $
 */
/*
 * IIRC - IIRC Is a Real Client (Modular IRC Client)
 * Copyright (C) 2001  Jan Sembera <fis@ji.cz>
 * Copyright (C) 2001  Petr Baudis <pasky@ji.cz>
 *
 * 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 2 of the License, or
 * (at your option) 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., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

#ifndef __IIRC_FRONT_ERR
#define __IIRC_FRONT_ERR

#define FRONT_OK		1
#define FRONT_EGENERIC	       -1
#define FRONT_ETERM	       -2
#define FRONT_EMEM	       -3
#define FRONT_EAGAIN	       -4

static const char *front_errors[4]={"Internal generic error - please report",
				    "Terminal error",
				    "Out of memory",
				    "Internal error (EAGAIN) - please report",
				   };

#endif

