<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>apreq_version.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<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="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> </center>
<hr><h1>apreq_version.h</h1><a href="apreq__version_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/* ====================================================================</span>
00002 <span class="comment"> * The Apache Software License, Version 1.1</span>
00003 <span class="comment"> *</span>
00004 <span class="comment"> * Copyright (c) 2000-2003 The Apache Software Foundation. All rights</span>
00005 <span class="comment"> * reserved.</span>
00006 <span class="comment"> *</span>
00007 <span class="comment"> * Redistribution and use in source and binary forms, with or without</span>
00008 <span class="comment"> * modification, are permitted provided that the following conditions</span>
00009 <span class="comment"> * are met:</span>
00010 <span class="comment"> *</span>
00011 <span class="comment"> * 1. Redistributions of source code must retain the above copyright</span>
00012 <span class="comment"> * notice, this list of conditions and the following disclaimer.</span>
00013 <span class="comment"> *</span>
00014 <span class="comment"> * 2. Redistributions in binary form must reproduce the above copyright</span>
00015 <span class="comment"> * notice, this list of conditions and the following disclaimer in</span>
00016 <span class="comment"> * the documentation and/or other materials provided with the</span>
00017 <span class="comment"> * distribution.</span>
00018 <span class="comment"> *</span>
00019 <span class="comment"> * 3. The end-user documentation included with the redistribution,</span>
00020 <span class="comment"> * if any, must include the following acknowledgment:</span>
00021 <span class="comment"> * "This product includes software developed by the</span>
00023 <span class="comment"> * Alternately, this acknowledgment may appear in the software itself,</span>
00024 <span class="comment"> * if and wherever such third-party acknowledgments normally appear.</span>
00025 <span class="comment"> *</span>
00026 <span class="comment"> * 4. The names "Apache" and "Apache Software Foundation" must</span>
00027 <span class="comment"> * not be used to endorse or promote products derived from this</span>
00028 <span class="comment"> * software without prior written permission. For written</span>
00029 <span class="comment"> * permission, please contact apache@apache.org.</span>
00030 <span class="comment"> *</span>
00031 <span class="comment"> * 5. Products derived from this software may not be called "Apache",</span>
00032 <span class="comment"> * nor may "Apache" appear in their name, without prior written</span>
00033 <span class="comment"> * permission of the Apache Software Foundation.</span>
00034 <span class="comment"> *</span>
00035 <span class="comment"> * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED</span>
00036 <span class="comment"> * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES</span>
00037 <span class="comment"> * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE</span>
00038 <span class="comment"> * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR</span>
00039 <span class="comment"> * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,</span>
00040 <span class="comment"> * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT</span>
00041 <span class="comment"> * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF</span>
00042 <span class="comment"> * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND</span>
00043 <span class="comment"> * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,</span>
00044 <span class="comment"> * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT</span>
00045 <span class="comment"> * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF</span>
00046 <span class="comment"> * SUCH DAMAGE.</span>
00047 <span class="comment"> * ====================================================================</span>
00048 <span class="comment"> *</span>
00049 <span class="comment"> * This software consists of voluntary contributions made by many</span>
00050 <span class="comment"> * individuals on behalf of the Apache Software Foundation. For more</span>
00051 <span class="comment"> * information on the Apache Software Foundation, please see</span>
00053 <span class="comment"> */</span>
00054
00055 <span class="preprocessor">#ifndef APREQ_VERSION_H</span>
00056 <span class="preprocessor"></span><span class="preprocessor">#define APREQ_VERSION_H</span>
00057 <span class="preprocessor"></span>
00058 <span class="preprocessor">#ifdef __cplusplus</span>
00059 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> {
00060 <span class="preprocessor">#endif</span>
00061 <span class="preprocessor"></span>
00062 <span class="preprocessor">#include "<a class="code" href="apreq_8h.html">apreq.h</a>"</span>
00064
00083 <span class="comment">/* The numeric compile-time version constants. These constants are the</span>
00084 <span class="comment"> * authoritative version numbers for libapreq. </span>
00085 <span class="comment"> */</span>
00086
<a name="l00092"></a><a class="code" href="apreq__version_8h.html#a0">00092</a> <span class="preprocessor">#define APREQ_MAJOR_VERSION 2</span>
00093 <span class="preprocessor"></span>
<a name="l00098"></a><a class="code" href="apreq__version_8h.html#a1">00098</a> <span class="preprocessor">#define APREQ_MINOR_VERSION 0</span>
00099 <span class="preprocessor"></span>
<a name="l00101"></a><a class="code" href="apreq__version_8h.html#a2">00101</a> <span class="preprocessor">#define APREQ_PATCH_VERSION 1</span>
00102 <span class="preprocessor"></span>
<a name="l00107"></a><a class="code" href="apreq__version_8h.html#a3">00107</a> <span class="preprocessor">#define APREQ_IS_DEV_VERSION</span>
00108 <span class="preprocessor"></span>
00109
<a name="l00111"></a><a class="code" href="apreq__version_8h.html#a4">00111</a> <span class="preprocessor">#define APREQ_VERSION_STRING \</span>
00112 <span class="preprocessor"> APR_STRINGIFY(APREQ_MAJOR_VERSION) "." \</span>
00113 <span class="preprocessor"> APR_STRINGIFY(APREQ_MINOR_VERSION) "." \</span>
00114 <span class="preprocessor"> APR_STRINGIFY(APREQ_PATCH_VERSION) \</span>
00115 <span class="preprocessor"> APREQ_IS_DEV_STRING</span>
00116 <span class="preprocessor"></span>
00124
00126 APREQ_DECLARE(<span class="keyword">const</span> <span class="keywordtype">char</span> *) apreq_version_string(<span class="keywordtype">void</span>);
00127
00128
00130 <span class="preprocessor">#ifdef APREQ_IS_DEV_VERSION</span>
<a name="l00131"></a><a class="code" href="apreq__version_8h.html#a5">00131</a> <span class="preprocessor"></span><span class="preprocessor">#define APREQ_IS_DEV_STRING "-dev"</span>
00132 <span class="preprocessor"></span><span class="preprocessor">#else</span>
00133 <span class="preprocessor"></span><span class="preprocessor">#define APREQ_IS_DEV_STRING ""</span>
00134 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
00135 <span class="preprocessor"></span>
00136 <span class="preprocessor">#ifdef __cplusplus</span>
00137 <span class="preprocessor"></span>}
00138 <span class="preprocessor">#endif</span>
00139 <span class="preprocessor"></span>
00140 <span class="preprocessor">#endif </span><span class="comment">/* APREQ_VERSION_H */</span>
</pre></div><hr><address style="align: right;"><small>Generated on Mon Nov 10 20:12:44 2003 for libapreq2 by
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>