00001 /* 00002 * Copyright 1999-2006 University of Chicago 00003 * 00004 * Licensed under the Apache License, Version 2.0 (the "License"); 00005 * you may not use this file except in compliance with the License. 00006 * You may obtain a copy of the License at 00007 * 00008 * http://www.apache.org/licenses/LICENSE-2.0 00009 * 00010 * Unless required by applicable law or agreed to in writing, software 00011 * distributed under the License is distributed on an "AS IS" BASIS, 00012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00013 * See the License for the specific language governing permissions and 00014 * limitations under the License. 00015 */ 00016 00022 #ifndef GLOBUS_RELEASE_H 00023 #define GLOBUS_RELEASE_H 00024 00025 /* I have made these routines as macros */ 00026 /* since you have to include the header file, anyways. */ 00027 /* The only reason why they should be functions is if */ 00028 /* you expect the linker to fill in the appropriate values */ 00029 /* but then the user needs to include the prototypes. */ 00030 #define globus_release_major() GLOBUS_RELEASE_MAJOR 00031 #define globus_release_minor() GLOBUS_RELEASE_MINOR 00032 #define globus_release_patch() GLOBUS_RELEASE_PATCH 00033 #define globus_release_beta() GLOBUS_RELEASE_BETA 00034 00035 #ifdef GLOBUS_RELEASE_STRING 00036 #define globus_release_string() GLOBUS_RELEASE_STRING 00037 #else 00038 #define globus_release_string() "" 00039 #endif 00040 #endif /* GLOBUS_DEBUG_H */