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

apreq_version.h

Go to the documentation of this file.
00001 /*
00002 **  Copyright 2003-2006  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 "apr_version.h"
00025 #include "apreq.h"
00026 
00046 /* The numeric compile-time version constants. These constants are the
00047  * authoritative version numbers for libapreq.
00048  */
00049 
00055 #define APREQ_MAJOR_VERSION       2
00056 
00061 #define APREQ_MINOR_VERSION       6
00062 
00064 #define APREQ_PATCH_VERSION       0
00065 
00070 #define APREQ_IS_DEV_VERSION
00071 
00072 
00074 #define APREQ_VERSION_STRING \
00075      APR_STRINGIFY(APREQ_MAJOR_VERSION) "." \
00076      APR_STRINGIFY(APREQ_MINOR_VERSION) "." \
00077      APR_STRINGIFY(APREQ_PATCH_VERSION) \
00078      APREQ_IS_DEV_STRING
00079 
00086 APREQ_DECLARE(void) apreq_version(apr_version_t *pvsn);
00087 
00089 APREQ_DECLARE(const char *) apreq_version_string(void);
00090 
00091 
00093 #ifdef APREQ_IS_DEV_VERSION
00094 #define APREQ_IS_DEV_STRING "-dev"
00095 #else
00096 #define APREQ_IS_DEV_STRING ""
00097 #endif
00098 
00099 
00100 #ifdef __cplusplus
00101 }
00102 #endif
00103 
00104 #endif /* APREQ_VERSION_H */