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       8
00063 
00065 #define APREQ_PATCH_VERSION       0
00066 
00071 #undef APREQ_IS_DEV_VERSION
00072 
00073 
00075 #define APREQ_VERSION_STRING \
00076      APR_STRINGIFY(APREQ_MAJOR_VERSION) "." \
00077      APR_STRINGIFY(APREQ_MINOR_VERSION) "." \
00078      APR_STRINGIFY(APREQ_PATCH_VERSION) \
00079      APREQ_IS_DEV_STRING
00080 
00087 APREQ_DECLARE(void) apreq_version(apr_version_t *pvsn);
00088 
00090 APREQ_DECLARE(const char *) apreq_version_string(void);
00091 
00092 
00094 #ifdef APREQ_IS_DEV_VERSION
00095 #define APREQ_IS_DEV_STRING "-dev"
00096 #else
00097 #define APREQ_IS_DEV_STRING ""
00098 #endif
00099 
00100 
00101 #ifdef __cplusplus
00102 }
00103 #endif
00104 
00105 #endif /* APREQ_VERSION_H */

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

page generated by doxygen version 1.5.6 on 25 Nov 2010