<!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/openscap/openscap-0.5.7/src/OVAL/probes/findfile.c File Reference</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.6.1 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <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 class="tabs"> <ul> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>Globals</span></a></li> </ul> </div> </div> <div class="contents"> <h1>/home/pvrabec/openscap/openscap-0.5.7/src/OVAL/probes/findfile.c File Reference</h1> <p>Auxiliary <a class="el" href="group__FINDFILE.html#gac4361b4edb0c5baf0f1fb741b0beed09" title="Search the filesystem according to the specified path, filename and behaviors.">find_files()</a> function used in different probes. <a href="#_details">More...</a></p> <code>#include <stdio.h></code><br/> <code>#include <string.h></code><br/> <code>#include <sys/types.h></code><br/> <code>#include <sys/stat.h></code><br/> <code>#include <limits.h></code><br/> <code>#include <dirent.h></code><br/> <code>#include <stdlib.h></code><br/> <code>#include <errno.h></code><br/> <code>#include <unistd.h></code><br/> <code>#include <regex.h></code><br/> <code>#include <assert.h></code><br/> <code>#include <<a class="el" href="alloc_8h_source.html">alloc.h</a>></code><br/> <code>#include "<a class="el" href="findfile_8h_source.html">findfile.h</a>"</code><br/> <table border="0" cellpadding="0" cellspacing="0"> <tr><td colspan="2"><h2>Data Structures</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structsetting__t.html">setting_t</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structrglob__t.html">rglob_t</a></td></tr> <tr><td colspan="2"><h2>Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9de3002c83d705b67f9197fc29f40ee8"></a><!-- doxytag: member="findfile.c::find_files" ref="a9de3002c83d705b67f9197fc29f40ee8" args="(SEXP_t *spath, SEXP_t *sfilename, SEXP_t *behaviors, int(*cb)(const char *pathname, const char *filename, void *arg), void *arg)" --> int </td><td class="memItemRight" valign="bottom"><b>find_files</b> (<a class="el" href="structSEXP.html">SEXP_t</a> *spath, <a class="el" href="structSEXP.html">SEXP_t</a> *sfilename, <a class="el" href="structSEXP.html">SEXP_t</a> *behaviors, int(*cb)(const char *pathname, const char *filename, void *arg), void *arg)</td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>Auxiliary <a class="el" href="group__FINDFILE.html#gac4361b4edb0c5baf0f1fb741b0beed09" title="Search the filesystem according to the specified path, filename and behaviors.">find_files()</a> function used in different probes. </p> <dl class="author"><dt><b>Author:</b></dt><dd>Peter Vrabec <<a href="mailto:pvrabec@redhat.com">pvrabec@redhat.com</a>> </dd></dl> </div> <hr size="1"/><address style="text-align: right;"><small>Generated on 26 Feb 2010 for Open SCAP Library by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> </body> </html>