uves_mbias.c

00001 /*                                                                              *
00002  *   This file is part of the ESO UVES Pipeline                                 *
00003  *   Copyright (C) 2004,2005 European Southern Observatory                      *
00004  *                                                                              *
00005  *   This library is free software; you can redistribute it and/or modify       *
00006  *   it under the terms of the GNU General Public License as published by       *
00007  *   the Free Software Foundation; either version 2 of the License, or          *
00008  *   (at your option) any later version.                                        *
00009  *                                                                              *
00010  *   This program is distributed in the hope that it will be useful,            *
00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of             *
00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the              *
00013  *   GNU General Public License for more details.                               *
00014  *                                                                              *
00015  *   You should have received a copy of the GNU General Public License          *
00016  *   along with this program; if not, write to the Free Software                *
00017  *   Foundation, 51 Franklin St, Fifth Floor, Boston MA 02110-1301 USA          *
00018  */
00019  
00020 /*
00021  * $Author: amodigli $
00022  * $Date: 2007/06/06 08:17:33 $
00023  * $Revision: 1.52 $
00024  * $Name: uves-4_9_1 $
00025  * $Log: uves_mbias.c,v $
00026  * Revision 1.52  2007/06/06 08:17:33  amodigli
00027  * replace tab with 4 spaces
00028  *
00029  * Revision 1.51  2006/10/26 14:01:55  jmlarsen
00030  * Replaced hard-coded package name with PACKAGE_NAME
00031  *
00032  * Revision 1.6  2006/10/19 08:19:10  jmlarsen
00033  * Doc. update
00034  *
00035  * Revision 1.5  2006/08/11 11:26:20  jmlarsen
00036  * Added runtime check of UVES library version number
00037  *
00038  * Revision 1.4  2006/05/05 13:52:54  jmlarsen
00039  * Added doxygen header, include config.h
00040  *
00041  * Revision 1.3  2006/04/24 09:17:19  jmlarsen
00042  * Removed explicit uves_-prefix'
00043  *
00044  * Revision 1.2  2006/02/03 08:55:42  jmlarsen
00045  * Removed stray doxygen marker
00046  *
00047  * Revision 1.1  2006/02/03 07:55:40  jmlarsen
00048  * Added plugin template
00049  *
00050  * Revision 1.42  2006/01/19 08:47:24  jmlarsen
00051  * Inserted missing doxygen end tag
00052  *
00053  * Revision 1.41  2005/12/19 16:17:55  jmlarsen
00054  * Replaced bool -> int
00055  *
00056  */
00057 
00058 #ifdef HAVE_CONFIG_H
00059 #  include <config.h>
00060 #endif
00061 
00062 /*----------------------------------------------------------------------------*/
00066 /*----------------------------------------------------------------------------*/
00067 
00068 #include <uves.h>
00069 #include <uves_utils.h>
00070 
00071 int cpl_plugin_get_info(cpl_pluginlist *list)
00072 {
00073     if (UVES_BINARY_VERSION != uves_get_version_binary())
00074     {
00075         cpl_msg_error(__func__, 
00076               "I am uves_mbias version %d, but I am linking "
00077               "against UVES library version %d. "
00078               "This will not work. "
00079               "Please remove all previous installations "
00080               "of the " PACKAGE_NAME " and try again.",
00081               UVES_BINARY_VERSION, uves_get_version_binary());
00082         return 1;
00083     }
00084     return uves_mbias_get_info(list);
00085 }

Generated on 8 Mar 2011 for UVES Pipeline Reference Manual by  doxygen 1.6.1