00001 /* 00002 * error.h: this file is part of the FM project. 00003 * 00004 * FM, a fast and optimized C implementation of Fourier-Motzkin 00005 * projection algorithm. 00006 * 00007 * Copyright (C) 2006-2008 Louis-Noel Pouchet 00008 * 00009 * This program is free software; you can redistribute it and/or 00010 * modify it under the terms of the GNU Lesser General Public License 00011 * as published by the Free Software Foundation; either version 3 00012 * of the License, or (at your option) any later version. 00013 * 00014 * The complete GNU Lesser General Public Licence Notice can be found 00015 * as the `COPYING.LESSER' file in the root directory. 00016 * 00017 * Author: 00018 * Louis-Noel Pouchet <Louis-Noel.Pouchet@inria.fr> 00019 * 00020 */ 00021 #ifndef FM_ERROR_H 00022 # define FM_ERROR_H 00023 00024 #include <fm/common.h> 00025 00026 BEGIN_C_DECLS 00027 00028 extern const char *program_name; 00029 extern void set_program_name (const char *argv0); 00030 00031 extern void fm_warning (const char *message); 00032 extern void fm_error (const char *message); 00033 extern void fm_fatal (const char *message); 00034 00035 END_C_DECLS 00036 00037 00038 #endif // FM_ERROR_H