Apache Software Foundation > HTTP Server Project > Request Library Subproject

Apache HTTP Server Request Library

  • Main Page
  • Related Pages
  • Modules
  • Data Structures
  • Files
  • Examples

include/apreq_version.h

Go to the documentation of this file.
00001 /*
00002 **  Licensed to the Apache Software Foundation (ASF) under one or more
00003 ** contributor license agreements.  See the NOTICE file distributed with
00004 ** this work for additional information regarding copyright ownership.
00005 ** The ASF licenses this file to You under the Apache License, Version 2.0
00006 ** (the "License"); you may not use this file except in compliance with
00007 ** the License.  You may obtain a copy of the License at
00008 **
00009 **      http://www.apache.org/licenses/LICENSE-2.0
00010 **
00011 **  Unless required by applicable law or agreed to in writing, software
00012 **  distributed under the License is distributed on an "AS IS" BASIS,
00013 **  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00014 **  See the License for the specific language governing permissions and
00015 **  limitations under the License.
00016 */
00017 
00018 #ifndef APREQ_VERSION_H
00019 #define APREQ_VERSION_H
00020 
00021 #ifdef __cplusplus
00022 extern "C" {
00023 #endif
00024 
00025 #include "apr_version.h"
00026 #include "apreq.h"
00027 
00047 /* The numeric compile-time version constants. These constants are the
00048  * authoritative version numbers for libapreq.
00049  */
00050 
00056 #define APREQ_MAJOR_VERSION       2
00057 
00062 #define APREQ_MINOR_VERSION       6
00063 
00065 #define APREQ_PATCH_VERSION       3
00066 
00071 #undef APREQ_IS_DEV_VERSION
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 */

Copyright © 2003-2006 The Apache Software Foundation.
See LICENSE.

page generated by doxygen version 1.5.6 on 13 Nov 2008