/usr/share/doc/libapache2-request-perl/html/apreq__version_8h.html is in libapreq2-doc 2.13-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 | <html>
<head>
<link rel="stylesheet" type="text/css" href="dox.css" />
<title>libapreq2-2.13: libapreq2: include/apreq_version.h File Reference</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.5.6 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
<li><a href="examples.html"><span>Examples</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>include/apreq_version.h File Reference</h1>Versioning API for libapreq<p>
There are several different mechanisms for accessing the version. There is a string form, and a set of numbers; in addition, there are constants which can be compiled into your application, and you can query the library being used for its actual version. <a href="#_details">More...</a>
<p>
<code>#include "<a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/apr__version_8h.html">apr_version.h</a>"</code><br>
<code>#include "<a class="el" href="apreq_8h-source.html">apreq.h</a>"</code><br>
<p>
<a href="apreq__version_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__version_8h.html#7fb04b0c2a9da6237e235b845ee89f9a">APREQ_MAJOR_VERSION</a> 2</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__version_8h.html#44bf530fbecff4ee7bcc0158784da0ff">APREQ_MINOR_VERSION</a> 8</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__version_8h.html#365b89d742846921cb3619341e5eb266">APREQ_PATCH_VERSION</a> 0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__version_8h.html#dd82c8ea79b8cc142eeec45772d24fdb">APREQ_VERSION_STRING</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__version_8h.html#c9445f3e18e852cae2a91bd2a63394be">APREQ_IS_DEV_STRING</a> ""</td></tr>
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__version_8h.html#8d20db97717fa1bad4f31c7f9a29594f">apreq_version</a> (<a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/structapr__version__t.html">apr_version_t</a> *pvsn)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__version_8h.html#663ea74082d9bbe18a0c15b66b8fddaa">apreq_version_string</a> (void)</td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Versioning API for libapreq<p>
There are several different mechanisms for accessing the version. There is a string form, and a set of numbers; in addition, there are constants which can be compiled into your application, and you can query the library being used for its actual version.
<p>
Note that it is possible for an application to detect that it has been compiled against a different version of libapreq by use of the compile-time constants and the use of the run-time query function.<p>
libapreq version numbering follows the guidelines specified in:<p>
<a href="http://apr.apache.org/versioning.html">http://apr.apache.org/versioning.html</a> <hr><h2>Define Documentation</h2>
<a class="anchor" name="c9445f3e18e852cae2a91bd2a63394be"></a><!-- doxytag: member="apreq_version.h::APREQ_IS_DEV_STRING" ref="c9445f3e18e852cae2a91bd2a63394be" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APREQ_IS_DEV_STRING "" </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Internal: string form of the "is dev" flag
</div>
</div><p>
<a class="anchor" name="7fb04b0c2a9da6237e235b845ee89f9a"></a><!-- doxytag: member="apreq_version.h::APREQ_MAJOR_VERSION" ref="7fb04b0c2a9da6237e235b845ee89f9a" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APREQ_MAJOR_VERSION 2 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
major version Major API changes that could cause compatibility problems for older programs such as structure size changes. No binary compatibility is possible across a change in the major version.
</div>
</div><p>
<a class="anchor" name="44bf530fbecff4ee7bcc0158784da0ff"></a><!-- doxytag: member="apreq_version.h::APREQ_MINOR_VERSION" ref="44bf530fbecff4ee7bcc0158784da0ff" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APREQ_MINOR_VERSION 8 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Minor API changes that do not cause binary compatibility problems. Should be reset to 0 when upgrading APREQ_MAJOR_VERSION
</div>
</div><p>
<a class="anchor" name="365b89d742846921cb3619341e5eb266"></a><!-- doxytag: member="apreq_version.h::APREQ_PATCH_VERSION" ref="365b89d742846921cb3619341e5eb266" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APREQ_PATCH_VERSION 0 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
patch level
</div>
</div><p>
<a class="anchor" name="dd82c8ea79b8cc142eeec45772d24fdb"></a><!-- doxytag: member="apreq_version.h::APREQ_VERSION_STRING" ref="dd82c8ea79b8cc142eeec45772d24fdb" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APREQ_VERSION_STRING </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<b>Value:</b><div class="fragment"><pre class="fragment"><a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__general.html#ge90215615972dfa4108018304361ef0b">APR_STRINGIFY</a>(<a class="code" href="apreq__version_8h.html#7fb04b0c2a9da6237e235b845ee89f9a">APREQ_MAJOR_VERSION</a>) <span class="stringliteral">"."</span> \
<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__general.html#ge90215615972dfa4108018304361ef0b">APR_STRINGIFY</a>(<a class="code" href="apreq__version_8h.html#44bf530fbecff4ee7bcc0158784da0ff">APREQ_MINOR_VERSION</a>) <span class="stringliteral">"."</span> \
<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__general.html#ge90215615972dfa4108018304361ef0b">APR_STRINGIFY</a>(<a class="code" href="apreq__version_8h.html#365b89d742846921cb3619341e5eb266">APREQ_PATCH_VERSION</a>) \
<a class="code" href="apreq__version_8h.html#c9445f3e18e852cae2a91bd2a63394be">APREQ_IS_DEV_STRING</a>
</pre></div>This symbol is defined for internal, "development" copies of libapreq. This symbol will be #undef'd for releases. The formatted string of libapreq's version
</div>
</div><p>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="8d20db97717fa1bad4f31c7f9a29594f"></a><!-- doxytag: member="apreq_version.h::apreq_version" ref="8d20db97717fa1bad4f31c7f9a29594f" args="(apr_version_t *pvsn)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void apreq_version </td>
<td>(</td>
<td class="paramtype"><a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/structapr__version__t.html">apr_version_t</a> * </td>
<td class="paramname"> <em>pvsn</em> </td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Return libapreq's version information information in a numeric form.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>pvsn</em> </td><td>Pointer to a version structure for returning the version information. </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="663ea74082d9bbe18a0c15b66b8fddaa"></a><!-- doxytag: member="apreq_version.h::apreq_version_string" ref="663ea74082d9bbe18a0c15b66b8fddaa" args="(void)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const char* apreq_version_string </td>
<td>(</td>
<td class="paramtype">void </td>
<td class="paramname"> </td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Return libapreq's version information as a string.
</div>
</div><p>
</div>
<div id="footer">
<p class="apache">
Copyright © 2003-2006 <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.5.6 on 25 Nov 2010</span>
</p>
</div>
</body>
</html>
|