~ubuntu-branches/ubuntu/maverick/tomcat6/maverick-updates

« back to all changes in this revision

Viewing changes to native/connector/include/tcn_version.h

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2010-01-23 19:40:38 UTC
  • mfrom: (2.2.6 sid)
  • Revision ID: james.westby@ubuntu.com-20100123194038-0tnrf6kiy0wrjrw9
Tags: 6.0.20-dfsg1-1
* Fix debian/orig-tar.sh to exclude binary only standard.jar and jstl.jar.
  (Closes: #528119)
* Upload a cleaned tarball.
* Add ${misc:Depends} in debian/control.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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
 
 *
19
 
 * @author Mladen Turk
20
 
 * @version $Revision: 711832 $, $Date: 2008-11-06 11:24:56 +0100 (Thu, 06 Nov 2008) $
21
 
 */
22
 
 
23
 
#ifndef TCN_VERSION_H
24
 
#define TCN_VERSION_H
25
 
 
26
 
#include "apr_version.h"
27
 
 
28
 
#include "tcn.h"
29
 
 
30
 
#ifdef __cplusplus
31
 
extern "C" {
32
 
#endif
33
 
 
34
 
/**
35
 
 * @file tcn_version.h
36
 
 * @brief
37
 
 *
38
 
 * Tomcat Native Version
39
 
 *
40
 
 * There are several different mechanisms for accessing the version. There
41
 
 * is a string form, and a set of numbers; in addition, there are constants
42
 
 * which can be compiled into your application, and you can query the library
43
 
 * being used for its actual version.
44
 
 *
45
 
 * Note that it is possible for an application to detect that it has been
46
 
 * compiled against a different version of APU by use of the compile-time
47
 
 * constants and the use of the run-time query function.
48
 
 *
49
 
 * TCN version numbering follows the guidelines specified in:
50
 
 *
51
 
 *     http://apr.apache.org/versioning.html
52
 
 */
53
 
 
54
 
/* The numeric compile-time version constants. These constants are the
55
 
 * authoritative version numbers for TCN.
56
 
 */
57
 
 
58
 
/** major version
59
 
 * Major API changes that could cause compatibility problems for older
60
 
 * programs such as structure size changes.  No binary compatibility is
61
 
 * possible across a change in the major version.
62
 
 */
63
 
#define TCN_MAJOR_VERSION       1
64
 
 
65
 
/**
66
 
 * Minor API changes that do not cause binary compatibility problems.
67
 
 * Should be reset to 0 when upgrading TCN_MAJOR_VERSION
68
 
 */
69
 
#define TCN_MINOR_VERSION       1
70
 
 
71
 
/** patch level */
72
 
#define TCN_PATCH_VERSION       17
73
 
 
74
 
/**
75
 
 *  This symbol is defined for internal, "development" copies of TCN. This
76
 
 *  symbol will be #undef'd for releases.
77
 
 */
78
 
#define TCN_IS_DEV_VERSION      1
79
 
 
80
 
 
81
 
/** The formatted string of APU's version */
82
 
#define TCN_VERSION_STRING \
83
 
     APR_STRINGIFY(TCN_MAJOR_VERSION) "."\
84
 
     APR_STRINGIFY(TCN_MINOR_VERSION) "."\
85
 
     APR_STRINGIFY(TCN_PATCH_VERSION)\
86
 
     TCN_IS_DEV_STRING
87
 
 
88
 
/** Internal: string form of the "is dev" flag */
89
 
#if TCN_IS_DEV_VERSION
90
 
#define TCN_IS_DEV_STRING "-dev"
91
 
#else
92
 
#define TCN_IS_DEV_STRING ""
93
 
#endif
94
 
 
95
 
#ifdef __cplusplus
96
 
}
97
 
#endif
98
 
 
99
 
#endif /* TCN_VERSION_H */