Sophie

Sophie

distrib > CentOS > 5 > x86_64 > by-pkgid > 67e32647b06c0323bf90c6b54a6438d1 > files > 428

rpm-apidocs-4.4.2.3-34.el5.x86_64.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>rpm: lib/manifest.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.7 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="modules.html"><span>Modules</span></a></li>
    <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
    <li id="current"><a href="files.html"><span>Files</span></a></li>
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
  </ul></div>
<div class="tabs">
  <ul>
    <li><a href="files.html"><span>File&nbsp;List</span></a></li>
    <li><a href="globals.html"><span>Globals</span></a></li>
  </ul></div>
<h1>lib/manifest.h File Reference</h1>Routines to expand a manifest containing glob expressions into an argv list. <a href="#_details">More...</a>
<p>

<p>
<a href="manifest_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>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="manifest_8h.html#3903d933008cb6dc6b2ad46b70471a46">rpmPermsString</a> (int mode)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return ls(1)-like formatted mode string.  <a href="#3903d933008cb6dc6b2ad46b70471a46"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="rpmlib_8h.html#06da857c39457bfb6ea9049643fdb706">rpmRC</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="manifest_8h.html#2c36ca42a312db6e3c4a2bde92e07e4e">rpmReadPackageManifest</a> (<a class="el" href="struct__FD__s.html">FD_t</a> fd, int *argcPtr, const char ***argvPtr)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Read manifest, glob items, and append to existing args.  <a href="#2c36ca42a312db6e3c4a2bde92e07e4e"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Routines to expand a manifest containing glob expressions into an argv list. 
<p>

<p>
Definition in file <a class="el" href="manifest_8h-source.html">manifest.h</a>.<hr><h2>Function Documentation</h2>
<a class="anchor" name="3903d933008cb6dc6b2ad46b70471a46"></a><!-- doxytag: member="manifest.h::rpmPermsString" ref="3903d933008cb6dc6b2ad46b70471a46" args="(int mode)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char* rpmPermsString           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>mode</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return ls(1)-like formatted mode string. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>mode</em>&nbsp;</td><td>file mode </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>(malloc'd) formatted mode string </dd></dl>

<p>
Definition at line <a class="el" href="manifest_8c-source.html#l00019">19</a> of file <a class="el" href="manifest_8c-source.html">manifest.c</a>.
<p>
References <a class="el" href="system_8h-source.html#l00612">S_ISLNK</a>, <a class="el" href="system_8h-source.html#l00616">S_ISSOCK</a>, and <a class="el" href="rpmmalloc_8c-source.html#l00055">xstrdup()</a>.
<p>
Referenced by <a class="el" href="formats_8c-source.html#l00062">permsFormat()</a>, and <a class="el" href="query_8c-source.html#l00032">printFileInfo()</a>.
</div>
</div><p>
<a class="anchor" name="2c36ca42a312db6e3c4a2bde92e07e4e"></a><!-- doxytag: member="manifest.h::rpmReadPackageManifest" ref="2c36ca42a312db6e3c4a2bde92e07e4e" args="(FD_t fd, int *argcPtr, const char ***argvPtr)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="rpmlib_8h.html#06da857c39457bfb6ea9049643fdb706">rpmRC</a> rpmReadPackageManifest           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct__FD__s.html">FD_t</a>&nbsp;</td>
          <td class="paramname"> <em>fd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&nbsp;</td>
          <td class="paramname"> <em>argcPtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char ***&nbsp;</td>
          <td class="paramname"> <em>argvPtr</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Read manifest, glob items, and append to existing args. 
<p>
<dl compact><dt><b><a class="el" href="todo.html#_todo000019">Todo:</a></b></dt><dd>Infinite loops through manifest files exist, operator error for now. </dd></dl>

<p>
Definition at line <a class="el" href="manifest_8c-source.html#l00069">69</a> of file <a class="el" href="manifest_8c-source.html">manifest.c</a>.
<p>
References <a class="el" href="system_8h-source.html#l00478">_</a>, <a class="el" href="rpmlib_8h-source.html#l00058">_free()</a>, <a class="el" href="stringbuf_8h-source.html#l00044">appendStringBuf</a>, <a class="el" href="compress_8c-source.html#l00064">argv</a>, <a class="el" href="rpmio__internal_8h-source.html#l00275">fdGetFp()</a>, <a class="el" href="stringbuf_8c-source.html#l00052">freeStringBuf()</a>, <a class="el" href="stringbuf_8c-source.html#l00083">getStringBuf()</a>, <a class="el" href="stringbuf_8c-source.html#l00040">newStringBuf()</a>, <a class="el" href="llex_8c-source.html#l00025">next</a>, <a class="el" href="macro_8c-source.html#l01700">rpmGlob()</a>, <a class="el" href="rpmmessages_8h-source.html#l00011">RPMMESS_DEBUG</a>, <a class="el" href="rpmmessages_8h-source.html#l00020">rpmMessage</a>, <a class="el" href="rpmlib_8h.html#a30b10f32f3a5e820ec05d099993e80163a651497a21974d2993a25d9b60208d">RPMRC_NOTFOUND</a>, <a class="el" href="rpmlib_8h.html#a30b10f32f3a5e820ec05d099993e801b6a502fb02cfd2c16380fa6ac52902d4">RPMRC_OK</a>, and <a class="el" href="rpmmalloc_8c-source.html#l00034">xcalloc()</a>.
<p>
Referenced by <a class="el" href="rpmgi_8c-source.html#l00096">rpmgiLoadManifest()</a>, <a class="el" href="rpmgraph_8c-source.html#l00044">rpmGraph()</a>, and <a class="el" href="rpminstall_8c-source.html#l00288">rpmInstall()</a>.
</div>
</div><p>
<hr size="1"><address style="align: right;"><small>Generated on 1 Oct 2013 for rpm by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
</body>
</html>