]> granicus.if.org Git - apache/blob - include/ap_release.h
add "-l" option to indicate interval is based on localtime not gmt
[apache] / include / ap_release.h
1 /* Copyright 2001-2004 The Apache Software Foundation
2  *
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  *     http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15
16 #ifndef AP_RELEASE_H
17 #define AP_RELEASE_H
18
19 #include "apr_general.h" /* stringify */
20
21 /*
22  * The below defines the base string of the Server: header. Additional
23  * tokens can be added via the ap_add_version_component() API call.
24  *
25  * The tokens are listed in order of their significance for identifying the
26  * application.
27  *
28  * "Product tokens should be short and to the point -- use of them for 
29  * advertizing or other non-essential information is explicitly forbidden."
30  *
31  * Example: "Apache/1.1.0 MrWidget/0.1-alpha" 
32  */
33 #define AP_SERVER_BASEVENDOR "Apache Software Foundation"
34 #define AP_SERVER_BASEPRODUCT "Apache"
35
36 #define AP_SERVER_MAJORVERSION_NUMBER 2
37 #define AP_SERVER_MINORVERSION_NUMBER 1
38 #define AP_SERVER_PATCHLEVEL_NUMBER   0
39 #define AP_SERVER_ADD_STRING          "-dev"
40
41 /* keep old macros as well */
42 #define AP_SERVER_MAJORVERSION APR_STRINGIFY(AP_SERVER_MAJORVERSION_NUMBER)
43 #define AP_SERVER_MINORVERSION APR_STRINGIFY(AP_SERVER_MINORVERSION_NUMBER)
44 #define AP_SERVER_PATCHLEVEL APR_STRINGIFY(AP_SERVER_PATCHLEVEL_NUMBER) \
45                               AP_SERVER_ADD_STRING
46
47 #define AP_SERVER_MINORREVISION AP_SERVER_MAJORVERSION "." AP_SERVER_MINORVERSION
48 #define AP_SERVER_BASEREVISION  AP_SERVER_MINORREVISION "." AP_SERVER_PATCHLEVEL
49 #define AP_SERVER_BASEVERSION AP_SERVER_BASEPRODUCT "/" AP_SERVER_BASEREVISION
50 #define AP_SERVER_VERSION  AP_SERVER_BASEVERSION
51
52 #endif