<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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"/> <title>Open SCAP Library: /home/pvrabec/project/openscap/openscap-0.7.4/src/OVAL/fts_sun.h Source File</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.7.4 --> <div id="top"> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">Open SCAP Library</div> </td> </tr> </tbody> </table> </div> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>Globals</span></a></li> </ul> </div> <div class="header"> <div class="headertitle"> <div class="title">/home/pvrabec/project/openscap/openscap-0.7.4/src/OVAL/fts_sun.h</div> </div> </div> <div class="contents"> <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">#include "config.h"</span> <a name="l00033"></a>00033 <a name="l00034"></a>00034 <span class="preprocessor">#if !defined(HAVE_FTS_OPEN)</span> <a name="l00035"></a>00035 <span class="preprocessor"></span> <a name="l00036"></a>00036 <span class="preprocessor">#ifndef _FTS_H</span> <a name="l00037"></a>00037 <span class="preprocessor"></span><span class="preprocessor">#define _FTS_H 1</span> <a name="l00038"></a>00038 <span class="preprocessor"></span> <a name="l00039"></a>00039 <a name="l00040"></a>00040 <span class="preprocessor">#if defined(__GLIBC__)</span> <a name="l00041"></a>00041 <span class="preprocessor"></span><span class="preprocessor">#include <features.h></span> <a name="l00042"></a>00042 <span class="preprocessor">#else</span> <a name="l00043"></a>00043 <span class="preprocessor"></span> <a name="l00044"></a>00044 <span class="preprocessor"># define __THROW</span> <a name="l00045"></a>00045 <span class="preprocessor"></span><span class="preprocessor">#ifdef __cplusplus</span> <a name="l00046"></a>00046 <span class="preprocessor"></span><span class="preprocessor"># define __BEGIN_DECLS extern "C" {</span> <a name="l00047"></a>00047 <span class="preprocessor"></span><span class="preprocessor"># define __END_DECLS }</span> <a name="l00048"></a>00048 <span class="preprocessor"></span><span class="preprocessor">#else</span> <a name="l00049"></a>00049 <span class="preprocessor"></span><span class="preprocessor"># define __BEGIN_DECLS</span> <a name="l00050"></a>00050 <span class="preprocessor"></span><span class="preprocessor"># define __END_DECLS</span> <a name="l00051"></a>00051 <span class="preprocessor"></span><span class="preprocessor">#endif</span> <a name="l00052"></a>00052 <span class="preprocessor"></span> <a name="l00053"></a>00053 <span class="preprocessor">#if defined(hpux)</span> <a name="l00054"></a>00054 <span class="preprocessor"></span><span class="preprocessor"># define _D_EXACT_NAMLEN(d) ((d)->d_namlen)</span> <a name="l00055"></a>00055 <span class="preprocessor"></span><span class="preprocessor"># define _INCLUDE_POSIX_SOURCE</span> <a name="l00056"></a>00056 <span class="preprocessor"></span><span class="preprocessor"># define _LARGEFILE64_SOURCE</span> <a name="l00057"></a>00057 <span class="preprocessor"></span><span class="preprocessor">#endif</span> <a name="l00058"></a>00058 <span class="preprocessor"></span> <a name="l00059"></a>00059 <span class="comment">/* This needs to be ifdef SOLARIS */</span> <a name="l00060"></a>00060 <span class="preprocessor">#if defined(__SVR4)</span> <a name="l00061"></a>00061 <span class="preprocessor"></span><span class="preprocessor"># define _D_EXACT_NAMLEN(d) (strlen((d)->d_name))</span> <a name="l00062"></a>00062 <span class="preprocessor"></span><span class="preprocessor"># ifndef _INCLUDE_POSIX_SOURCE</span> <a name="l00063"></a>00063 <span class="preprocessor"></span><span class="preprocessor"># define _INCLUDE_POSIX_SOURCE</span> <a name="l00064"></a>00064 <span class="preprocessor"></span><span class="preprocessor"># endif</span> <a name="l00065"></a>00065 <span class="preprocessor"></span><span class="preprocessor"># ifndef _LARGEFILE64_SOURCE</span> <a name="l00066"></a>00066 <span class="preprocessor"></span><span class="preprocessor"># define _LARGEFILE64_SOURCE</span> <a name="l00067"></a>00067 <span class="preprocessor"></span><span class="preprocessor"># endif</span> <a name="l00068"></a>00068 <span class="preprocessor"></span><span class="preprocessor">#endif</span> <a name="l00069"></a>00069 <span class="preprocessor"></span> <a name="l00070"></a>00070 <span class="preprocessor">#endif</span> <a name="l00071"></a>00071 <span class="preprocessor"></span> <a name="l00072"></a>00072 <span class="preprocessor">#include <sys/types.h></span> <a name="l00073"></a>00073 <span class="preprocessor">#include <sys/stat.h></span> <a name="l00074"></a>00074 <span class="preprocessor">#include <dirent.h></span> <a name="l00075"></a>00075 <a name="l00076"></a>00076 <span class="comment">/* The fts interface is incompatible with the LFS interface which</span> <a name="l00077"></a>00077 <span class="comment"> transparently uses the 64-bit file access functions. */</span> <a name="l00078"></a>00078 <a name="l00079"></a>00079 <span class="preprocessor">#ifdef __USE_FILE_OFFSET64</span> <a name="l00080"></a>00080 <span class="preprocessor"></span><span class="preprocessor"># error "<fts.h> cannot be used with -D_FILE_OFFSET_BITS==64"</span> <a name="l00081"></a>00081 <span class="preprocessor"></span><span class="preprocessor">#endif</span> <a name="l00082"></a>00082 <span class="preprocessor"></span> <a name="l00083"></a>00083 <a name="l00084"></a><a class="code" href="structFTS.html">00084</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>{ <a name="l00085"></a>00085 <span class="comment">/*@owned@*/</span> <a name="l00086"></a><a class="code" href="structFTS.html#a08ecc2deb063af1798129d9313546826">00086</a> <span class="keyword">struct </span><a class="code" href="struct__ftsent.html">_ftsent</a> *<a class="code" href="structFTS.html#a08ecc2deb063af1798129d9313546826">fts_cur</a>; <a name="l00087"></a>00087 <span class="comment">/*@owned@*/</span> <span class="comment">/*@null@*/</span> <a name="l00088"></a><a class="code" href="structFTS.html#a9f171b866eb11d48d7da97257745fc13">00088</a> <span class="keyword">struct </span><a class="code" href="struct__ftsent.html">_ftsent</a> *<a class="code" href="structFTS.html#a9f171b866eb11d48d7da97257745fc13">fts_child</a>; <a name="l00089"></a>00089 <span class="comment">/*@owned@*/</span> <span class="comment">/*@null@*/</span> <a name="l00090"></a><a class="code" href="structFTS.html#a53df707bc19d57beb6e62bc367926d06">00090</a> <span class="keyword">struct </span><a class="code" href="struct__ftsent.html">_ftsent</a> **<a class="code" href="structFTS.html#a53df707bc19d57beb6e62bc367926d06">fts_array</a>; <a name="l00091"></a><a class="code" href="structFTS.html#aa3c11f29f2bbc6b9e94210d64c3b4186">00091</a> dev_t <a class="code" href="structFTS.html#aa3c11f29f2bbc6b9e94210d64c3b4186">fts_dev</a>; <a name="l00092"></a>00092 <span class="comment">/*@owned@*/</span> <a name="l00093"></a><a class="code" href="structFTS.html#ad926a226b225fc21c7808f880649be5d">00093</a> <span class="keywordtype">char</span> *<a class="code" href="structFTS.html#ad926a226b225fc21c7808f880649be5d">fts_path</a>; <a name="l00094"></a><a class="code" href="structFTS.html#a3a5fc5f85de1c28beaed4c39d7679412">00094</a> <span class="keywordtype">int</span> <a class="code" href="structFTS.html#a3a5fc5f85de1c28beaed4c39d7679412">fts_rfd</a>; <a name="l00095"></a><a class="code" href="structFTS.html#aea68b3302cc8e8256ec5799432a3752b">00095</a> <span class="keywordtype">int</span> <a class="code" href="structFTS.html#aea68b3302cc8e8256ec5799432a3752b">fts_pathlen</a>; <a name="l00096"></a><a class="code" href="structFTS.html#afc2dc8df41ca182f85489dfe4ce38c4d">00096</a> <span class="keywordtype">int</span> <a class="code" href="structFTS.html#afc2dc8df41ca182f85489dfe4ce38c4d">fts_nitems</a>; <a name="l00097"></a>00097 <span class="comment">/*@null@*/</span> <a name="l00098"></a><a class="code" href="structFTS.html#addfc2bf5e35fc9a86685cadd7b517389">00098</a> 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="l00099"></a>00099 <span class="comment">/*@*/</span>; <a name="l00101"></a>00101 DIR * (*fts_opendir) (<span class="keyword">const</span> <span class="keywordtype">char</span> * path) <a name="l00102"></a>00102 <span class="comment">/*@globals fileSystem @*/</span> <a name="l00103"></a>00103 <span class="comment">/*@modifies fileSystem @*/</span>; <a name="l00104"></a>00104 <span class="keyword">struct </span>dirent * (*fts_readdir) (DIR * dir) <a name="l00105"></a>00105 <span class="comment">/*@globals fileSystem @*/</span> <a name="l00106"></a>00106 <span class="comment">/*@modifies *dir, fileSystem @*/</span>; <a name="l00107"></a>00107 int (*fts_closedir) (<span class="comment">/*@only@*/</span> DIR * dir) <a name="l00108"></a>00108 <span class="comment">/*@globals fileSystem @*/</span> <a name="l00109"></a>00109 <span class="comment">/*@modifies *dir, fileSystem @*/</span>; <a name="l00110"></a>00110 int (*fts_stat) (<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="l00111"></a>00111 <span class="comment">/*@globals fileSystem @*/</span> <a name="l00112"></a>00112 <span class="comment">/*@modifies *st, fileSystem @*/</span>; <a name="l00113"></a>00113 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="l00114"></a>00114 <span class="comment">/*@globals fileSystem @*/</span> <a name="l00115"></a>00115 <span class="comment">/*@modifies *st, fileSystem @*/</span>; <a name="l00116"></a>00116 <a name="l00117"></a>00117 <span class="preprocessor">#define FTS_COMFOLLOW 0x0001 </span> <a name="l00118"></a>00118 <span class="preprocessor">#define FTS_LOGICAL 0x0002 </span> <a name="l00119"></a>00119 <span class="preprocessor">#define FTS_NOCHDIR 0x0004 </span> <a name="l00120"></a>00120 <span class="preprocessor">#define FTS_NOSTAT 0x0008 </span> <a name="l00121"></a>00121 <span class="preprocessor">#define FTS_PHYSICAL 0x0010 </span> <a name="l00122"></a>00122 <span class="preprocessor">#define FTS_SEEDOT 0x0020 </span> <a name="l00123"></a>00123 <span class="preprocessor">#define FTS_XDEV 0x0040 </span> <a name="l00124"></a>00124 <span class="preprocessor">#define FTS_WHITEOUT 0x0080 </span> <a name="l00125"></a>00125 <span class="preprocessor">#define FTS_OPTIONMASK 0x00ff </span> <a name="l00127"></a>00127 <span class="preprocessor">#define FTS_NAMEONLY 0x0100 </span> <a name="l00128"></a>00128 <span class="preprocessor">#define FTS_STOP 0x0200 </span> <a name="l00129"></a><a class="code" href="structFTS.html#ab92db932926b32e5f727745c8e9fb26d">00129</a> <span class="preprocessor"> int fts_options; </span> <a name="l00130"></a>00130 <span class="preprocessor">} FTS;</span> <a name="l00131"></a>00131 <span class="preprocessor"></span> <a name="l00132"></a><a class="code" href="struct__ftsent.html">00132</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="struct__ftsent.html">_ftsent</a> { <a name="l00133"></a>00133 <span class="comment">/*@dependent@*/</span> <a name="l00134"></a><a class="code" href="struct__ftsent.html#a98c3abfdddac7cce1209b813073f9c22">00134</a> <span class="keyword">struct </span><a class="code" href="struct__ftsent.html">_ftsent</a> *<a class="code" href="struct__ftsent.html#a98c3abfdddac7cce1209b813073f9c22">fts_cycle</a>; <a name="l00135"></a>00135 <span class="comment">/*@dependent@*/</span> <a name="l00136"></a><a class="code" href="struct__ftsent.html#a59a69daf4545cd4ef908c6f4f0939c4e">00136</a> <span class="keyword">struct </span><a class="code" href="struct__ftsent.html">_ftsent</a> *<a class="code" href="struct__ftsent.html#a59a69daf4545cd4ef908c6f4f0939c4e">fts_parent</a>; <a name="l00137"></a>00137 <span class="comment">/*@dependent@*/</span> <a name="l00138"></a><a class="code" href="struct__ftsent.html#a387a9c3a2f1a485f774d67fcf5921ccc">00138</a> <span class="keyword">struct </span><a class="code" href="struct__ftsent.html">_ftsent</a> *<a class="code" href="struct__ftsent.html#a387a9c3a2f1a485f774d67fcf5921ccc">fts_link</a>; <a name="l00139"></a><a class="code" href="struct__ftsent.html#a1343b8378df80345ae70f42c00ade3c0">00139</a> <span class="keywordtype">long</span> <a class="code" href="struct__ftsent.html#a1343b8378df80345ae70f42c00ade3c0">fts_number</a>; <a name="l00140"></a><a class="code" href="struct__ftsent.html#adaac24ba63251611206460e5d26c57fd">00140</a> <span class="keywordtype">void</span> *<a class="code" href="struct__ftsent.html#adaac24ba63251611206460e5d26c57fd">fts_pointer</a>; <a name="l00141"></a>00141 <span class="comment">/*@dependent@*/</span> <a name="l00142"></a><a class="code" href="struct__ftsent.html#a0c8d43f657bdf9f7c9519918d4d2650a">00142</a> <span class="keywordtype">char</span> *<a class="code" href="struct__ftsent.html#a0c8d43f657bdf9f7c9519918d4d2650a">fts_accpath</a>; <a name="l00143"></a>00143 <span class="comment">/*@dependent@*/</span> <a name="l00144"></a><a class="code" href="struct__ftsent.html#a82d9a0e5a5338c6d4c56e3277a504c0f">00144</a> <span class="keywordtype">char</span> *<a class="code" href="struct__ftsent.html#a82d9a0e5a5338c6d4c56e3277a504c0f">fts_path</a>; <a name="l00145"></a><a class="code" href="struct__ftsent.html#acf923006d8c134110dab91dd49a40f0b">00145</a> <span class="keywordtype">int</span> <a class="code" href="struct__ftsent.html#acf923006d8c134110dab91dd49a40f0b">fts_errno</a>; <a name="l00146"></a><a class="code" href="struct__ftsent.html#ad4a0d42bc311d6f0563c9accd96e88ef">00146</a> <span class="keywordtype">int</span> <a class="code" href="struct__ftsent.html#ad4a0d42bc311d6f0563c9accd96e88ef">fts_symfd</a>; <a name="l00147"></a><a class="code" href="struct__ftsent.html#a8f8f87adba13caef5a8eba1e5a2755dd">00147</a> u_short <a class="code" href="struct__ftsent.html#a8f8f87adba13caef5a8eba1e5a2755dd">fts_pathlen</a>; <a name="l00148"></a><a class="code" href="struct__ftsent.html#a59ef479bbefa254719b6c023d75d6f88">00148</a> u_short <a class="code" href="struct__ftsent.html#a59ef479bbefa254719b6c023d75d6f88">fts_namelen</a>; <a name="l00150"></a><a class="code" href="struct__ftsent.html#a6df010d03f74d0e955d910172810e1fb">00150</a> ino_t <a class="code" href="struct__ftsent.html#a6df010d03f74d0e955d910172810e1fb">fts_ino</a>; <a name="l00151"></a><a class="code" href="struct__ftsent.html#a10be9fd397d6c028092ff401ec353962">00151</a> dev_t <a class="code" href="struct__ftsent.html#a10be9fd397d6c028092ff401ec353962">fts_dev</a>; <a name="l00152"></a><a class="code" href="struct__ftsent.html#a2fbfd33440b4c9c861fed6e84724f946">00152</a> nlink_t <a class="code" href="struct__ftsent.html#a2fbfd33440b4c9c861fed6e84724f946">fts_nlink</a>; <a name="l00154"></a>00154 <span class="preprocessor">#define FTS_ROOTPARENTLEVEL -1</span> <a name="l00155"></a>00155 <span class="preprocessor"></span><span class="preprocessor">#define FTS_ROOTLEVEL 0</span> <a name="l00156"></a><a class="code" href="struct__ftsent.html#a43f7f9264e38d10e4281c9a81fca4b00">00156</a> <span class="preprocessor"></span> <span class="keywordtype">short</span> <a class="code" href="struct__ftsent.html#a43f7f9264e38d10e4281c9a81fca4b00">fts_level</a>; <a name="l00158"></a>00158 <span class="preprocessor">#define FTS_D 1 </span> <a name="l00159"></a>00159 <span class="preprocessor">#define FTS_DC 2 </span> <a name="l00160"></a>00160 <span class="preprocessor">#define FTS_DEFAULT 3 </span> <a name="l00161"></a>00161 <span class="preprocessor">#define FTS_DNR 4 </span> <a name="l00162"></a>00162 <span class="preprocessor">#define FTS_DOT 5 </span> <a name="l00163"></a>00163 <span class="preprocessor">#define FTS_DP 6 </span> <a name="l00164"></a>00164 <span class="preprocessor">#define FTS_ERR 7 </span> <a name="l00165"></a>00165 <span class="preprocessor">#define FTS_F 8 </span> <a name="l00166"></a>00166 <span class="preprocessor">#define FTS_INIT 9 </span> <a name="l00167"></a>00167 <span class="preprocessor">#define FTS_NS 10 </span> <a name="l00168"></a>00168 <span class="preprocessor">#define FTS_NSOK 11 </span> <a name="l00169"></a>00169 <span class="preprocessor">#define FTS_SL 12 </span> <a name="l00170"></a>00170 <span class="preprocessor">#define FTS_SLNONE 13 </span> <a name="l00171"></a>00171 <span class="preprocessor">#define FTS_W 14 </span> <a name="l00172"></a><a class="code" href="struct__ftsent.html#a8055e14f39324a1dfc48a34095aa3578">00172</a> <span class="preprocessor"> u_short fts_info; </span> <a name="l00174"></a>00174 <span class="preprocessor">#define FTS_DONTCHDIR 0x01 </span> <a name="l00175"></a>00175 <span class="preprocessor">#define FTS_SYMFOLLOW 0x02 </span> <a name="l00176"></a><a class="code" href="struct__ftsent.html#ad8a7665e5340b6bfeee7524aa11fd50f">00176</a> <span class="preprocessor"> u_short fts_flags; </span> <a name="l00178"></a>00178 <span class="preprocessor">#define FTS_AGAIN 1 </span> <a name="l00179"></a>00179 <span class="preprocessor">#define FTS_FOLLOW 2 </span> <a name="l00180"></a>00180 <span class="preprocessor">#define FTS_NOINSTR 3 </span> <a name="l00181"></a>00181 <span class="preprocessor">#define FTS_SKIP 4 </span> <a name="l00182"></a><a class="code" href="struct__ftsent.html#a8b8222cea281b2ee8f96f4338df6f6a8">00182</a> <span class="preprocessor"> u_short fts_instr; </span> <a name="l00184"></a>00184 <span class="preprocessor"></span><span class="comment">/*@dependent@*/</span> <a name="l00185"></a><a class="code" href="struct__ftsent.html#aa81677fcbeb7e899196ea00abcc244d8">00185</a> <span class="keyword">struct </span>stat *<a class="code" href="struct__ftsent.html#aa81677fcbeb7e899196ea00abcc244d8">fts_statp</a>; <a name="l00186"></a><a class="code" href="struct__ftsent.html#a8b7354c236f5db6e0660f7a47649aca8">00186</a> <span class="keywordtype">char</span> fts_name[1]; <a name="l00187"></a>00187 } <a class="code" href="struct__ftsent.html">FTSENT</a>; <a name="l00188"></a>00188 <a name="l00189"></a>00189 __BEGIN_DECLS <a name="l00190"></a>00190 <a name="l00191"></a>00191 <span class="keyword">extern</span> <span class="keywordtype">int</span> dirfd (DIR * dirp); <a name="l00192"></a>00192 <a name="l00199"></a>00199 <span class="comment">/*@unused@*/</span> <span class="comment">/*@dependent@*/</span> <a name="l00200"></a>00200 <a class="code" href="struct__ftsent.html">FTSENT</a> *fts_children (<a class="code" href="structFTS.html">FTS</a> * sp, <span class="keywordtype">int</span> instr) __THROW <a name="l00201"></a>00201 <span class="comment">/*@globals fileSystem, internalState @*/</span> <a name="l00202"></a>00202 <span class="comment">/*@modifies *sp, fileSystem, internalState @*/</span>; <a name="l00203"></a>00203 <a name="l00209"></a>00209 <span class="comment">/*@unused@*/</span> <a name="l00210"></a>00210 <span class="keywordtype">int</span> fts_close (<span class="comment">/*@only@*/</span> <a class="code" href="structFTS.html">FTS</a> * sp) __THROW <a name="l00211"></a>00211 <span class="comment">/*@globals fileSystem, internalState @*/</span> <a name="l00212"></a>00212 <span class="comment">/*@modifies *sp, fileSystem, internalState @*/</span>; <a name="l00213"></a>00213 <a name="l00221"></a>00221 <span class="comment">/*@unused@*/</span> <span class="comment">/*@only@*/</span> <a name="l00222"></a>00222 <a class="code" href="structFTS.html">FTS</a> *fts_open (<span class="keywordtype">char</span> * <span class="keyword">const</span> * argv, <span class="keywordtype">int</span> options, <a name="l00223"></a>00223 <span class="comment">/*@null@*/</span> <a name="l00224"></a>00224 <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> <a class="code" href="struct__ftsent.html">FTSENT</a> **)) __THROW <a name="l00225"></a>00225 <span class="comment">/*@*/</span>; <a name="l00226"></a>00226 <a name="l00232"></a>00232 <span class="comment">/*@unused@*/</span> <span class="comment">/*@null@*/</span> <a name="l00233"></a>00233 <a class="code" href="struct__ftsent.html">FTSENT</a> *fts_read (<a class="code" href="structFTS.html">FTS</a> * sp) __THROW <a name="l00234"></a>00234 <span class="comment">/*@globals fileSystem, internalState @*/</span> <a name="l00235"></a>00235 <span class="comment">/*@modifies *sp, fileSystem, internalState @*/</span>; <a name="l00236"></a>00236 <a name="l00244"></a>00244 <span class="comment">/*@unused@*/</span> <a name="l00245"></a>00245 <span class="keywordtype">int</span> fts_set (<a class="code" href="structFTS.html">FTS</a> * sp, <a class="code" href="struct__ftsent.html">FTSENT</a> * p, <span class="keywordtype">int</span> instr) __THROW <a name="l00246"></a>00246 <span class="comment">/*@modifies *p @*/</span>; <a name="l00247"></a>00247 <a name="l00248"></a>00248 __END_DECLS <a name="l00249"></a>00249 <a name="l00250"></a>00250 <span class="preprocessor">#endif </span><span class="comment">/* fts.h */</span> <a name="l00251"></a>00251 <a name="l00252"></a>00252 <span class="preprocessor">#endif </span><span class="comment">/* HAVE_FTS_OPEN */</span> </pre></div></div> </div> <hr class="footer"/><address class="footer"><small>Generated on Mon Jul 25 2011 for Open SCAP Library by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address> </body> </html>