Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

apr_version.h

Go to the documentation of this file.
00001 /* Copyright 2000-2004 The Apache Software Foundation 00002 * 00003 * Licensed under the Apache License, Version 2.0 (the "License"); 00004 * you may not use this file except in compliance with the License. 00005 * You may obtain a copy of the License at 00006 * 00007 * http://www.apache.org/licenses/LICENSE-2.0 00008 * 00009 * Unless required by applicable law or agreed to in writing, software 00010 * distributed under the License is distributed on an "AS IS" BASIS, 00011 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00012 * See the License for the specific language governing permissions and 00013 * limitations under the License. 00014 */ 00015 00016 #ifndef APR_VERSION_H 00017 #define APR_VERSION_H 00018 00019 #include "apr.h" 00020 00021 #ifdef __cplusplus 00022 extern "C" { 00023 #endif 00024 00045 /* The numeric compile-time version constants. These constants are the 00046 * authoritative version numbers for APR. 00047 */ 00048 00054 #define APR_MAJOR_VERSION 0 00055 00060 #define APR_MINOR_VERSION 9 00061 00063 #define APR_PATCH_VERSION 5 00064 00065 00070 #define APR_IS_DEV_VERSION 00071 00073 #define APR_VERSION_STRING \ 00074 APR_STRINGIFY(APR_MAJOR_VERSION) "." \ 00075 APR_STRINGIFY(APR_MINOR_VERSION) "." \ 00076 APR_STRINGIFY(APR_PATCH_VERSION) \ 00077 APR_IS_DEV_STRING 00078 00079 00084 typedef struct { 00085 int major; 00086 int minor; 00087 int patch; 00088 int is_dev; 00089 } apr_version_t; 00090 00097 APR_DECLARE(void) apr_version(apr_version_t *pvsn); 00098 00100 APR_DECLARE(const char *) apr_version_string(void); 00101 00102 00104 #ifdef APR_IS_DEV_VERSION 00105 #define APR_IS_DEV_STRING "-dev" 00106 #else 00107 #define APR_IS_DEV_STRING "" 00108 #endif 00109 00110 #ifdef __cplusplus 00111 } 00112 #endif 00113 00114 #endif /* APR_VERSION_H */

Generated on Tue Aug 10 17:42:34 2004 for Apache Portable Runtime by doxygen 1.3.7