<!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>myftw.h File Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.2.17 --> <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>build/myftw.h File Reference</h1>Portable ftw(3) using lstat() instead of stat(). <a href="#_details">More...</a> <p> <code>#include <sys/stat.h></code><br> <p> <a href="myftw_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td></td></tr> <tr><td colspan=2><br><h2>Defines</h2></td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="myftw_8h.html#a0">MYFTW_F</a> 0</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="myftw_8h.html#a1">MYFTW_D</a> 1</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="myftw_8h.html#a2">MYFTW_DNR</a> 2</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="myftw_8h.html#a3">MYFTW_NS</a> 3</td></tr> <tr><td colspan=2><br><h2>Typedefs</h2></td></tr> <tr><td nowrap align=right valign=top>typedef int(* </td><td valign=bottom><a class="el" href="myftw_8h.html#a4">myftwFunc</a> )(void *fl, const char *<a class="el" href="parseScript_8c.html#a0">name</a>, struct stat *statp)</td></tr> <tr><td colspan=2><br><h2>Functions</h2></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="myftw_8h.html#a5">myftw</a> (const char *dir, int descriptors, <a class="el" href="myftw_8h.html#a4">myftwFunc</a> func, void *fl)</td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Portable ftw(3) using lstat() instead of stat(). <p> <p> <p> Definition in file <a class="el" href="myftw_8h-source.html">myftw.h</a>.<hr><h2>Define Documentation</h2> <a name="a1" doxytag="myftw.h::MYFTW_D"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define MYFTW_D 1 </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="myftw_8h-source.html#l00013">13</a> of file <a class="el" href="myftw_8h-source.html">myftw.h</a>. <p> Referenced by <a class="el" href="myftw_8c-source.html#l00179">myftw</a>(), and <a class="el" href="myftw_8c-source.html#l00056">myftw_dir</a>(). </td> </tr> </table> <a name="a2" doxytag="myftw.h::MYFTW_DNR"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define MYFTW_DNR 2 </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="myftw_8h-source.html#l00014">14</a> of file <a class="el" href="myftw_8h-source.html">myftw.h</a>. <p> Referenced by <a class="el" href="myftw_8c-source.html#l00179">myftw</a>(), and <a class="el" href="myftw_8c-source.html#l00056">myftw_dir</a>(). </td> </tr> </table> <a name="a0" doxytag="myftw.h::MYFTW_F"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define MYFTW_F 0 </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="myftw_8h-source.html#l00012">12</a> of file <a class="el" href="myftw_8h-source.html">myftw.h</a>. <p> Referenced by <a class="el" href="myftw_8c-source.html#l00179">myftw</a>(), and <a class="el" href="myftw_8c-source.html#l00056">myftw_dir</a>(). </td> </tr> </table> <a name="a3" doxytag="myftw.h::MYFTW_NS"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define MYFTW_NS 3 </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="myftw_8h-source.html#l00015">15</a> of file <a class="el" href="myftw_8h-source.html">myftw.h</a>. <p> Referenced by <a class="el" href="myftw_8c-source.html#l00179">myftw</a>(), and <a class="el" href="myftw_8c-source.html#l00056">myftw_dir</a>(). </td> </tr> </table> <hr><h2>Typedef Documentation</h2> <a name="a4" doxytag="myftw.h::myftwFunc"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> typedef int(* myftwFunc)(void *fl, const char *<a class="el" href="parseScript_8c.html#a0">name</a>, struct stat *statp) </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="myftw_8h-source.html#l00021">21</a> of file <a class="el" href="myftw_8h-source.html">myftw.h</a>. <p> Referenced by <a class="el" href="files_8c-source.html#l01448">addFile</a>(), <a class="el" href="myftw_8c-source.html#l00179">myftw</a>(), and <a class="el" href="myftw_8c-source.html#l00056">myftw_dir</a>(). </td> </tr> </table> <hr><h2>Function Documentation</h2> <a name="a5" doxytag="myftw.h::myftw"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> int myftw </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const char * </td> <td class="mdname" nowrap> <em>dir</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>descriptors</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="myftw_8h.html#a4">myftwFunc</a> </td> <td class="mdname" nowrap> <em>func</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>void * </td> <td class="mdname" nowrap> <em>fl</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="myftw_8c-source.html#l00179">179</a> of file <a class="el" href="myftw_8c-source.html">myftw.c</a>. <p> References <a class="el" href="system_8h.html#a36">alloca</a>(), <a class="el" href="rpmrpc_8c-source.html#l01233">Closedir</a>(), <a class="el" href="system_8h-source.html#l00100">errno</a>, <a class="el" href="rpmrpc_8c-source.html#l01089">Lstat</a>(), <a class="el" href="myftw_8h-source.html#l00013">MYFTW_D</a>, <a class="el" href="myftw_8c-source.html#l00056">myftw_dir</a>(), <a class="el" href="myftw_8h-source.html#l00014">MYFTW_DNR</a>, <a class="el" href="myftw_8h-source.html#l00012">MYFTW_F</a>, <a class="el" href="myftw_8h-source.html#l00015">MYFTW_NS</a>, <a class="el" href="myftw_8h-source.html#l00021">myftwFunc</a>, <a class="el" href="rpmrpc_8c-source.html#l01200">Opendir</a>(), and <a class="el" href="myftw_8c-source.html#l00041">PATH_MAX</a>. <p> Referenced by <a class="el" href="files_8c-source.html#l01448">addFile</a>(). </td> </tr> </table> <hr><address style="align: right;"><small>Generated on Thu Sep 12 22:15:03 2002 for rpm by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.17 </small></address> </body> </html>