Annotation of win32/apache22/include/ap_release.h, revision 1.1
1.1 ! moko 1: /* Licensed to the Apache Software Foundation (ASF) under one or more
! 2: * contributor license agreements. See the NOTICE file distributed with
! 3: * this work for additional information regarding copyright ownership.
! 4: * The ASF licenses this file to You under the Apache License, Version 2.0
! 5: * (the "License"); you may not use this file except in compliance with
! 6: * the License. You may obtain a copy of the License at
! 7: *
! 8: * http://www.apache.org/licenses/LICENSE-2.0
! 9: *
! 10: * Unless required by applicable law or agreed to in writing, software
! 11: * distributed under the License is distributed on an "AS IS" BASIS,
! 12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
! 13: * See the License for the specific language governing permissions and
! 14: * limitations under the License.
! 15: */
! 16:
! 17: /**
! 18: * @file ap_release.h
! 19: * @brief Version Release defines
! 20: */
! 21:
! 22: #ifndef AP_RELEASE_H
! 23: #define AP_RELEASE_H
! 24:
! 25: #include "apr_general.h" /* stringify */
! 26:
! 27: #define AP_SERVER_COPYRIGHT \
! 28: "Copyright 2013 The Apache Software Foundation."
! 29:
! 30: /*
! 31: * The below defines the base string of the Server: header. Additional
! 32: * tokens can be added via the ap_add_version_component() API call.
! 33: *
! 34: * The tokens are listed in order of their significance for identifying the
! 35: * application.
! 36: *
! 37: * "Product tokens should be short and to the point -- use of them for
! 38: * advertizing or other non-essential information is explicitly forbidden."
! 39: *
! 40: * Example: "Apache/1.1.0 MrWidget/0.1-alpha"
! 41: */
! 42: #define AP_SERVER_BASEVENDOR "Apache Software Foundation"
! 43: #define AP_SERVER_BASEPROJECT "Apache HTTP Server"
! 44: #define AP_SERVER_BASEPRODUCT "Apache"
! 45:
! 46: #define AP_SERVER_MAJORVERSION_NUMBER 2
! 47: #define AP_SERVER_MINORVERSION_NUMBER 2
! 48: #define AP_SERVER_PATCHLEVEL_NUMBER 25
! 49: #define AP_SERVER_DEVBUILD_BOOLEAN 0
! 50:
! 51: /* Synchronize the above with docs/manual/style/version.ent */
! 52:
! 53: #if AP_SERVER_DEVBUILD_BOOLEAN
! 54: #define AP_SERVER_ADD_STRING "-dev"
! 55: #else
! 56: #define AP_SERVER_ADD_STRING ""
! 57: #endif
! 58:
! 59: /* keep old macros as well */
! 60: #define AP_SERVER_MAJORVERSION APR_STRINGIFY(AP_SERVER_MAJORVERSION_NUMBER)
! 61: #define AP_SERVER_MINORVERSION APR_STRINGIFY(AP_SERVER_MINORVERSION_NUMBER)
! 62: #define AP_SERVER_PATCHLEVEL APR_STRINGIFY(AP_SERVER_PATCHLEVEL_NUMBER) \
! 63: AP_SERVER_ADD_STRING
! 64:
! 65: #define AP_SERVER_MINORREVISION AP_SERVER_MAJORVERSION "." AP_SERVER_MINORVERSION
! 66: #define AP_SERVER_BASEREVISION AP_SERVER_MINORREVISION "." AP_SERVER_PATCHLEVEL
! 67: #define AP_SERVER_BASEVERSION AP_SERVER_BASEPRODUCT "/" AP_SERVER_BASEREVISION
! 68: #define AP_SERVER_VERSION AP_SERVER_BASEVERSION
! 69:
! 70: /* macro for Win32 .rc files using numeric csv representation */
! 71: #define AP_SERVER_PATCHLEVEL_CSV AP_SERVER_MAJORVERSION_NUMBER ##, \
! 72: ##AP_SERVER_MINORVERSION_NUMBER ##, \
! 73: ##AP_SERVER_PATCHLEVEL_NUMBER
! 74:
! 75: #endif
E-mail: