1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
|
<!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.5.12/src/OVAL/probes/fsdev.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/project/openscap/openscap-0.5.12/src/OVAL/probes/fsdev.c File Reference</h1>
<p>fsdev API implementation
<a href="#_details">More...</a></p>
<code>#include <stdio.h></code><br/>
<code>#include <stddef.h></code><br/>
<code>#include <string.h></code><br/>
<code>#include <ctype.h></code><br/>
<code>#include <stdlib.h></code><br/>
<code>#include <sys/types.h></code><br/>
<code>#include <sys/stat.h></code><br/>
<code>#include <errno.h></code><br/>
<code>#include "<a class="el" href="fsdev_8h_source.html">fsdev.h</a>"</code><br/>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaa43d5f3529a4fc279edd70f92c5a5e76"></a><!-- doxytag: member="fsdev.c::fsdev_init" ref="gaa43d5f3529a4fc279edd70f92c5a5e76" args="(const char **fs, size_t fs_cnt)" -->
<a class="el" href="structfsdev__t.html">fsdev_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__PROBEAUXAPI.html#gaa43d5f3529a4fc279edd70f92c5a5e76">fsdev_init</a> (const char **fs, size_t fs_cnt)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Initialize the <a class="el" href="structfsdev__t.html" title="Filesystem device structure.">fsdev_t</a> structure from an array of filesystem names. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaed7a61d80478c533525165239dfc409f"></a><!-- doxytag: member="fsdev.c::fsdev_strinit" ref="gaed7a61d80478c533525165239dfc409f" args="(const char *fs_names)" -->
<a class="el" href="structfsdev__t.html">fsdev_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__PROBEAUXAPI.html#gaed7a61d80478c533525165239dfc409f">fsdev_strinit</a> (const char *fs_names)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Initialize the <a class="el" href="structfsdev__t.html" title="Filesystem device structure.">fsdev_t</a> structure from a string containing filesystem names. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gae7e2b275c4b002fb669678a07b9619d5"></a><!-- doxytag: member="fsdev.c::fsdev_free" ref="gae7e2b275c4b002fb669678a07b9619d5" args="(fsdev_t *lfs)" -->
void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__PROBEAUXAPI.html#gae7e2b275c4b002fb669678a07b9619d5">fsdev_free</a> (<a class="el" href="structfsdev__t.html">fsdev_t</a> *lfs)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Free the <a class="el" href="structfsdev__t.html" title="Filesystem device structure.">fsdev_t</a> structure. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga744338d0cacfb13cf5c9f22281489e1f"></a><!-- doxytag: member="fsdev.c::fsdev_search" ref="ga744338d0cacfb13cf5c9f22281489e1f" args="(fsdev_t *lfs, void *id)" -->
int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__PROBEAUXAPI.html#ga744338d0cacfb13cf5c9f22281489e1f">fsdev_search</a> (<a class="el" href="structfsdev__t.html">fsdev_t</a> *lfs, void *id)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Search an id in the <a class="el" href="structfsdev__t.html" title="Filesystem device structure.">fsdev_t</a> structure. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__PROBEAUXAPI.html#ga5563f3287c7639d1a36af3323e2b1aaa">fsdev_path</a> (<a class="el" href="structfsdev__t.html">fsdev_t</a> *lfs, const char *path)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Check whether a path points points to a place on any of the devices in the <a class="el" href="structfsdev__t.html" title="Filesystem device structure.">fsdev_t</a> structure. <a href="group__PROBEAUXAPI.html#ga5563f3287c7639d1a36af3323e2b1aaa"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__PROBEAUXAPI.html#ga297efe1d9f22008581daabefb000ea32">fsdev_fd</a> (<a class="el" href="structfsdev__t.html">fsdev_t</a> *lfs, int fd)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Check whether a file descriptor is associated with a file that resides on any of the devices in the <a class="el" href="structfsdev__t.html" title="Filesystem device structure.">fsdev_t</a> structure. <a href="group__PROBEAUXAPI.html#ga297efe1d9f22008581daabefb000ea32"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>fsdev API implementation </p>
<dl class="author"><dt><b>Author:</b></dt><dd>"Daniel Kopecek" <<a href="mailto:dkopecek@redhat.com">dkopecek@redhat.com</a>> </dd></dl>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 30 Jun 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>
|