1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89
|
<html>
<head>
<link rel="stylesheet" type="text/css" href="dox.css" />
<title>libapreq2-2.05-dev: libapreq2: include/apreq_version.h Source File</title>
</head>
<body>
<div id="page-header">
<p class="menu">
<a href="http://www.apache.org/">Apache Software Foundation</a> > <a href="http://httpd.apache.org">HTTP Server Project</a> >
<a href="http://httpd.apache.org/apreq/">Request Library Subproject</a></p>
<p class="apache">Apache HTTP Server Request Library</p>
<img alt="" src="feather.gif" /></div>
<!-- Generated by Doxygen 1.4.2 -->
<div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a></div>
<div class="nav">
<a class="el" href="dir_000000.html">include</a></div>
<h1>apreq_version.h</h1><a href="apreq__version_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment">00001 <span class="comment">/*</span>
00002 <span class="comment">** Copyright 2003-2005 The Apache Software Foundation</span>
00003 <span class="comment">**</span>
00004 <span class="comment">** Licensed under the Apache License, Version 2.0 (the "License");</span>
00005 <span class="comment">** you may not use this file except in compliance with the License.</span>
00006 <span class="comment">** You may obtain a copy of the License at</span>
00007 <span class="comment">**</span>
00008 <span class="comment">** http://www.apache.org/licenses/LICENSE-2.0</span>
00009 <span class="comment">**</span>
00010 <span class="comment">** Unless required by applicable law or agreed to in writing, software</span>
00011 <span class="comment">** distributed under the License is distributed on an "AS IS" BASIS,</span>
00012 <span class="comment">** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span>
00013 <span class="comment">** See the License for the specific language governing permissions and</span>
00014 <span class="comment">** limitations under the License.</span>
00015 <span class="comment">*/</span>
00016
00017 <span class="preprocessor">#ifndef APREQ_VERSION_H</span>
00018 <span class="preprocessor"></span><span class="preprocessor">#define APREQ_VERSION_H</span>
00019 <span class="preprocessor"></span>
00020 <span class="preprocessor">#ifdef __cplusplus</span>
00021 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> {
00022 <span class="preprocessor">#endif</span>
00023 <span class="preprocessor"></span>
00024 <span class="preprocessor">#include "<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/apr__version_8h.html">apr_version.h</a>"</span>
00025 <span class="preprocessor">#include "<a class="code" href="apreq_8h.html">apreq.h</a>"</span>
00026
00046 <span class="comment">/* The numeric compile-time version constants. These constants are the</span>
00047 <span class="comment"> * authoritative version numbers for libapreq. </span>
00048 <span class="comment"> */</span>
00049
<a name="l00055"></a><a class="code" href="apreq__version_8h.html#a0">00055</a> <span class="preprocessor">#define APREQ_MAJOR_VERSION 2</span>
00056 <span class="preprocessor"></span>
<a name="l00061"></a><a class="code" href="apreq__version_8h.html#a1">00061</a> <span class="preprocessor">#define APREQ_MINOR_VERSION 1</span>
00062 <span class="preprocessor"></span>
<a name="l00064"></a><a class="code" href="apreq__version_8h.html#a2">00064</a> <span class="preprocessor">#define APREQ_PATCH_VERSION 0</span>
00065 <span class="preprocessor"></span>
<a name="l00070"></a><a class="code" href="apreq__version_8h.html#a3">00070</a> <span class="preprocessor">#define APREQ_IS_DEV_VERSION</span>
00071 <span class="preprocessor"></span>
00072
<a name="l00074"></a><a class="code" href="apreq__version_8h.html#a4">00074</a> <span class="preprocessor">#define APREQ_VERSION_STRING \</span>
00075 <span class="preprocessor"> APR_STRINGIFY(APREQ_MAJOR_VERSION) "." \</span>
00076 <span class="preprocessor"> APR_STRINGIFY(APREQ_MINOR_VERSION) "." \</span>
00077 <span class="preprocessor"> APR_STRINGIFY(APREQ_PATCH_VERSION) \</span>
00078 <span class="preprocessor"> APREQ_IS_DEV_STRING</span>
00079 <span class="preprocessor"></span>
00086 APREQ_DECLARE(<span class="keywordtype">void</span>) <a class="code" href="apreq__version_8h.html#a6">apreq_version</a>(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/structapr__version__t.html">apr_version_t</a> *pvsn);
00087
00089 APREQ_DECLARE(const <span class="keywordtype">char</span> *) <a class="code" href="apreq__version_8h.html#a7">apreq_version_string</a>(<span class="keywordtype">void</span>);
00090
00091
00093 #ifdef <a class="code" href="apreq__version_8h.html#a3">APREQ_IS_DEV_VERSION</a>
<a name="l00094"></a><a class="code" href="apreq__version_8h.html#a5">00094</a> #define <a class="code" href="apreq__version_8h.html#a5">APREQ_IS_DEV_STRING</a> "-dev"
00095 #else
00096 #define <a class="code" href="apreq__version_8h.html#a5">APREQ_IS_DEV_STRING</a> ""
00097 #endif
00098
00099
00100 #ifdef __cplusplus
00101 }
00102 #endif
00103
00104 #endif <span class="comment">/* APREQ_VERSION_H */</span>
</pre></div><div id="footer">
<p class="apache">
Copyright © 2003-2005 <a href="http://www.apache.org">The Apache Software Foundation</a>.<br/>
See <a href="apreq_license.html">LICENSE</a>.</p>
<p class="menu">
<span style="color:#aaa">page generated by <a href="http://www.doxygen.org/"><code>doxygen</code></a>
version 1.4.2 on 4 May 2005</span>
</p>
</div>
</body>
</html>
|