Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 4921009d9713f60c8e40a1553c853d51 > files > 36

libapreq2-devel-2.13-1.fc14.x86_64.rpm

<html>
<head>
  <link rel="stylesheet" type="text/css" href="dox.css" />
  <title>libapreq2-2.13: 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> &gt; <a href="http://httpd.apache.org">HTTP Server Project</a> &gt;
<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&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&nbsp;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>
<h1>include/apreq_version.h</h1><a href="apreq__version_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
<a name="l00002"></a>00002 <span class="comment">**  Licensed to the Apache Software Foundation (ASF) under one or more</span>
<a name="l00003"></a>00003 <span class="comment">** contributor license agreements.  See the NOTICE file distributed with</span>
<a name="l00004"></a>00004 <span class="comment">** this work for additional information regarding copyright ownership.</span>
<a name="l00005"></a>00005 <span class="comment">** The ASF licenses this file to You under the Apache License, Version 2.0</span>
<a name="l00006"></a>00006 <span class="comment">** (the "License"); you may not use this file except in compliance with</span>
<a name="l00007"></a>00007 <span class="comment">** the License.  You may obtain a copy of the License at</span>
<a name="l00008"></a>00008 <span class="comment">**</span>
<a name="l00009"></a>00009 <span class="comment">**      http://www.apache.org/licenses/LICENSE-2.0</span>
<a name="l00010"></a>00010 <span class="comment">**</span>
<a name="l00011"></a>00011 <span class="comment">**  Unless required by applicable law or agreed to in writing, software</span>
<a name="l00012"></a>00012 <span class="comment">**  distributed under the License is distributed on an "AS IS" BASIS,</span>
<a name="l00013"></a>00013 <span class="comment">**  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span>
<a name="l00014"></a>00014 <span class="comment">**  See the License for the specific language governing permissions and</span>
<a name="l00015"></a>00015 <span class="comment">**  limitations under the License.</span>
<a name="l00016"></a>00016 <span class="comment">*/</span>
<a name="l00017"></a>00017 
<a name="l00018"></a>00018 <span class="preprocessor">#ifndef APREQ_VERSION_H</span>
<a name="l00019"></a>00019 <span class="preprocessor"></span><span class="preprocessor">#define APREQ_VERSION_H</span>
<a name="l00020"></a>00020 <span class="preprocessor"></span>
<a name="l00021"></a>00021 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00022"></a>00022 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> {
<a name="l00023"></a>00023 <span class="preprocessor">#endif</span>
<a name="l00024"></a>00024 <span class="preprocessor"></span>
<a name="l00025"></a>00025 <span class="preprocessor">#include "<a class="codeRef" 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>"</span>
<a name="l00026"></a>00026 <span class="preprocessor">#include "<a class="code" href="apreq_8h.html" title="Main header file...Define the generic APREQ_ macros and common data structures.">apreq.h</a>"</span>
<a name="l00027"></a>00027 
<a name="l00047"></a>00047 <span class="comment">/* The numeric compile-time version constants. These constants are the</span>
<a name="l00048"></a>00048 <span class="comment"> * authoritative version numbers for libapreq.</span>
<a name="l00049"></a>00049 <span class="comment"> */</span>
<a name="l00050"></a>00050 
<a name="l00056"></a><a class="code" href="apreq__version_8h.html#7fb04b0c2a9da6237e235b845ee89f9a">00056</a> <span class="preprocessor">#define APREQ_MAJOR_VERSION       2</span>
<a name="l00057"></a>00057 <span class="preprocessor"></span>
<a name="l00062"></a><a class="code" href="apreq__version_8h.html#44bf530fbecff4ee7bcc0158784da0ff">00062</a> <span class="preprocessor">#define APREQ_MINOR_VERSION       8</span>
<a name="l00063"></a>00063 <span class="preprocessor"></span>
<a name="l00065"></a><a class="code" href="apreq__version_8h.html#365b89d742846921cb3619341e5eb266">00065</a> <span class="preprocessor">#define APREQ_PATCH_VERSION       0</span>
<a name="l00066"></a>00066 <span class="preprocessor"></span>
<a name="l00071"></a>00071 <span class="preprocessor">#undef APREQ_IS_DEV_VERSION</span>
<a name="l00072"></a>00072 <span class="preprocessor"></span>
<a name="l00073"></a>00073 
<a name="l00075"></a><a class="code" href="apreq__version_8h.html#dd82c8ea79b8cc142eeec45772d24fdb">00075</a> <span class="preprocessor">#define APREQ_VERSION_STRING \</span>
<a name="l00076"></a>00076 <span class="preprocessor">     APR_STRINGIFY(APREQ_MAJOR_VERSION) "." \</span>
<a name="l00077"></a>00077 <span class="preprocessor">     APR_STRINGIFY(APREQ_MINOR_VERSION) "." \</span>
<a name="l00078"></a>00078 <span class="preprocessor">     APR_STRINGIFY(APREQ_PATCH_VERSION) \</span>
<a name="l00079"></a>00079 <span class="preprocessor">     APREQ_IS_DEV_STRING</span>
<a name="l00080"></a>00080 <span class="preprocessor"></span>
<a name="l00087"></a>00087 <a class="code" href="apreq_8h.html#02bf89714a74397155a11b9ccb942b0d">APREQ_DECLARE</a>(<span class="keywordtype">void</span>) <a class="code" href="apreq__version_8h.html#8d20db97717fa1bad4f31c7f9a29594f">apreq_version</a>(<a class="codeRef" 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);
<a name="l00088"></a>00088 
<a name="l00090"></a>00090 <a class="code" href="apreq_8h.html#02bf89714a74397155a11b9ccb942b0d">APREQ_DECLARE</a>(const <span class="keywordtype">char</span> *) <a class="code" href="apreq__version_8h.html#663ea74082d9bbe18a0c15b66b8fddaa">apreq_version_string</a>(<span class="keywordtype">void</span>);
<a name="l00091"></a>00091 
<a name="l00092"></a>00092 
<a name="l00094"></a>00094 <span class="preprocessor">#ifdef APREQ_IS_DEV_VERSION</span>
<a name="l00095"></a>00095 <span class="preprocessor"></span><span class="preprocessor">#define APREQ_IS_DEV_STRING "-dev"</span>
<a name="l00096"></a>00096 <span class="preprocessor"></span><span class="preprocessor">#else</span>
<a name="l00097"></a><a class="code" href="apreq__version_8h.html#c9445f3e18e852cae2a91bd2a63394be">00097</a> <span class="preprocessor"></span><span class="preprocessor">#define APREQ_IS_DEV_STRING ""</span>
<a name="l00098"></a>00098 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00099"></a>00099 <span class="preprocessor"></span>
<a name="l00100"></a>00100 
<a name="l00101"></a>00101 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00102"></a>00102 <span class="preprocessor"></span>}
<a name="l00103"></a>00103 <span class="preprocessor">#endif</span>
<a name="l00104"></a>00104 <span class="preprocessor"></span>
<a name="l00105"></a>00105 <span class="preprocessor">#endif </span><span class="comment">/* APREQ_VERSION_H */</span>
</pre></div></div>
<div id="footer">
<p class="apache">
Copyright &copy; 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>