| 1 |
<html> |
| 2 |
<head> |
| 3 |
<link rel="stylesheet" type="text/css" href="dox.css" /> |
| 4 |
<title>libapreq2-2.17: include/apreq_version.h Source File</title> |
| 5 |
</head> |
| 6 |
<body> |
| 7 |
<div id="page-header"> |
| 8 |
<p class="menu"> |
| 9 |
<a href="http://www.apache.org/">Apache Software Foundation</a> > <a href="http://httpd.apache.org">HTTP Server Project</a> > |
| 10 |
<a href="http://httpd.apache.org/apreq/">Request Library Subproject</a></p> |
| 11 |
<p class="apache">Apache HTTP Server Request Library</p> |
| 12 |
<img alt="" src="feather.gif" /></div> |
| 13 |
<!-- Generated by Doxygen 1.9.1 --> |
| 14 |
<script type="text/javascript" src="menudata.js"></script> |
| 15 |
<script type="text/javascript" src="menu.js"></script> |
| 16 |
<script type="text/javascript"> |
| 17 |
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ |
| 18 |
$(function() { |
| 19 |
initMenu('',false,false,'search.php','Search'); |
| 20 |
}); |
| 21 |
/* @license-end */</script> |
| 22 |
<div id="main-nav"></div> |
| 23 |
<div id="nav-path" class="navpath"> |
| 24 |
<ul> |
| 25 |
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li> </ul> |
| 26 |
</div> |
| 27 |
</div><!-- top --> |
| 28 |
<div class="header"> |
| 29 |
<div class="headertitle"> |
| 30 |
<div class="title">apreq_version.h</div> </div> |
| 31 |
</div><!--header--> |
| 32 |
<div class="contents"> |
| 33 |
<a href="apreq__version_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div> |
| 34 |
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">** Licensed to the Apache Software Foundation (ASF) under one or more</span></div> |
| 35 |
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">** contributor license agreements. See the NOTICE file distributed with</span></div> |
| 36 |
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">** this work for additional information regarding copyright ownership.</span></div> |
| 37 |
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">** The ASF licenses this file to You under the Apache License, Version 2.0</span></div> |
| 38 |
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">** (the "License"); you may not use this file except in compliance with</span></div> |
| 39 |
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">** the License. You may obtain a copy of the License at</span></div> |
| 40 |
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">**</span></div> |
| 41 |
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">** http://www.apache.org/licenses/LICENSE-2.0</span></div> |
| 42 |
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">**</span></div> |
| 43 |
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">** Unless required by applicable law or agreed to in writing, software</span></div> |
| 44 |
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment">** distributed under the License is distributed on an "AS IS" BASIS,</span></div> |
| 45 |
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div> |
| 46 |
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment">** See the License for the specific language governing permissions and</span></div> |
| 47 |
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment">** limitations under the License.</span></div> |
| 48 |
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment">*/</span></div> |
| 49 |
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  </div> |
| 50 |
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#ifndef APREQ_VERSION_H</span></div> |
| 51 |
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#define APREQ_VERSION_H</span></div> |
| 52 |
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  </div> |
| 53 |
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#ifdef __cplusplus</span></div> |
| 54 |
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div> |
| 55 |
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#endif</span></div> |
| 56 |
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  </div> |
| 57 |
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include "apr_version.h"</span></div> |
| 58 |
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include "<a class="code" href="apreq_8h.html">apreq.h</a>"</span></div> |
| 59 |
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  </div> |
| 60 |
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="comment">/* The numeric compile-time version constants. These constants are the</span></div> |
| 61 |
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="comment"> * authoritative version numbers for libapreq.</span></div> |
| 62 |
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="comment"> */</span></div> |
| 63 |
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  </div> |
| 64 |
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="apreq__version_8h.html#a7fb04b0c2a9da6237e235b845ee89f9a"> 56</a></span> <span class="preprocessor">#define APREQ_MAJOR_VERSION 2</span></div> |
| 65 |
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  </div> |
| 66 |
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="apreq__version_8h.html#a44bf530fbecff4ee7bcc0158784da0ff"> 62</a></span> <span class="preprocessor">#define APREQ_MINOR_VERSION 8</span></div> |
| 67 |
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  </div> |
| 68 |
<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="apreq__version_8h.html#a365b89d742846921cb3619341e5eb266"> 65</a></span> <span class="preprocessor">#define APREQ_PATCH_VERSION 1</span></div> |
| 69 |
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  </div> |
| 70 |
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span> <span class="preprocessor">#undef APREQ_IS_DEV_VERSION</span></div> |
| 71 |
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  </div> |
| 72 |
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  </div> |
| 73 |
<div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="apreq__version_8h.html#add82c8ea79b8cc142eeec45772d24fdb"> 75</a></span> <span class="preprocessor">#define APREQ_VERSION_STRING \</span></div> |
| 74 |
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span> <span class="preprocessor"> APR_STRINGIFY(APREQ_MAJOR_VERSION) "."</span> \</div> |
| 75 |
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  APR_STRINGIFY(APREQ_MINOR_VERSION) "." \</div> |
| 76 |
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  APR_STRINGIFY(APREQ_PATCH_VERSION) \</div> |
| 77 |
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  APREQ_IS_DEV_STRING</div> |
| 78 |
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  </div> |
| 79 |
<div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="apreq__version_8h.html#a8d20db97717fa1bad4f31c7f9a29594f"> 87</a></span> <a class="code" href="apreq_8h.html#a02bf89714a74397155a11b9ccb942b0d">APREQ_DECLARE</a>(<span class="keywordtype">void</span>) <a class="code" href="apreq__version_8h.html#a8d20db97717fa1bad4f31c7f9a29594f">apreq_version</a>(apr_version_t *pvsn);</div> |
| 80 |
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  </div> |
| 81 |
<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="apreq__version_8h.html#a663ea74082d9bbe18a0c15b66b8fddaa"> 90</a></span> <a class="code" href="apreq_8h.html#a02bf89714a74397155a11b9ccb942b0d">APREQ_DECLARE</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *) <a class="code" href="apreq__version_8h.html#a663ea74082d9bbe18a0c15b66b8fddaa">apreq_version_string</a>(<span class="keywordtype">void</span>);</div> |
| 82 |
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  </div> |
| 83 |
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  </div> |
| 84 |
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span> <span class="preprocessor">#ifdef APREQ_IS_DEV_VERSION</span></div> |
| 85 |
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span> <span class="preprocessor">#define APREQ_IS_DEV_STRING "-dev"</span></div> |
| 86 |
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span> <span class="preprocessor">#else</span></div> |
| 87 |
<div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="apreq__version_8h.html#ac9445f3e18e852cae2a91bd2a63394be"> 97</a></span> <span class="preprocessor">#define APREQ_IS_DEV_STRING ""</span></div> |
| 88 |
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span> <span class="preprocessor">#endif</span></div> |
| 89 |
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  </div> |
| 90 |
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  </div> |
| 91 |
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span> <span class="preprocessor">#ifdef __cplusplus</span></div> |
| 92 |
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span> }</div> |
| 93 |
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span> <span class="preprocessor">#endif</span></div> |
| 94 |
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  </div> |
| 95 |
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span> <span class="preprocessor">#endif </span><span class="comment">/* APREQ_VERSION_H */</span><span class="preprocessor"></span></div> |
| 96 |
<div class="ttc" id="aapreq_8h_html"><div class="ttname"><a href="apreq_8h.html">apreq.h</a></div><div class="ttdoc">Main header file...</div></div> |
| 97 |
<div class="ttc" id="aapreq_8h_html_a02bf89714a74397155a11b9ccb942b0d"><div class="ttname"><a href="apreq_8h.html#a02bf89714a74397155a11b9ccb942b0d">APREQ_DECLARE</a></div><div class="ttdeci">#define APREQ_DECLARE(d)</div><div class="ttdef"><b>Definition:</b> apreq.h:50</div></div> |
| 98 |
<div class="ttc" id="aapreq__version_8h_html_a663ea74082d9bbe18a0c15b66b8fddaa"><div class="ttname"><a href="apreq__version_8h.html#a663ea74082d9bbe18a0c15b66b8fddaa">apreq_version_string</a></div><div class="ttdeci">const char * apreq_version_string(void)</div></div> |
| 99 |
<div class="ttc" id="aapreq__version_8h_html_a8d20db97717fa1bad4f31c7f9a29594f"><div class="ttname"><a href="apreq__version_8h.html#a8d20db97717fa1bad4f31c7f9a29594f">apreq_version</a></div><div class="ttdeci">void apreq_version(apr_version_t *pvsn)</div></div> |
| 100 |
</div><!-- fragment --></div><!-- contents --> |
| 101 |
<div id="footer"> |
| 102 |
<p class="apache"> |
| 103 |
Copyright © 2003-2006 <a href="http://www.apache.org">The Apache Software Foundation</a>.<br/> |
| 104 |
See <a href="apreq_license.html">LICENSE</a>.</p> |
| 105 |
<p class="menu"> |
| 106 |
<span style="color:#aaa">page generated by <a href="http://www.doxygen.org/"><code>doxygen</code></a> |
| 107 |
version 1.9.1 on Thu Aug 18 2022</span> |
| 108 |
</p> |
| 109 |
</div> |
| 110 |
</body> |
| 111 |
</html> |