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

apreq_version.h

Go to the documentation of this file.
00001 /*
00002 **  Copyright 2003-2004  The Apache Software Foundation
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 
00017 #ifndef APREQ_VERSION_H
00018 #define APREQ_VERSION_H
00019 
00020 #ifdef __cplusplus
00021 extern "C" {
00022 #endif
00023 
00024 #include "apreq.h"
00025 #include "apr_version.h"
00026 
00045 /* The numeric compile-time version constants. These constants are the
00046  * authoritative version numbers for libapreq. 
00047  */
00048 
00054 #define APREQ_MAJOR_VERSION       2
00055 
00060 #define APREQ_MINOR_VERSION       0
00061 
00063 #define APREQ_PATCH_VERSION       7
00064 
00069 #define APREQ_IS_DEV_VERSION
00070 
00071 
00073 #define APREQ_VERSION_STRING \
00074      APR_STRINGIFY(APREQ_MAJOR_VERSION) "." \
00075      APR_STRINGIFY(APREQ_MINOR_VERSION) "." \
00076      APR_STRINGIFY(APREQ_PATCH_VERSION) \
00077      APREQ_IS_DEV_STRING
00078 
00085 APREQ_DECLARE(void) apreq_version(apr_version_t *pvsn);
00086 
00088 APREQ_DECLARE(const char *) apreq_version_string(void);
00089 
00090 
00092 #ifdef APREQ_IS_DEV_VERSION
00093 #define APREQ_IS_DEV_STRING "-dev"
00094 #else
00095 #define APREQ_IS_DEV_STRING ""
00096 #endif
00097 
00098 #ifdef __cplusplus
00099 }
00100 #endif
00101 
00102 #endif /* APREQ_VERSION_H */

Generated on Sat Jun 12 10:16:30 2004 for libapreq2 by doxygen1.2.15