Sophie

Sophie

distrib > CentOS > 5 > x86_64 > by-pkgid > 67e32647b06c0323bf90c6b54a6438d1 > files > 102

rpm-apidocs-4.4.2.3-34.el5.x86_64.rpm

<!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>rpm: rpmio/fts.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.7 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</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 id="current"><a href="files.html"><span>Files</span></a></li>
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
  </ul></div>
<div class="tabs">
  <ul>
    <li><a href="files.html"><span>File&nbsp;List</span></a></li>
    <li><a href="globals.html"><span>Globals</span></a></li>
  </ul></div>
<h1>rpmio/fts.h</h1><a href="fts_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"> * Copyright (c) 1989, 1993</span>
<a name="l00003"></a>00003 <span class="comment"> *      The Regents of the University of California.  All rights reserved.</span>
<a name="l00004"></a>00004 <span class="comment"> *</span>
<a name="l00005"></a>00005 <span class="comment"> * Redistribution and use in source and binary forms, with or without</span>
<a name="l00006"></a>00006 <span class="comment"> * modification, are permitted provided that the following conditions</span>
<a name="l00007"></a>00007 <span class="comment"> * are met:</span>
<a name="l00008"></a>00008 <span class="comment"> * 1. Redistributions of source code must retain the above copyright</span>
<a name="l00009"></a>00009 <span class="comment"> *    notice, this list of conditions and the following disclaimer.</span>
<a name="l00010"></a>00010 <span class="comment"> * 2. Redistributions in binary form must reproduce the above copyright</span>
<a name="l00011"></a>00011 <span class="comment"> *    notice, this list of conditions and the following disclaimer in the</span>
<a name="l00012"></a>00012 <span class="comment"> *    documentation and/or other materials provided with the distribution.</span>
<a name="l00013"></a>00013 <span class="comment"> * 4. Neither the name of the University nor the names of its contributors</span>
<a name="l00014"></a>00014 <span class="comment"> *    may be used to endorse or promote products derived from this software</span>
<a name="l00015"></a>00015 <span class="comment"> *    without specific prior written permission.</span>
<a name="l00016"></a>00016 <span class="comment"> *</span>
<a name="l00017"></a>00017 <span class="comment"> * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND</span>
<a name="l00018"></a>00018 <span class="comment"> * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span>
<a name="l00019"></a>00019 <span class="comment"> * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span>
<a name="l00020"></a>00020 <span class="comment"> * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE</span>
<a name="l00021"></a>00021 <span class="comment"> * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL</span>
<a name="l00022"></a>00022 <span class="comment"> * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS</span>
<a name="l00023"></a>00023 <span class="comment"> * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)</span>
<a name="l00024"></a>00024 <span class="comment"> * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT</span>
<a name="l00025"></a>00025 <span class="comment"> * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY</span>
<a name="l00026"></a>00026 <span class="comment"> * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF</span>
<a name="l00027"></a>00027 <span class="comment"> * SUCH DAMAGE.</span>
<a name="l00028"></a>00028 <span class="comment"> *</span>
<a name="l00029"></a>00029 <span class="comment"> *      @(#)fts.h       8.3 (Berkeley) 8/14/94</span>
<a name="l00030"></a>00030 <span class="comment"> */</span>
<a name="l00031"></a>00031 
<a name="l00032"></a>00032 <span class="preprocessor">#ifndef _FTS_H</span>
<a name="l00033"></a><a class="code" href="fts_8h.html#37b9cc4851dcf0c5f7d41ecc383fb7ff">00033</a> <span class="preprocessor"></span><span class="preprocessor">#define _FTS_H 1</span>
<a name="l00034"></a>00034 <span class="preprocessor"></span>
<a name="l00035"></a>00035 <span class="preprocessor">#if defined(__GLIBC__)</span>
<a name="l00036"></a>00036 <span class="preprocessor"></span><span class="preprocessor">#include &lt;features.h&gt;</span>
<a name="l00037"></a>00037 <span class="preprocessor">#else</span>
<a name="l00038"></a>00038 <span class="preprocessor"></span>
<a name="l00039"></a><a class="code" href="fts_8h.html#826f90ea7631d4e162918be090a3a596">00039</a> <span class="preprocessor">#   define __THROW</span>
<a name="l00040"></a>00040 <span class="preprocessor"></span><span class="preprocessor">#ifdef  __cplusplus</span>
<a name="l00041"></a>00041 <span class="preprocessor"></span><span class="preprocessor"># define __BEGIN_DECLS  extern "C" {</span>
<a name="l00042"></a>00042 <span class="preprocessor"></span><span class="preprocessor"># define __END_DECLS    }</span>
<a name="l00043"></a>00043 <span class="preprocessor"></span><span class="preprocessor">#else</span>
<a name="l00044"></a><a class="code" href="fts_8h.html#568e6bde99652b7fd271ad206cfe38f5">00044</a> <span class="preprocessor"></span><span class="preprocessor"># define __BEGIN_DECLS</span>
<a name="l00045"></a><a class="code" href="fts_8h.html#115472f6d0d1035f1885658ce0821537">00045</a> <span class="preprocessor"></span><span class="preprocessor"># define __END_DECLS</span>
<a name="l00046"></a>00046 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00047"></a>00047 <span class="preprocessor"></span>
<a name="l00048"></a>00048 <span class="preprocessor">#if defined(hpux)</span>
<a name="l00049"></a>00049 <span class="preprocessor"></span><span class="preprocessor"># define _D_EXACT_NAMLEN(d) ((d)-&gt;d_namlen)</span>
<a name="l00050"></a>00050 <span class="preprocessor"></span><span class="preprocessor"># define        _INCLUDE_POSIX_SOURCE</span>
<a name="l00051"></a>00051 <span class="preprocessor"></span><span class="preprocessor"># define        _LARGEFILE64_SOURCE</span>
<a name="l00052"></a>00052 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00053"></a>00053 <span class="preprocessor"></span>
<a name="l00054"></a>00054 <span class="preprocessor">#if defined(sun)</span>
<a name="l00055"></a>00055 <span class="preprocessor"></span><span class="preprocessor"># define _D_EXACT_NAMLEN(d) ((d)-&gt;d_reclen)</span>
<a name="l00056"></a>00056 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00057"></a>00057 <span class="preprocessor"></span>
<a name="l00058"></a>00058 <span class="preprocessor">#if defined(__APPLE__)</span>
<a name="l00059"></a>00059 <span class="preprocessor"></span><span class="preprocessor"># define _D_EXACT_NAMLEN(d) (strlen((d)-&gt;d_name))</span>
<a name="l00060"></a>00060 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00061"></a>00061 <span class="preprocessor"></span>
<a name="l00062"></a>00062 <span class="preprocessor">#endif</span>
<a name="l00063"></a>00063 <span class="preprocessor"></span>
<a name="l00064"></a>00064 <span class="preprocessor">#include &lt;sys/types.h&gt;</span>
<a name="l00065"></a>00065 <span class="preprocessor">#include &lt;sys/stat.h&gt;</span>
<a name="l00066"></a>00066 <span class="preprocessor">#include &lt;dirent.h&gt;</span>
<a name="l00067"></a>00067 
<a name="l00068"></a><a class="code" href="structFTS.html">00068</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>{
<a name="l00069"></a>00069 <span class="comment">/*@owned@*/</span> <span class="comment">/*@relnull@*/</span>
<a name="l00070"></a><a class="code" href="structFTS.html#08ecc2deb063af1798129d9313546826">00070</a>         <span class="keyword">struct </span><a class="code" href="struct__ftsent.html">_ftsent</a> *fts_cur;        
<a name="l00071"></a>00071 <span class="comment">/*@owned@*/</span> <span class="comment">/*@null@*/</span>
<a name="l00072"></a><a class="code" href="structFTS.html#9f171b866eb11d48d7da97257745fc13">00072</a>         <span class="keyword">struct </span><a class="code" href="struct__ftsent.html">_ftsent</a> *fts_child;      
<a name="l00073"></a>00073 <span class="comment">/*@owned@*/</span> <span class="comment">/*@null@*/</span>
<a name="l00074"></a><a class="code" href="structFTS.html#53df707bc19d57beb6e62bc367926d06">00074</a>         <span class="keyword">struct </span><a class="code" href="struct__ftsent.html">_ftsent</a> **fts_array;     
<a name="l00075"></a><a class="code" href="structFTS.html#a3c11f29f2bbc6b9e94210d64c3b4186">00075</a>         dev_t <a class="code" href="struct__ftsent.html#10be9fd397d6c028092ff401ec353962">fts_dev</a>;                  
<a name="l00076"></a>00076 <span class="comment">/*@owned@*/</span> <span class="comment">/*@relnull@*/</span>
<a name="l00077"></a><a class="code" href="structFTS.html#d926a226b225fc21c7808f880649be5d">00077</a>         <span class="keywordtype">char</span> *<a class="code" href="struct__ftsent.html#82d9a0e5a5338c6d4c56e3277a504c0f">fts_path</a>;                 
<a name="l00078"></a><a class="code" href="structFTS.html#3a5fc5f85de1c28beaed4c39d7679412">00078</a>         <span class="keywordtype">int</span> fts_rfd;                    
<a name="l00079"></a><a class="code" href="structFTS.html#ea68b3302cc8e8256ec5799432a3752b">00079</a>         <span class="keywordtype">int</span> <a class="code" href="struct__ftsent.html#8f8f87adba13caef5a8eba1e5a2755dd">fts_pathlen</a>;                
<a name="l00080"></a><a class="code" href="structFTS.html#fc2dc8df41ca182f85489dfe4ce38c4d">00080</a>         <span class="keywordtype">int</span> fts_nitems;                 
<a name="l00081"></a>00081 <span class="comment">/*@null@*/</span>
<a name="l00082"></a>00082         int (*fts_compar) (<span class="keyword">const</span> <span class="keywordtype">void</span> *, <span class="keyword">const</span> <span class="keywordtype">void</span> *)
<a name="l00083"></a>00083                 <span class="comment">/*@*/</span>;                  
<a name="l00085"></a>00085         DIR * (*fts_opendir) (<span class="keyword">const</span> <span class="keywordtype">char</span> * path)
<a name="l00086"></a>00086                 <span class="comment">/*@globals fileSystem @*/</span>
<a name="l00087"></a>00087                 <span class="comment">/*@modifies fileSystem @*/</span>;
<a name="l00088"></a>00088         <span class="keyword">struct </span><a class="code" href="system_8h.html#89957e9be80ef12a50eb4eca72ecd888">dirent</a> * (*fts_readdir) (DIR * dir)
<a name="l00089"></a>00089                 <span class="comment">/*@globals fileSystem @*/</span>
<a name="l00090"></a>00090                 <span class="comment">/*@modifies *dir, fileSystem @*/</span>;
<a name="l00091"></a>00091         int (*fts_closedir) (<span class="comment">/*@only@*/</span> DIR * dir)
<a name="l00092"></a>00092                 <span class="comment">/*@globals fileSystem @*/</span>
<a name="l00093"></a>00093                 <span class="comment">/*@modifies *dir, fileSystem @*/</span>;
<a name="l00094"></a>00094         int (*<a class="code" href="fts_8c.html#4ad26e213903bb96ff0bf62a9b5e3d2a">fts_stat</a>) (<span class="keyword">const</span> <span class="keywordtype">char</span> * path, <span class="comment">/*@out@*/</span> <span class="keyword">struct </span>stat * st)
<a name="l00095"></a>00095                 <span class="comment">/*@globals fileSystem @*/</span>
<a name="l00096"></a>00096                 <span class="comment">/*@modifies *st, fileSystem @*/</span>;
<a name="l00097"></a>00097         int (*fts_lstat) (<span class="keyword">const</span> <span class="keywordtype">char</span> * path, <span class="comment">/*@out@*/</span> <span class="keyword">struct </span>stat * st)
<a name="l00098"></a>00098                 <span class="comment">/*@globals fileSystem @*/</span>
<a name="l00099"></a>00099                 <span class="comment">/*@modifies *st, fileSystem @*/</span>;
<a name="l00100"></a>00100 
<a name="l00101"></a><a class="code" href="fts_8h.html#8c3acc9a5caaef04ae2ed7bf9f8aa557">00101</a> <span class="preprocessor">#define FTS_COMFOLLOW   0x0001          </span><span class="comment">/* follow command line symlinks */</span>
<a name="l00102"></a><a class="code" href="fts_8h.html#5ab8a9dea198bcc07557ce96d2da1d7c">00102</a> <span class="preprocessor">#define FTS_LOGICAL     0x0002          </span><span class="comment">/* logical walk */</span>
<a name="l00103"></a><a class="code" href="fts_8h.html#204642f4e0e309da7f21872b1210f6c5">00103</a> <span class="preprocessor">#define FTS_NOCHDIR     0x0004          </span><span class="comment">/* don't change directories */</span>
<a name="l00104"></a><a class="code" href="fts_8h.html#aee71f132445411a1560cab770163db7">00104</a> <span class="preprocessor">#define FTS_NOSTAT      0x0008          </span><span class="comment">/* don't get stat info */</span>
<a name="l00105"></a><a class="code" href="fts_8h.html#f5730bf8b4cf11de7aa81ba747b9fc61">00105</a> <span class="preprocessor">#define FTS_PHYSICAL    0x0010          </span><span class="comment">/* physical walk */</span>
<a name="l00106"></a><a class="code" href="fts_8h.html#feaf3b5ac823e983ba33c18e587528ae">00106</a> <span class="preprocessor">#define FTS_SEEDOT      0x0020          </span><span class="comment">/* return dot and dot-dot */</span>
<a name="l00107"></a><a class="code" href="fts_8h.html#348fe922265df7b8ee3644ccece8d76f">00107</a> <span class="preprocessor">#define FTS_XDEV        0x0040          </span><span class="comment">/* don't cross devices */</span>
<a name="l00108"></a><a class="code" href="fts_8h.html#90972c635e6ed45c6154460e12f0ec2b">00108</a> <span class="preprocessor">#define FTS_WHITEOUT    0x0080          </span><span class="comment">/* return whiteout information */</span>
<a name="l00109"></a><a class="code" href="fts_8h.html#d45acf3da4b11ccec7c120f99c899182">00109</a> <span class="preprocessor">#define FTS_OPTIONMASK  0x00ff          </span><span class="comment">/* valid user option mask */</span>
<a name="l00110"></a>00110 
<a name="l00111"></a><a class="code" href="fts_8h.html#99a6f00952cfa432bcb84f1c7076b67f">00111</a> <span class="preprocessor">#define FTS_NAMEONLY    0x0100          </span><span class="comment">/* (private) child names only */</span>
<a name="l00112"></a><a class="code" href="fts_8h.html#c0dafe5eef7ebe7076973b7c551403c1">00112</a> <span class="preprocessor">#define FTS_STOP        0x0200          </span><span class="comment">/* (private) unrecoverable error */</span>
<a name="l00113"></a><a class="code" href="structFTS.html#b92db932926b32e5f727745c8e9fb26d">00113</a>         <span class="keywordtype">int</span> fts_options;                
<a name="l00114"></a>00114 } <a class="code" href="structFTS.html">FTS</a>;
<a name="l00115"></a>00115 
<a name="l00116"></a><a class="code" href="struct__ftsent.html">00116</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="struct__ftsent.html">_ftsent</a> {
<a name="l00117"></a>00117 <span class="comment">/*@dependent@*/</span>
<a name="l00118"></a><a class="code" href="struct__ftsent.html#98c3abfdddac7cce1209b813073f9c22">00118</a>         <span class="keyword">struct </span><a class="code" href="struct__ftsent.html">_ftsent</a> *<a class="code" href="struct__ftsent.html#98c3abfdddac7cce1209b813073f9c22">fts_cycle</a>;      
<a name="l00119"></a>00119 <span class="comment">/*@dependent@*/</span> <span class="comment">/*@relnull@*/</span>
<a name="l00120"></a><a class="code" href="struct__ftsent.html#59a69daf4545cd4ef908c6f4f0939c4e">00120</a>         <span class="keyword">struct </span><a class="code" href="struct__ftsent.html">_ftsent</a> *<a class="code" href="struct__ftsent.html#59a69daf4545cd4ef908c6f4f0939c4e">fts_parent</a>;     
<a name="l00121"></a>00121 <span class="comment">/*@dependent@*/</span> <span class="comment">/*@null@*/</span>
<a name="l00122"></a><a class="code" href="struct__ftsent.html#387a9c3a2f1a485f774d67fcf5921ccc">00122</a>         <span class="keyword">struct </span><a class="code" href="struct__ftsent.html">_ftsent</a> *<a class="code" href="struct__ftsent.html#387a9c3a2f1a485f774d67fcf5921ccc">fts_link</a>;       
<a name="l00123"></a><a class="code" href="struct__ftsent.html#1343b8378df80345ae70f42c00ade3c0">00123</a>         <span class="keywordtype">long</span> <a class="code" href="struct__ftsent.html#1343b8378df80345ae70f42c00ade3c0">fts_number</a>;                
<a name="l00124"></a>00124 <span class="comment">/*@null@*/</span>
<a name="l00125"></a><a class="code" href="struct__ftsent.html#daac24ba63251611206460e5d26c57fd">00125</a>         <span class="keywordtype">void</span> *<a class="code" href="struct__ftsent.html#daac24ba63251611206460e5d26c57fd">fts_pointer</a>;              
<a name="l00126"></a>00126 <span class="comment">/*@dependent@*/</span>
<a name="l00127"></a><a class="code" href="struct__ftsent.html#0c8d43f657bdf9f7c9519918d4d2650a">00127</a>         <span class="keywordtype">char</span> *<a class="code" href="struct__ftsent.html#0c8d43f657bdf9f7c9519918d4d2650a">fts_accpath</a>;              
<a name="l00128"></a>00128 <span class="comment">/*@dependent@*/</span>
<a name="l00129"></a><a class="code" href="struct__ftsent.html#82d9a0e5a5338c6d4c56e3277a504c0f">00129</a>         <span class="keywordtype">char</span> *<a class="code" href="struct__ftsent.html#82d9a0e5a5338c6d4c56e3277a504c0f">fts_path</a>;                 
<a name="l00130"></a><a class="code" href="struct__ftsent.html#cf923006d8c134110dab91dd49a40f0b">00130</a>         <span class="keywordtype">int</span> <a class="code" href="struct__ftsent.html#cf923006d8c134110dab91dd49a40f0b">fts_errno</a>;                  
<a name="l00131"></a><a class="code" href="struct__ftsent.html#d4a0d42bc311d6f0563c9accd96e88ef">00131</a>         <span class="keywordtype">int</span> <a class="code" href="struct__ftsent.html#d4a0d42bc311d6f0563c9accd96e88ef">fts_symfd</a>;                  
<a name="l00132"></a><a class="code" href="struct__ftsent.html#8f8f87adba13caef5a8eba1e5a2755dd">00132</a>         u_short <a class="code" href="struct__ftsent.html#8f8f87adba13caef5a8eba1e5a2755dd">fts_pathlen</a>;            
<a name="l00133"></a><a class="code" href="struct__ftsent.html#59ef479bbefa254719b6c023d75d6f88">00133</a>         u_short <a class="code" href="struct__ftsent.html#59ef479bbefa254719b6c023d75d6f88">fts_namelen</a>;            
<a name="l00135"></a><a class="code" href="struct__ftsent.html#6df010d03f74d0e955d910172810e1fb">00135</a>         ino_t <a class="code" href="struct__ftsent.html#6df010d03f74d0e955d910172810e1fb">fts_ino</a>;                  
<a name="l00136"></a><a class="code" href="struct__ftsent.html#10be9fd397d6c028092ff401ec353962">00136</a>         dev_t <a class="code" href="struct__ftsent.html#10be9fd397d6c028092ff401ec353962">fts_dev</a>;                  
<a name="l00137"></a><a class="code" href="struct__ftsent.html#2fbfd33440b4c9c861fed6e84724f946">00137</a>         nlink_t <a class="code" href="struct__ftsent.html#2fbfd33440b4c9c861fed6e84724f946">fts_nlink</a>;              
<a name="l00139"></a><a class="code" href="fts_8h.html#60046e2536de3866e62c8acbd9037df4">00139</a> <span class="preprocessor">#define FTS_ROOTPARENTLEVEL     -1</span>
<a name="l00140"></a><a class="code" href="fts_8h.html#8788dcac5311025cbcab2d125560e8d0">00140</a> <span class="preprocessor"></span><span class="preprocessor">#define FTS_ROOTLEVEL            0</span>
<a name="l00141"></a><a class="code" href="struct__ftsent.html#43f7f9264e38d10e4281c9a81fca4b00">00141</a> <span class="preprocessor"></span>        <span class="keywordtype">short</span> <a class="code" href="struct__ftsent.html#43f7f9264e38d10e4281c9a81fca4b00">fts_level</a>;                
<a name="l00143"></a><a class="code" href="fts_8h.html#f4c036f6c2c496d10eb448185e6b742c">00143</a> <span class="preprocessor">#define FTS_D            1              </span><span class="comment">/* preorder directory */</span>
<a name="l00144"></a><a class="code" href="fts_8h.html#82a80c94b98ffd99a8d6d211d78a159b">00144</a> <span class="preprocessor">#define FTS_DC           2              </span><span class="comment">/* directory that causes cycles */</span>
<a name="l00145"></a><a class="code" href="fts_8h.html#9e6779479cf70be0e03d6bdbc2c58bba">00145</a> <span class="preprocessor">#define FTS_DEFAULT      3              </span><span class="comment">/* none of the above */</span>
<a name="l00146"></a><a class="code" href="fts_8h.html#2c468943f59a8b559450549ccd7c1e85">00146</a> <span class="preprocessor">#define FTS_DNR          4              </span><span class="comment">/* unreadable directory */</span>
<a name="l00147"></a><a class="code" href="fts_8h.html#6b98dfb4284db62c3ab033cbf9a396a7">00147</a> <span class="preprocessor">#define FTS_DOT          5              </span><span class="comment">/* dot or dot-dot */</span>
<a name="l00148"></a><a class="code" href="fts_8h.html#fb970531803a5c7801db52c1afac1896">00148</a> <span class="preprocessor">#define FTS_DP           6              </span><span class="comment">/* postorder directory */</span>
<a name="l00149"></a><a class="code" href="fts_8h.html#1b9c272d81dbfdd930c830cea83300ff">00149</a> <span class="preprocessor">#define FTS_ERR          7              </span><span class="comment">/* error; errno is set */</span>
<a name="l00150"></a><a class="code" href="fts_8h.html#74240d3b1c61908396b8f69c4bbe0af3">00150</a> <span class="preprocessor">#define FTS_F            8              </span><span class="comment">/* regular file */</span>
<a name="l00151"></a><a class="code" href="fts_8h.html#969607de89d1d4189949de6c3c42506a">00151</a> <span class="preprocessor">#define FTS_INIT         9              </span><span class="comment">/* initialized only */</span>
<a name="l00152"></a><a class="code" href="fts_8h.html#ffe726683190108aee1043dbdeb31cff">00152</a> <span class="preprocessor">#define FTS_NS          10              </span><span class="comment">/* stat(2) failed */</span>
<a name="l00153"></a><a class="code" href="fts_8h.html#d65d25d5cbb74e3439a52cb17eae4d3b">00153</a> <span class="preprocessor">#define FTS_NSOK        11              </span><span class="comment">/* no stat(2) requested */</span>
<a name="l00154"></a><a class="code" href="fts_8h.html#19d33cbd91e88a20fe1e007189165256">00154</a> <span class="preprocessor">#define FTS_SL          12              </span><span class="comment">/* symbolic link */</span>
<a name="l00155"></a><a class="code" href="fts_8h.html#90d2f83b39b79e208466a1640dff5101">00155</a> <span class="preprocessor">#define FTS_SLNONE      13              </span><span class="comment">/* symbolic link without target */</span>
<a name="l00156"></a><a class="code" href="fts_8h.html#7cd108162dd5c21a86331a60e5df2b3f">00156</a> <span class="preprocessor">#define FTS_W           14              </span><span class="comment">/* whiteout object */</span>
<a name="l00157"></a><a class="code" href="struct__ftsent.html#8055e14f39324a1dfc48a34095aa3578">00157</a>         u_short <a class="code" href="struct__ftsent.html#8055e14f39324a1dfc48a34095aa3578">fts_info</a>;               
<a name="l00159"></a><a class="code" href="fts_8h.html#9a54995d898abcb5574f07215c6461ea">00159</a> <span class="preprocessor">#define FTS_DONTCHDIR    0x01           </span><span class="comment">/* don't chdir .. to the parent */</span>
<a name="l00160"></a><a class="code" href="fts_8h.html#e35fa68a2aeae2d17abd05223b1f7eb4">00160</a> <span class="preprocessor">#define FTS_SYMFOLLOW    0x02           </span><span class="comment">/* followed a symlink to get here */</span>
<a name="l00161"></a><a class="code" href="struct__ftsent.html#d8a7665e5340b6bfeee7524aa11fd50f">00161</a>         u_short <a class="code" href="struct__ftsent.html#d8a7665e5340b6bfeee7524aa11fd50f">fts_flags</a>;              
<a name="l00163"></a><a class="code" href="fts_8h.html#c65cb3d0f4f62bf4dfd11801e141117b">00163</a> <span class="preprocessor">#define FTS_AGAIN        1              </span><span class="comment">/* read node again */</span>
<a name="l00164"></a><a class="code" href="fts_8h.html#ebfcaa72280af33a5e2986f49918e7b7">00164</a> <span class="preprocessor">#define FTS_FOLLOW       2              </span><span class="comment">/* follow symbolic link */</span>
<a name="l00165"></a><a class="code" href="fts_8h.html#da7f541389b4bdb2252b848fc247df0f">00165</a> <span class="preprocessor">#define FTS_NOINSTR      3              </span><span class="comment">/* no instructions */</span>
<a name="l00166"></a><a class="code" href="fts_8h.html#91a6fd042d9d5d5f9f6767aedd2b29fa">00166</a> <span class="preprocessor">#define FTS_SKIP         4              </span><span class="comment">/* discard node */</span>
<a name="l00167"></a><a class="code" href="struct__ftsent.html#8b8222cea281b2ee8f96f4338df6f6a8">00167</a>         u_short <a class="code" href="struct__ftsent.html#8b8222cea281b2ee8f96f4338df6f6a8">fts_instr</a>;              
<a name="l00169"></a>00169 <span class="comment">/*@dependent@*/</span>
<a name="l00170"></a><a class="code" href="struct__ftsent.html#a81677fcbeb7e899196ea00abcc244d8">00170</a>         <span class="keyword">struct </span>stat *<a class="code" href="struct__ftsent.html#a81677fcbeb7e899196ea00abcc244d8">fts_statp</a>;         
<a name="l00171"></a><a class="code" href="struct__ftsent.html#8b7354c236f5db6e0660f7a47649aca8">00171</a>         <span class="keywordtype">char</span> <a class="code" href="struct__ftsent.html#8b7354c236f5db6e0660f7a47649aca8">fts_name</a>[1];               
<a name="l00172"></a>00172 } <a class="code" href="struct__ftsent.html">FTSENT</a>;
<a name="l00173"></a>00173 
<a name="l00174"></a>00174 <a class="code" href="fts_8h.html#568e6bde99652b7fd271ad206cfe38f5">__BEGIN_DECLS</a>
<a name="l00175"></a>00175 
<a name="l00182"></a>00182 <span class="comment">/*@dependent@*/</span> <span class="comment">/*@null@*/</span>
<a name="l00183"></a>00183 <a class="code" href="struct__ftsent.html">FTSENT</a>  *<a class="code" href="fts_8c.html#86870433fd4b1d2e2379b100b61b624d">Fts_children</a> (<a class="code" href="structFTS.html">FTS</a> * sp, <span class="keywordtype">int</span> instr) <a class="code" href="fts_8h.html#826f90ea7631d4e162918be090a3a596">__THROW</a>
<a name="l00184"></a>00184         <span class="comment">/*@globals fileSystem, internalState @*/</span>
<a name="l00185"></a>00185         <span class="comment">/*@modifies *sp, fileSystem, internalState @*/</span>;
<a name="l00186"></a>00186 
<a name="l00192"></a>00192 <span class="keywordtype">int</span>      <a class="code" href="fts_8c.html#121390ec451a52ec07e8a5a6a52e88ba">Fts_close</a> (<span class="comment">/*@only@*/</span> <span class="comment">/*@null@*/</span> <a class="code" href="structFTS.html">FTS</a> * sp) <a class="code" href="fts_8h.html#826f90ea7631d4e162918be090a3a596">__THROW</a>
<a name="l00193"></a>00193         <span class="comment">/*@globals fileSystem, internalState @*/</span>
<a name="l00194"></a>00194         <span class="comment">/*@modifies *sp, fileSystem, internalState @*/</span>;
<a name="l00195"></a>00195 
<a name="l00203"></a>00203 <span class="comment">/*@only@*/</span> <span class="comment">/*@null@*/</span>
<a name="l00204"></a>00204 <a class="code" href="structFTS.html">FTS</a>     *<a class="code" href="fts_8c.html#5674abdcab653c11431ffac22ead7d1e">Fts_open</a> (<span class="keywordtype">char</span> * <span class="keyword">const</span> * <a class="code" href="compress_8c.html#b233d58a2d9af13ae09ea8fd82556856">argv</a>, <span class="keywordtype">int</span> options,
<a name="l00205"></a>00205                    <span class="comment">/*@null@*/</span>
<a name="l00206"></a>00206                    <span class="keywordtype">int</span> (*compar) (<span class="keyword">const</span> <a class="code" href="struct__ftsent.html">FTSENT</a> **, <span class="keyword">const</span> FTSENT **)) <a class="code" href="fts_8h.html#826f90ea7631d4e162918be090a3a596">__THROW</a>
<a name="l00207"></a>00207         <span class="comment">/*@*/</span>;
<a name="l00208"></a>00208 
<a name="l00214"></a>00214 <span class="comment">/*@null@*/</span>
<a name="l00215"></a>00215 FTSENT  *<a class="code" href="fts_8c.html#8b39fe4d9f1609ddc0d9a46b2b5f9f0d">Fts_read</a> (<span class="comment">/*@null@*/</span> <a class="code" href="structFTS.html">FTS</a> * sp) <a class="code" href="fts_8h.html#826f90ea7631d4e162918be090a3a596">__THROW</a>
<a name="l00216"></a>00216         <span class="comment">/*@globals fileSystem, internalState @*/</span>
<a name="l00217"></a>00217         <span class="comment">/*@modifies *sp, fileSystem, internalState @*/</span>;
<a name="l00218"></a>00218 
<a name="l00226"></a>00226 <span class="keywordtype">int</span>      <a class="code" href="fts_8c.html#60d1224059c83c1350957e4c59f3c86a">Fts_set</a> (<a class="code" href="structFTS.html">FTS</a> * sp, FTSENT * p, <span class="keywordtype">int</span> instr) __THROW
<a name="l00227"></a>00227         <span class="comment">/*@modifies *p @*/</span>;
<a name="l00228"></a>00228 
<a name="l00229"></a>00229 <a class="code" href="fts_8h.html#115472f6d0d1035f1885658ce0821537">__END_DECLS</a>
<a name="l00230"></a>00230 
<a name="l00231"></a>00231 <span class="preprocessor">#endif </span><span class="comment">/* fts.h */</span>
</pre></div><hr size="1"><address style="align: right;"><small>Generated on 1 Oct 2013 for rpm by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
</body>
</html>