gimessages.h
00001 /* $Id: gimessages.h,v 1.5 2006/07/18 14:12:42 rpalsa Exp $ 00002 * 00003 * This file is part of the GIRAFFE Pipeline 00004 * Copyright (C) 2002-2006 European Southern Observatory 00005 * 00006 * This program 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 * This program 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 this program; if not, write to the Free Software 00018 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 00019 */ 00020 00021 /* 00022 * $Author: rpalsa $ 00023 * $Date: 2006/07/18 14:12:42 $ 00024 * $Revision: 1.5 $ 00025 * $Name: giraffe-2_8_6 $ 00026 */ 00027 00028 #ifndef GIMESSAGES_H 00029 #define GIMESSAGES_H 00030 00031 #include <stdarg.h> 00032 00033 #include <cxtypes.h> 00034 00035 #include <cpl_macros.h> 00036 00037 00038 #ifdef __cplusplus 00039 extern "C" { 00040 #endif 00041 00042 00043 #if !defined CX_LOG_DOMAIN 00044 # define CX_LOG_DOMAIN "GiraffeLib" 00045 #endif 00046 00047 void gi_error(const cxchar *, ...); 00048 void gi_critical(const cxchar *, ...); 00049 void gi_warning(const cxchar *, ...); 00050 void gi_message(const cxchar *, ...); 00051 00052 00053 #ifdef __cplusplus 00054 } 00055 #endif 00056 00057 #endif /* GIMESSAGES_H */
