Main Page | Data Structures | File List | Globals

err_msg.h

Go to the documentation of this file.
00001 /* 00002 Copyright 2004 John Tsiombikas <nuclear@siggraph.org> 00003 00004 This file is part of my common code collection (ccc). 00005 00006 ccc is free software; you can redistribute it and/or modify 00007 it under the terms of the GNU General Public License as published by 00008 the Free Software Foundation; either version 2 of the License, or 00009 (at your option) any later version. 00010 00011 ccc is distributed in the hope that it will be useful, 00012 but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 GNU General Public License for more details. 00015 00016 You should have received a copy of the GNU General Public License 00017 along with ccc; if not, write to the Free Software 00018 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00019 */ 00020 00023 #ifndef _ERR_MSG_H_ 00024 #define _ERR_MSG_H_ 00025 00026 enum { 00027 VERB_QUIET, 00028 VERB_ERR, 00029 VERB_WARN, 00030 VERB_INFO 00031 }; 00032 00033 #ifdef __cplusplus 00034 extern "C" { 00035 #endif /* __cplusplus */ 00036 00037 void set_verbosity(int value); 00038 void set_log_verbosity(int value); 00039 00040 void set_log_filename(const char *fname); 00041 00042 void error(const char *str, ...); 00043 void warning(const char *str, ...); 00044 void info(const char *str, ...); 00045 00046 #ifdef __cplusplus 00047 } 00048 #endif /* __cplusplus */ 00049 00050 #endif /* _ERR_MSG_H_ */

Generated on Thu Sep 9 00:52:33 2004 for MUD by doxygen 1.3.8