<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>Apache Portable Runtime: apr_inherit.h Source File</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.9.1 --> <div class="qindex"><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></div> <div class="nav"> <a class="el" href="dir_000000.html">home</a> / <a class="el" href="dir_000001.html">oden</a> / <a class="el" href="dir_000002.html">RPM</a> / <a class="el" href="dir_000003.html">BUILD</a> / <a class="el" href="dir_000004.html">apr-1.1.1</a> / <a class="el" href="dir_000005.html">include</a></div> <h1>apr_inherit.h</h1><a href="apr__inherit_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment">00001 <span class="comment">/* Copyright 2000-2004 The Apache Software Foundation</span> 00002 <span class="comment"> *</span> 00003 <span class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</span> 00004 <span class="comment"> * you may not use this file except in compliance with the License.</span> 00005 <span class="comment"> * You may obtain a copy of the License at</span> 00006 <span class="comment"> *</span> 00007 <span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span> 00008 <span class="comment"> *</span> 00009 <span class="comment"> * Unless required by applicable law or agreed to in writing, software</span> 00010 <span class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</span> 00011 <span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span> 00012 <span class="comment"> * See the License for the specific language governing permissions and</span> 00013 <span class="comment"> * limitations under the License.</span> 00014 <span class="comment"> */</span> 00015 00016 <span class="preprocessor">#ifndef APR_INHERIT_H</span> 00017 <span class="preprocessor"></span><span class="preprocessor">#define APR_INHERIT_H</span> 00018 <span class="preprocessor"></span><span class="comment"></span> 00019 <span class="comment">/**</span> 00020 <span class="comment"> * @file apr_inherit.h </span> 00021 <span class="comment"> * @brief APR File Handle Inheritance Helpers</span> 00022 <span class="comment"> * @remark This internal header includes internal declaration helpers </span> 00023 <span class="comment"> * for other headers to declare apr_foo_inherit_[un]set functions.</span> 00024 <span class="comment"> */</span> 00025 <span class="comment"></span> 00026 <span class="comment">/**</span> 00027 <span class="comment"> * Prototype for type-specific declarations of apr_foo_inherit_set </span> 00028 <span class="comment"> * functions. </span> 00029 <span class="comment"> * @remark Doxygen unwraps this macro (via doxygen.conf) to provide </span> 00030 <span class="comment"> * actual help for each specific occurance of apr_foo_inherit_set.</span> 00031 <span class="comment"> * @remark the linkage is specified for APR. It would be possible to expand</span> 00032 <span class="comment"> * the macros to support other linkages.</span> 00033 <span class="comment"> */</span> <a name="l00034"></a><a class="code" href="apr__inherit_8h.html#a0">00034</a> <span class="preprocessor">#define APR_DECLARE_INHERIT_SET(type) \</span> 00035 <span class="preprocessor"> APR_DECLARE(apr_status_t) apr_##type##_inherit_set( \</span> 00036 <span class="preprocessor"> apr_##type##_t *the##type)</span> 00037 <span class="preprocessor"></span><span class="comment"></span> 00038 <span class="comment">/**</span> 00039 <span class="comment"> * Prototype for type-specific declarations of apr_foo_inherit_unset </span> 00040 <span class="comment"> * functions. </span> 00041 <span class="comment"> * @remark Doxygen unwraps this macro (via doxygen.conf) to provide </span> 00042 <span class="comment"> * actual help for each specific occurance of apr_foo_inherit_unset.</span> 00043 <span class="comment"> * @remark the linkage is specified for APR. It would be possible to expand</span> 00044 <span class="comment"> * the macros to support other linkages.</span> 00045 <span class="comment"> */</span> <a name="l00046"></a><a class="code" href="apr__inherit_8h.html#a1">00046</a> <span class="preprocessor">#define APR_DECLARE_INHERIT_UNSET(type) \</span> 00047 <span class="preprocessor"> APR_DECLARE(apr_status_t) apr_##type##_inherit_unset( \</span> 00048 <span class="preprocessor"> apr_##type##_t *the##type)</span> 00049 <span class="preprocessor"></span> 00050 <span class="preprocessor">#endif </span><span class="comment">/* ! APR_INHERIT_H */</span> </pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Mar 20 19:52:26 2005 for Apache Portable Runtime by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.3.9.1 </small></address> </body> </html>