JezK
Edit File: apu__version_8h_source.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=11"/> <meta name="generator" content="Doxygen 1.9.4"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>Apache Portable Runtime Utility Library: apu_version.h Source File</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="search/searchdata.js"></script> <script type="text/javascript" src="search/search.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr id="projectrow"> <td id="projectalign"> <div id="projectname">Apache Portable Runtime Utility Library </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.9.4 --> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */ var searchBox = new SearchBox("searchBox", "search",'Search','.html'); /* @license-end */ </script> <script type="text/javascript" src="menudata.js"></script> <script type="text/javascript" src="menu.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */ $(function() { initMenu('',true,false,'search.php','Search'); $(document).ready(function() { init_search(); }); }); /* @license-end */ </script> <div id="main-nav"></div> <!-- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> </div> <!-- iframe showing the search results (closed by default) --> <div id="MSearchResultsWindow"> <iframe src="javascript:void(0)" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="headertitle"><div class="title">apu_version.h</div></div> </div><!--header--> <div class="contents"> <a href="apu__version_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="comment">/* Licensed to the Apache Software Foundation (ASF) under one or more</span></div> <div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="comment"> * contributor license agreements. See the NOTICE file distributed with</span></div> <div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="comment"> * this work for additional information regarding copyright ownership.</span></div> <div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</span></div> <div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="comment"> * (the "License"); you may not use this file except in compliance with</span></div> <div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="comment"> * the License. You may obtain a copy of the License at</span></div> <div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="comment"> *</span></div> <div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span></div> <div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="comment"> *</span></div> <div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="comment"> * Unless required by applicable law or agreed to in writing, software</span></div> <div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</span></div> <div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div> <div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="comment"> * See the License for the specific language governing permissions and</span></div> <div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="comment"> * limitations under the License.</span></div> <div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span><span class="comment"> */</span></div> <div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span> </div> <div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span><span class="preprocessor">#ifndef APU_VERSION_H</span></div> <div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span><span class="preprocessor">#define APU_VERSION_H</span></div> <div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span> </div> <div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span><span class="preprocessor">#define APU_COPYRIGHT "Copyright (c) 2000-2023 The Apache Software "</span> \</div> <div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> "Foundation or its licensors, as applicable."</div> <div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> </div> <div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span><span class="comment">/* The numeric compile-time version constants. These constants are the</span></div> <div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span><span class="comment"> * authoritative version numbers for APU. </span></div> <div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span><span class="comment"> */</span></div> <div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> </div> <div class="line"><a id="l00053" name="l00053"></a><span class="lineno"><a class="line" href="apu__version_8h.html#ac6ad13b6f97cfe3b3d9008ff34f0bb35"> 53</a></span><span class="preprocessor">#define APU_MAJOR_VERSION 1</span></div> <div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> </div> <div class="line"><a id="l00059" name="l00059"></a><span class="lineno"><a class="line" href="apu__version_8h.html#a28a5f6fb38453905a840885a8c00152a"> 59</a></span><span class="preprocessor">#define APU_MINOR_VERSION 6</span></div> <div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> </div> <div class="line"><a id="l00065" name="l00065"></a><span class="lineno"><a class="line" href="apu__version_8h.html#a44b4590b3763f9c92f9d429fb9ce119b"> 65</a></span><span class="preprocessor">#define APU_PATCH_VERSION 3</span></div> <div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> </div> <div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span><span class="comment">/* #undef APU_IS_DEV_VERSION */</span></div> <div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span> </div> <div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span> </div> <div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span><span class="preprocessor">#if defined(APU_IS_DEV_VERSION) || defined(DOXYGEN)</span></div> <div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span><span class="preprocessor">#ifndef APU_IS_DEV_STRING</span></div> <div class="line"><a id="l00078" name="l00078"></a><span class="lineno"><a class="line" href="apu__version_8h.html#ab47617bb2faf080300b78620a4a53a6c"> 78</a></span><span class="preprocessor">#define APU_IS_DEV_STRING "-dev"</span></div> <div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span><span class="preprocessor">#endif</span></div> <div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span><span class="preprocessor">#else</span></div> <div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span><span class="preprocessor">#define APU_IS_DEV_STRING ""</span></div> <div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span><span class="preprocessor">#endif</span></div> <div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span> </div> <div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> </div> <div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span><span class="preprocessor">#ifndef APU_STRINGIFY</span></div> <div class="line"><a id="l00087" name="l00087"></a><span class="lineno"><a class="line" href="apu__version_8h.html#a18a778c91b4b029e21691b9f0fa85284"> 87</a></span><span class="preprocessor">#define APU_STRINGIFY(n) APU_STRINGIFY_HELPER(n)</span></div> <div class="line"><a id="l00089" name="l00089"></a><span class="lineno"><a class="line" href="apu__version_8h.html#aa2936265eef0c753fe6fe8ea9c81eec2"> 89</a></span><span class="preprocessor">#define APU_STRINGIFY_HELPER(n) #n</span></div> <div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span><span class="preprocessor">#endif</span></div> <div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> </div> <div class="line"><a id="l00093" name="l00093"></a><span class="lineno"><a class="line" href="apu__version_8h.html#a10c7d040b89f2aa014a57d574e5db3d1"> 93</a></span><span class="preprocessor">#define APU_VERSION_STRING \</span></div> <div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span><span class="preprocessor"> APU_STRINGIFY(APU_MAJOR_VERSION) "."</span> \</div> <div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span> APU_STRINGIFY(APU_MINOR_VERSION) "." \</div> <div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> APU_STRINGIFY(APU_PATCH_VERSION) \</div> <div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span> APU_IS_DEV_STRING</div> <div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> </div> <div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span><span class="comment">/* macro for Win32 .rc files using numeric csv representation */</span></div> <div class="line"><a id="l00101" name="l00101"></a><span class="lineno"><a class="line" href="apu__version_8h.html#a0442a908106268fe88603f2c56388302"> 101</a></span><span class="preprocessor">#define APU_VERSION_STRING_CSV APU_MAJOR_VERSION ##, \</span></div> <div class="line"><a id="l00102" name="l00102"></a><span class="lineno"> 102</span><span class="preprocessor"> ##APU_MINOR_VERSION ##, \</span></div> <div class="line"><a id="l00103" name="l00103"></a><span class="lineno"> 103</span><span class="preprocessor"> ##APU_PATCH_VERSION</span></div> <div class="line"><a id="l00104" name="l00104"></a><span class="lineno"> 104</span> </div> <div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span> </div> <div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span><span class="preprocessor">#ifndef APU_VERSION_ONLY</span></div> <div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span> </div> <div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span><span class="comment">/* The C language API to access the version at run time, </span></div> <div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span><span class="comment"> * as opposed to compile time. APU_VERSION_ONLY may be defined </span></div> <div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span><span class="comment"> * externally when preprocessing apr_version.h to obtain strictly </span></div> <div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span><span class="comment"> * the C Preprocessor macro declarations.</span></div> <div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span><span class="comment"> */</span></div> <div class="line"><a id="l00113" name="l00113"></a><span class="lineno"> 113</span> </div> <div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span><span class="preprocessor">#include "apr_version.h"</span></div> <div class="line"><a id="l00115" name="l00115"></a><span class="lineno"> 115</span> </div> <div class="line"><a id="l00116" name="l00116"></a><span class="lineno"> 116</span><span class="preprocessor">#include "apu.h"</span></div> <div class="line"><a id="l00117" name="l00117"></a><span class="lineno"> 117</span> </div> <div class="line"><a id="l00118" name="l00118"></a><span class="lineno"> 118</span><span class="preprocessor">#ifdef __cplusplus</span></div> <div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div> <div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span><span class="preprocessor">#endif</span></div> <div class="line"><a id="l00121" name="l00121"></a><span class="lineno"> 121</span> </div> <div class="line"><a id="l00128" name="l00128"></a><span class="lineno"><a class="line" href="apu__version_8h.html#a14cce37b5ee21096fc4307e7374a4970"> 128</a></span>APU_DECLARE(<span class="keywordtype">void</span>) <a class="code hl_function" href="apu__version_8h.html#a14cce37b5ee21096fc4307e7374a4970">apu_version</a>(apr_version_t *pvsn);</div> <div class="line"><a id="l00129" name="l00129"></a><span class="lineno"> 129</span> </div> <div class="line"><a id="l00131" name="l00131"></a><span class="lineno"><a class="line" href="apu__version_8h.html#a7f27fdc423d7c9d807aae707ad5dd7ae"> 131</a></span>APU_DECLARE(<span class="keyword">const</span> <span class="keywordtype">char</span> *) <a class="code hl_function" href="apu__version_8h.html#a7f27fdc423d7c9d807aae707ad5dd7ae">apu_version_string</a>(<span class="keywordtype">void</span>);</div> <div class="line"><a id="l00132" name="l00132"></a><span class="lineno"> 132</span> </div> <div class="line"><a id="l00133" name="l00133"></a><span class="lineno"> 133</span><span class="preprocessor">#ifdef __cplusplus</span></div> <div class="line"><a id="l00134" name="l00134"></a><span class="lineno"> 134</span>}</div> <div class="line"><a id="l00135" name="l00135"></a><span class="lineno"> 135</span><span class="preprocessor">#endif</span></div> <div class="line"><a id="l00136" name="l00136"></a><span class="lineno"> 136</span> </div> <div class="line"><a id="l00137" name="l00137"></a><span class="lineno"> 137</span><span class="preprocessor">#endif </span><span class="comment">/* ndef APU_VERSION_ONLY */</span><span class="preprocessor"></span></div> <div class="line"><a id="l00138" name="l00138"></a><span class="lineno"> 138</span> </div> <div class="line"><a id="l00139" name="l00139"></a><span class="lineno"> 139</span><span class="preprocessor">#endif </span><span class="comment">/* ndef APU_VERSION_H */</span><span class="preprocessor"></span></div> <div class="ttc" id="aapu__version_8h_html_a14cce37b5ee21096fc4307e7374a4970"><div class="ttname"><a href="apu__version_8h.html#a14cce37b5ee21096fc4307e7374a4970">apu_version</a></div><div class="ttdeci">void apu_version(apr_version_t *pvsn)</div></div> <div class="ttc" id="aapu__version_8h_html_a7f27fdc423d7c9d807aae707ad5dd7ae"><div class="ttname"><a href="apu__version_8h.html#a7f27fdc423d7c9d807aae707ad5dd7ae">apu_version_string</a></div><div class="ttdeci">const char * apu_version_string(void)</div></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4 </small></address> </body> </html>