00001 /* 00002 ccp4_program.h: Headers to utilies to set and fetch program information. 00003 Copyright (C) 2001 CCLRC, Peter Briggs 00004 Copyright (C) 2007 Morten Kjeldgaard 00005 00006 This library is free software; you can redistribute it and/or 00007 modify it under the terms of the GNU Lesser General Public 00008 License as published by the Free Software Foundation; either 00009 version 2.1 of the License, or (at your option) any later 00010 version. 00011 00012 This library is distributed in the hope that it will be useful, 00013 but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00015 Lesser General Public License for more details. 00016 00017 You should have received a copy of the GNU Lesser General Public 00018 License along with this library; if not, write to the Free 00019 Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 00020 Boston, MA 02110-1301 USA 00021 00022 */ 00023 00031 /* Macro definitions */ 00032 00033 #ifndef __CCP4Program__ 00034 #define __CCP4Program__ 00035 00036 00037 #ifdef __cplusplus 00038 namespace CCP4 { 00039 extern "C" { 00040 #endif 00041 00043 #define CCP4_VERSION_NO "5.0" 00044 00046 #define CCP4_PATCH_LEVEL "5.0.2" 00047 00049 #define GPP4_VERSION_NO VERSION 00050 00051 /* Maximum lengths of strings holding program names and versions */ 00052 #define MAXLEN_PROGNAME 80 00053 #define MAXLEN_PROGVERSION 80 00054 #define MAXLEN_RCSDATE 80 00057 /* Function Prototypes */ 00058 00059 char *ccp4_prog_vers(char *progvers); 00060 char *ccp4ProgramName(const char *progname); 00061 char *ccp4RCSDate(const char *rcs_string); 00062 void ccp4ProgramTime(int init); 00063 int ccp4VerbosityLevel(int level); 00064 int ccp4_licence_exists(const char *name); 00065 int html_log_output(int ihtml_in); 00066 int summary_output(int isumm_in); 00067 00068 #ifdef __cplusplus 00069 } 00070 } 00071 #endif 00072 00073 #endif /* __CCP4Program__ */ 00074 00075 /* 00076 Local variables: 00077 mode: font-lock 00078 End: 00079 */