Sophie

Sophie

distrib > Mandriva > 10.2 > i586 > by-pkgid > 4f37b923758ceff94a2c0ccca62b4b43 > files > 209

libapr1-devel-1.1.1-1mdk.i586.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>Apache Portable Runtime: apr_finfo_t Struct Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3.9.1 -->
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
<h1>apr_finfo_t Struct Reference<br>
<small>
[<a class="el" href="group__apr__file__stat.html">Stat Functions</a>]</small>
</h1><code>#include &lt;<a class="el" href="apr__file__info_8h-source.html">apr_file_info.h</a>&gt;</code>
<p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Data Fields</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__apr__pools.html#ga0">apr_pool_t</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structapr__finfo__t.html#o0">pool</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">apr_int32_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structapr__finfo__t.html#o1">valid</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__apr__file__info.html#ga1">apr_fileperms_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structapr__finfo__t.html#o2">protection</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__apr__file__info.html#ga4">apr_filetype_e</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structapr__finfo__t.html#o3">filetype</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__apr__user.html#ga0">apr_uid_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structapr__finfo__t.html#o4">user</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__apr__user.html#ga1">apr_gid_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structapr__finfo__t.html#o5">group</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__apr__file__info.html#ga2">apr_ino_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structapr__finfo__t.html#o6">inode</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__apr__file__info.html#ga3">apr_dev_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structapr__finfo__t.html#o7">device</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">apr_int32_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structapr__finfo__t.html#o8">nlink</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">apr_off_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structapr__finfo__t.html#o9">size</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">apr_off_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structapr__finfo__t.html#o10">csize</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__apr__time.html#ga2">apr_time_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structapr__finfo__t.html#o11">atime</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__apr__time.html#ga2">apr_time_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structapr__finfo__t.html#o12">mtime</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__apr__time.html#ga2">apr_time_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structapr__finfo__t.html#o13">ctime</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structapr__finfo__t.html#o14">fname</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structapr__finfo__t.html#o15">name</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__apr__file__io.html#ga2">apr_file_t</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structapr__finfo__t.html#o16">filehand</a></td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
The file information structure. This is analogous to the POSIX stat structure. 
<p>
<hr><h2>Field Documentation</h2>
<a class="anchor" name="o11" doxytag="apr_finfo_t::atime"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"><a class="el" href="group__apr__time.html#ga2">apr_time_t</a> <a class="el" href="structapr__finfo__t.html#o11">apr_finfo_t::atime</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The time the file was last accessed     </td>
  </tr>
</table>
<a class="anchor" name="o10" doxytag="apr_finfo_t::csize"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">apr_off_t <a class="el" href="structapr__finfo__t.html#o10">apr_finfo_t::csize</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The storage size consumed by the file     </td>
  </tr>
</table>
<a class="anchor" name="o13" doxytag="apr_finfo_t::ctime"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"><a class="el" href="group__apr__time.html#ga2">apr_time_t</a> <a class="el" href="structapr__finfo__t.html#o13">apr_finfo_t::ctime</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The time the file was created, or the inode was last changed     </td>
  </tr>
</table>
<a class="anchor" name="o7" doxytag="apr_finfo_t::device"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"><a class="el" href="group__apr__file__info.html#ga3">apr_dev_t</a> <a class="el" href="structapr__finfo__t.html#o7">apr_finfo_t::device</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The id of the device the file is on.     </td>
  </tr>
</table>
<a class="anchor" name="o16" doxytag="apr_finfo_t::filehand"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">struct <a class="el" href="group__apr__file__io.html#ga2">apr_file_t</a>* <a class="el" href="structapr__finfo__t.html#o16">apr_finfo_t::filehand</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The file's handle, if accessed (can be submitted to apr_duphandle)     </td>
  </tr>
</table>
<a class="anchor" name="o3" doxytag="apr_finfo_t::filetype"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"><a class="el" href="group__apr__file__info.html#ga4">apr_filetype_e</a> <a class="el" href="structapr__finfo__t.html#o3">apr_finfo_t::filetype</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The type of file. One of APR_REG, APR_DIR, APR_CHR, APR_BLK, APR_PIPE, APR_LNK or APR_SOCK. If the type is undetermined, the value is APR_NOFILE. If the type cannot be determined, the value is APR_UNKFILE.     </td>
  </tr>
</table>
<a class="anchor" name="o14" doxytag="apr_finfo_t::fname"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">const char* <a class="el" href="structapr__finfo__t.html#o14">apr_finfo_t::fname</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The pathname of the file (possibly unrooted)     </td>
  </tr>
</table>
<a class="anchor" name="o5" doxytag="apr_finfo_t::group"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"><a class="el" href="group__apr__user.html#ga1">apr_gid_t</a> <a class="el" href="structapr__finfo__t.html#o5">apr_finfo_t::group</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The group id that owns the file     </td>
  </tr>
</table>
<a class="anchor" name="o6" doxytag="apr_finfo_t::inode"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"><a class="el" href="group__apr__file__info.html#ga2">apr_ino_t</a> <a class="el" href="structapr__finfo__t.html#o6">apr_finfo_t::inode</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The inode of the file.     </td>
  </tr>
</table>
<a class="anchor" name="o12" doxytag="apr_finfo_t::mtime"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"><a class="el" href="group__apr__time.html#ga2">apr_time_t</a> <a class="el" href="structapr__finfo__t.html#o12">apr_finfo_t::mtime</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The time the file was last modified     </td>
  </tr>
</table>
<a class="anchor" name="o15" doxytag="apr_finfo_t::name"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">const char* <a class="el" href="structapr__finfo__t.html#o15">apr_finfo_t::name</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The file's name (no path) in filesystem case     </td>
  </tr>
</table>
<a class="anchor" name="o8" doxytag="apr_finfo_t::nlink"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">apr_int32_t <a class="el" href="structapr__finfo__t.html#o8">apr_finfo_t::nlink</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The number of hard links to the file.     </td>
  </tr>
</table>
<a class="anchor" name="o0" doxytag="apr_finfo_t::pool"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"><a class="el" href="group__apr__pools.html#ga0">apr_pool_t</a>* <a class="el" href="structapr__finfo__t.html#o0">apr_finfo_t::pool</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Allocates memory and closes lingering handles in the specified pool     </td>
  </tr>
</table>
<a class="anchor" name="o2" doxytag="apr_finfo_t::protection"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"><a class="el" href="group__apr__file__info.html#ga1">apr_fileperms_t</a> <a class="el" href="structapr__finfo__t.html#o2">apr_finfo_t::protection</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The access permissions of the file. Mimics Unix access rights.     </td>
  </tr>
</table>
<a class="anchor" name="o9" doxytag="apr_finfo_t::size"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">apr_off_t <a class="el" href="structapr__finfo__t.html#o9">apr_finfo_t::size</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The size of the file     </td>
  </tr>
</table>
<a class="anchor" name="o4" doxytag="apr_finfo_t::user"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"><a class="el" href="group__apr__user.html#ga0">apr_uid_t</a> <a class="el" href="structapr__finfo__t.html#o4">apr_finfo_t::user</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The user id that owns the file     </td>
  </tr>
</table>
<a class="anchor" name="o1" doxytag="apr_finfo_t::valid"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">apr_int32_t <a class="el" href="structapr__finfo__t.html#o1">apr_finfo_t::valid</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The bitmask describing valid fields of this apr_finfo_t structure including all available 'wanted' fields and potentially more     </td>
  </tr>
</table>
<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="apr__file__info_8h-source.html">apr_file_info.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Sun Mar 20 19:52:26 2005 for Apache Portable Runtime by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.3.9.1 </small></address>
</body>
</html>