Sophie

Sophie

distrib > Mandriva > 9.0 > i586 > by-pkgid > 2269bb274471fd2722517c2c0b740d7f > files > 113

rpm-devel-4.0.4-19mdk.i586.rpm

<!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>fsm.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> &nbsp; <a class="qindex" href="modules.html">Modules</a> &nbsp; <a class="qindex" href="annotated.html">Data Structures</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Data Fields</a> &nbsp; <a class="qindex" href="globals.html">Globals</a> &nbsp; <a class="qindex" href="pages.html">Related Pages</a> &nbsp; </center>
<hr><h1>lib/fsm.h File Reference</h1>File state machine to handle a payload within an rpm package. 
<a href="#_details">More...</a>
<p>
<code>#include "<a class="el" href="cpio_8h-source.html">cpio.h</a>"</code><br>

<p>
<a href="fsm_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>Data Structures</h2></td></tr>
<tr><td nowrap align=right valign=top>struct &nbsp;</td><td valign=bottom><a class="el" href="structfsm__s.html">fsm_s</a></td></tr>
<tr><td nowrap align=right valign=top>struct &nbsp;</td><td valign=bottom><a class="el" href="structfsmIterator__s.html">fsmIterator_s</a></td></tr>
<tr><td nowrap align=right valign=top>struct &nbsp;</td><td valign=bottom><a class="el" href="structhardLink__s.html">hardLink_s</a></td></tr>
<tr><td colspan=2><br><h2>Defines</h2></td></tr>
<tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="fsm_8h.html#a0">FSM_VERBOSE</a>&nbsp;&nbsp;&nbsp;0x8000</td></tr>
<tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="fsm_8h.html#a1">FSM_INTERNAL</a>&nbsp;&nbsp;&nbsp;0x4000</td></tr>
<tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="fsm_8h.html#a2">FSM_SYSCALL</a>&nbsp;&nbsp;&nbsp;0x2000</td></tr>
<tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="fsm_8h.html#a3">FSM_DEAD</a>&nbsp;&nbsp;&nbsp;0x1000</td></tr>
<tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="fsm_8h.html#a4">_fv</a>(_a)&nbsp;&nbsp;&nbsp;((_a) | FSM_VERBOSE)</td></tr>
<tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="fsm_8h.html#a5">_fi</a>(_a)&nbsp;&nbsp;&nbsp;((_a) | FSM_INTERNAL)</td></tr>
<tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="fsm_8h.html#a6">_fs</a>(_a)&nbsp;&nbsp;&nbsp;((_a) | (FSM_INTERNAL | FSM_SYSCALL))</td></tr>
<tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="fsm_8h.html#a7">_fd</a>(_a)&nbsp;&nbsp;&nbsp;((_a) | (FSM_INTERNAL | FSM_DEAD))</td></tr>
<tr><td colspan=2><br><h2>Typedefs</h2></td></tr>
<tr><td nowrap align=right valign=top>typedef enum <a class="el" href="fsm_8h.html#a73">fileStage_e</a>&nbsp;</td><td valign=bottom><a class="el" href="fsm_8h.html#a9">fileStage</a></td></tr>
<tr><td colspan=2><br><h2>Enumerations</h2></td></tr>
<tr><td nowrap align=right valign=top>enum &nbsp;</td><td valign=bottom><a class="el" href="fsm_8h.html#a73">fileStage_e</a> { <br>
&nbsp;&nbsp;<a class="el" href="fsm_8h.html#a73a10">FSM_UNKNOWN</a> =    0, 
<a class="el" href="fsm_8h.html#a73a11">FSM_INIT</a> =   (( 1 ) | ( 0x4000  |  0x1000 )), 
<a class="el" href="fsm_8h.html#a73a12">FSM_PRE</a> =   (( 2 ) | ( 0x4000  |  0x1000 )), 
<a class="el" href="fsm_8h.html#a73a13">FSM_PROCESS</a> =   (( 3 ) |  0x8000 ), 
<br>
&nbsp;&nbsp;<a class="el" href="fsm_8h.html#a73a14">FSM_POST</a> =   (( 4 ) | ( 0x4000  |  0x1000 )), 
<a class="el" href="fsm_8h.html#a73a15">FSM_UNDO</a> =   5, 
<a class="el" href="fsm_8h.html#a73a16">FSM_FINI</a> =   6, 
<a class="el" href="fsm_8h.html#a73a17">FSM_PKGINSTALL</a> =  (( 7 ) | ( 0x4000  |  0x1000 )), 
<br>
&nbsp;&nbsp;<a class="el" href="fsm_8h.html#a73a18">FSM_PKGERASE</a> =  (( 8 ) | ( 0x4000  |  0x1000 )), 
<a class="el" href="fsm_8h.html#a73a19">FSM_PKGBUILD</a> =  (( 9 ) | ( 0x4000  |  0x1000 )), 
<a class="el" href="fsm_8h.html#a73a20">FSM_PKGCOMMIT</a> =  (( 10 ) | ( 0x4000  |  0x1000 )), 
<a class="el" href="fsm_8h.html#a73a21">FSM_PKGUNDO</a> =  (( 11 ) | ( 0x4000  |  0x1000 )), 
<br>
&nbsp;&nbsp;<a class="el" href="fsm_8h.html#a73a22">FSM_CREATE</a> =   (( 17 ) | ( 0x4000  |  0x1000 )), 
<a class="el" href="fsm_8h.html#a73a23">FSM_MAP</a> =   (( 18 ) | ( 0x4000  |  0x1000 )), 
<a class="el" href="fsm_8h.html#a73a24">FSM_MKDIRS</a> =   (( 19 ) |  0x4000 ), 
<a class="el" href="fsm_8h.html#a73a25">FSM_RMDIRS</a> =   (( 20 ) |  0x4000 ), 
<br>
&nbsp;&nbsp;<a class="el" href="fsm_8h.html#a73a26">FSM_MKLINKS</a> =   (( 21 ) |  0x4000 ), 
<a class="el" href="fsm_8h.html#a73a27">FSM_NOTIFY</a> =   (( 22 ) | ( 0x4000  |  0x1000 )), 
<a class="el" href="fsm_8h.html#a73a28">FSM_DESTROY</a> =   (( 23 ) | ( 0x4000  |  0x1000 )), 
<a class="el" href="fsm_8h.html#a73a29">FSM_VERIFY</a> =   (( 24 ) | ( 0x4000  |  0x1000 )), 
<br>
&nbsp;&nbsp;<a class="el" href="fsm_8h.html#a73a30">FSM_COMMIT</a> =   (( 25 ) | ( 0x4000  |  0x1000 )), 
<a class="el" href="fsm_8h.html#a73a31">FSM_UNLINK</a> =   (( 33 ) | ( 0x4000  |  0x2000 )), 
<a class="el" href="fsm_8h.html#a73a32">FSM_RENAME</a> =   (( 34 ) | ( 0x4000  |  0x2000 )), 
<a class="el" href="fsm_8h.html#a73a33">FSM_MKDIR</a> =   (( 35 ) | ( 0x4000  |  0x2000 )), 
<br>
&nbsp;&nbsp;<a class="el" href="fsm_8h.html#a73a34">FSM_RMDIR</a> =   (( 36 ) | ( 0x4000  |  0x2000 )), 
<a class="el" href="fsm_8h.html#a73a35">FSM_CHOWN</a> =   (( 37 ) | ( 0x4000  |  0x2000 )), 
<a class="el" href="fsm_8h.html#a73a36">FSM_LCHOWN</a> =   (( 38 ) | ( 0x4000  |  0x2000 )), 
<a class="el" href="fsm_8h.html#a73a37">FSM_CHMOD</a> =   (( 39 ) | ( 0x4000  |  0x2000 )), 
<br>
&nbsp;&nbsp;<a class="el" href="fsm_8h.html#a73a38">FSM_UTIME</a> =   (( 40 ) | ( 0x4000  |  0x2000 )), 
<a class="el" href="fsm_8h.html#a73a39">FSM_SYMLINK</a> =   (( 41 ) | ( 0x4000  |  0x2000 )), 
<a class="el" href="fsm_8h.html#a73a40">FSM_LINK</a> =   (( 42 ) | ( 0x4000  |  0x2000 )), 
<a class="el" href="fsm_8h.html#a73a41">FSM_MKFIFO</a> =   (( 43 ) | ( 0x4000  |  0x2000 )), 
<br>
&nbsp;&nbsp;<a class="el" href="fsm_8h.html#a73a42">FSM_MKNOD</a> =   (( 44 ) | ( 0x4000  |  0x2000 )), 
<a class="el" href="fsm_8h.html#a73a43">FSM_LSTAT</a> =   (( 45 ) | ( 0x4000  |  0x2000 )), 
<a class="el" href="fsm_8h.html#a73a44">FSM_STAT</a> =   (( 46 ) | ( 0x4000  |  0x2000 )), 
<a class="el" href="fsm_8h.html#a73a45">FSM_READLINK</a> =   (( 47 ) | ( 0x4000  |  0x2000 )), 
<br>
&nbsp;&nbsp;<a class="el" href="fsm_8h.html#a73a46">FSM_CHROOT</a> =   (( 48 ) | ( 0x4000  |  0x2000 )), 
<a class="el" href="fsm_8h.html#a73a47">FSM_NEXT</a> =   (( 65 ) | ( 0x4000  |  0x1000 )), 
<a class="el" href="fsm_8h.html#a73a48">FSM_EAT</a> =   (( 66 ) | ( 0x4000  |  0x1000 )), 
<a class="el" href="fsm_8h.html#a73a49">FSM_POS</a> =   (( 67 ) | ( 0x4000  |  0x1000 )), 
<br>
&nbsp;&nbsp;<a class="el" href="fsm_8h.html#a73a50">FSM_PAD</a> =   (( 68 ) | ( 0x4000  |  0x1000 )), 
<a class="el" href="fsm_8h.html#a73a51">FSM_TRAILER</a> =   (( 69 ) | ( 0x4000  |  0x1000 )), 
<a class="el" href="fsm_8h.html#a73a52">FSM_HREAD</a> =   (( 70 ) | ( 0x4000  |  0x1000 )), 
<a class="el" href="fsm_8h.html#a73a53">FSM_HWRITE</a> =   (( 71 ) | ( 0x4000  |  0x1000 )), 
<br>
&nbsp;&nbsp;<a class="el" href="fsm_8h.html#a73a54">FSM_DREAD</a> =   (( 72 ) | ( 0x4000  |  0x2000 )), 
<a class="el" href="fsm_8h.html#a73a55">FSM_DWRITE</a> =   (( 73 ) | ( 0x4000  |  0x2000 )), 
<a class="el" href="fsm_8h.html#a73a56">FSM_ROPEN</a> =   (( 129 ) | ( 0x4000  |  0x2000 )), 
<a class="el" href="fsm_8h.html#a73a57">FSM_READ</a> =   (( 130 ) | ( 0x4000  |  0x2000 )), 
<br>
&nbsp;&nbsp;<a class="el" href="fsm_8h.html#a73a58">FSM_RCLOSE</a> =   (( 131 ) | ( 0x4000  |  0x2000 )), 
<a class="el" href="fsm_8h.html#a73a59">FSM_WOPEN</a> =   (( 132 ) | ( 0x4000  |  0x2000 )), 
<a class="el" href="fsm_8h.html#a73a60">FSM_WRITE</a> =   (( 133 ) | ( 0x4000  |  0x2000 )), 
<a class="el" href="fsm_8h.html#a73a61">FSM_WCLOSE</a> =   (( 134 ) | ( 0x4000  |  0x2000 ))
<br>
 }</td></tr>
<tr><td colspan=2><br><h2>Functions</h2></td></tr>
<tr><td nowrap align=right valign=top>const char *const&nbsp;</td><td valign=bottom><a class="el" href="fsm_8h.html#a62">fileStageString</a> (<a class="el" href="fsm_8h.html#a9">fileStage</a> a)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Return formatted string representation of file stages.</em> <a href="#a62"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>const char *const&nbsp;</td><td valign=bottom><a class="el" href="fsm_8h.html#a63">fileActionString</a> (<a class="el" href="rpmlib_8h.html#a74">fileAction</a> a)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Return formatted string representation of file disposition.</em> <a href="#a63"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="group__payload.html#a3">FSM_t</a>&nbsp;</td><td valign=bottom><a class="el" href="fsm_8h.html#a64">newFSM</a> (void)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Create file state machine instance.</em> <a href="#a64"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="group__payload.html#a3">FSM_t</a>&nbsp;</td><td valign=bottom><a class="el" href="fsm_8h.html#a65">freeFSM</a> (<a class="el" href="group__payload.html#a3">FSM_t</a> fsm)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Destroy file state machine instance.</em> <a href="#a65"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="fsm_8h.html#a66">fsmSetup</a> (<a class="el" href="group__payload.html#a3">FSM_t</a> fsm, <a class="el" href="fsm_8h.html#a9">fileStage</a> goal, const <a class="el" href="group__rpmtrans.html#a2">rpmTransactionSet</a> ts, const <a class="el" href="group__rpmtrans.html#a1">TFI_t</a> fi, <a class="el" href="group__rpmio.html#a1">FD_t</a> cfd, unsigned int *archiveSize, const char **failedFile)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Load external data into file state machine.</em> <a href="#a66"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="fsm_8h.html#a67">fsmTeardown</a> (<a class="el" href="group__payload.html#a3">FSM_t</a> fsm)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Clean file state machine.</em> <a href="#a67"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="group__rpmtrans.html#a2">rpmTransactionSet</a>&nbsp;</td><td valign=bottom><a class="el" href="fsm_8h.html#a68">fsmGetTs</a> (const <a class="el" href="group__payload.html#a3">FSM_t</a> fsm)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Retrieve transaction set from file state machine iterator.</em> <a href="#a68"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="group__rpmtrans.html#a1">TFI_t</a>&nbsp;</td><td valign=bottom><a class="el" href="fsm_8h.html#a69">fsmGetFi</a> (const <a class="el" href="group__payload.html#a3">FSM_t</a> fsm)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Retrieve transaction element file info from file state machine iterator.</em> <a href="#a69"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="fsm_8h.html#a70">fsmMapPath</a> (<a class="el" href="group__payload.html#a3">FSM_t</a> fsm)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Map next file path and action.</em> <a href="#a70"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="fsm_8h.html#a71">fsmMapAttrs</a> (<a class="el" href="group__payload.html#a3">FSM_t</a> fsm)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Map file stat(2) info.</em> <a href="#a71"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="fsm_8h.html#a72">fsmStage</a> (<a class="el" href="group__payload.html#a3">FSM_t</a> fsm, <a class="el" href="fsm_8h.html#a9">fileStage</a> stage)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>File state machine driver.</em> <a href="#a72"></a><em></em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Variables</h2></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="fsm_8h.html#a8">_fsm_debug</a></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
File state machine to handle a payload within an rpm package.
<p>

<p>

<p>
Definition in file <a class="el" href="fsm_8h-source.html">fsm.h</a>.<hr><h2>Define Documentation</h2>
<a name="a7" doxytag="fsm.h::_fd"></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 _fd</td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">_a&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap>&nbsp;&nbsp;&nbsp;((_a) | (FSM_INTERNAL | FSM_DEAD))
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="fsm_8h-source.html#l00026">26</a> of file <a class="el" href="fsm_8h-source.html">fsm.h</a>.    </td>
  </tr>
</table>
<a name="a5" doxytag="fsm.h::_fi"></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 _fi</td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">_a&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap>&nbsp;&nbsp;&nbsp;((_a) | FSM_INTERNAL)
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="fsm_8h-source.html#l00024">24</a> of file <a class="el" href="fsm_8h-source.html">fsm.h</a>.    </td>
  </tr>
</table>
<a name="a6" doxytag="fsm.h::_fs"></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 _fs</td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">_a&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap>&nbsp;&nbsp;&nbsp;((_a) | (FSM_INTERNAL | FSM_SYSCALL))
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="fsm_8h-source.html#l00025">25</a> of file <a class="el" href="fsm_8h-source.html">fsm.h</a>.    </td>
  </tr>
</table>
<a name="a4" doxytag="fsm.h::_fv"></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 _fv</td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">_a&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap>&nbsp;&nbsp;&nbsp;((_a) | FSM_VERBOSE)
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="fsm_8h-source.html#l00023">23</a> of file <a class="el" href="fsm_8h-source.html">fsm.h</a>.    </td>
  </tr>
</table>
<a name="a3" doxytag="fsm.h::FSM_DEAD"></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 FSM_DEAD&nbsp;&nbsp;&nbsp;0x1000
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="fsm_8h-source.html#l00021">21</a> of file <a class="el" href="fsm_8h-source.html">fsm.h</a>.
<p>
Referenced by <a class="el" href="fsm_8c-source.html#l01211">fsmStage</a>().    </td>
  </tr>
</table>
<a name="a1" doxytag="fsm.h::FSM_INTERNAL"></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 FSM_INTERNAL&nbsp;&nbsp;&nbsp;0x4000
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="fsm_8h-source.html#l00019">19</a> of file <a class="el" href="fsm_8h-source.html">fsm.h</a>.
<p>
Referenced by <a class="el" href="fsm_8c-source.html#l01211">fsmStage</a>().    </td>
  </tr>
</table>
<a name="a2" doxytag="fsm.h::FSM_SYSCALL"></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 FSM_SYSCALL&nbsp;&nbsp;&nbsp;0x2000
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="fsm_8h-source.html#l00020">20</a> of file <a class="el" href="fsm_8h-source.html">fsm.h</a>.
<p>
Referenced by <a class="el" href="fsm_8c-source.html#l01211">fsmStage</a>().    </td>
  </tr>
</table>
<a name="a0" doxytag="fsm.h::FSM_VERBOSE"></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 FSM_VERBOSE&nbsp;&nbsp;&nbsp;0x8000
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="fsm_8h-source.html#l00018">18</a> of file <a class="el" href="fsm_8h-source.html">fsm.h</a>.
<p>
Referenced by <a class="el" href="fsm_8c-source.html#l01211">fsmStage</a>().    </td>
  </tr>
</table>
<hr><h2>Typedef Documentation</h2>
<a name="a9" doxytag="fsm.h::fileStage"></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 enum <a class="el" href="fsm_8h.html#a73">fileStage_e</a>  fileStage
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Referenced by <a class="el" href="fsm_8c-source.html#l02151">fileStageString</a>(), <a class="el" href="fsm_8c-source.html#l00454">fsmSetup</a>(), and <a class="el" href="fsm_8c-source.html#l01211">fsmStage</a>().    </td>
  </tr>
</table>
<hr><h2>Enumeration Type Documentation</h2>
<a name="a73" doxytag="fsm.h::fileStage_e"></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"> enum fileStage_e
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt><b>Enumeration values: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em><a name="a73a10" doxytag="FSM_UNKNOWN"></a><em>FSM_UNKNOWN</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a73a11" doxytag="FSM_INIT"></a><em>FSM_INIT</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a73a12" doxytag="FSM_PRE"></a><em>FSM_PRE</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a73a13" doxytag="FSM_PROCESS"></a><em>FSM_PROCESS</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a73a14" doxytag="FSM_POST"></a><em>FSM_POST</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a73a15" doxytag="FSM_UNDO"></a><em>FSM_UNDO</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a73a16" doxytag="FSM_FINI"></a><em>FSM_FINI</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a73a17" doxytag="FSM_PKGINSTALL"></a><em>FSM_PKGINSTALL</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a73a18" doxytag="FSM_PKGERASE"></a><em>FSM_PKGERASE</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a73a19" doxytag="FSM_PKGBUILD"></a><em>FSM_PKGBUILD</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a73a20" doxytag="FSM_PKGCOMMIT"></a><em>FSM_PKGCOMMIT</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a73a21" doxytag="FSM_PKGUNDO"></a><em>FSM_PKGUNDO</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a73a22" doxytag="FSM_CREATE"></a><em>FSM_CREATE</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a73a23" doxytag="FSM_MAP"></a><em>FSM_MAP</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a73a24" doxytag="FSM_MKDIRS"></a><em>FSM_MKDIRS</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a73a25" doxytag="FSM_RMDIRS"></a><em>FSM_RMDIRS</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a73a26" doxytag="FSM_MKLINKS"></a><em>FSM_MKLINKS</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a73a27" doxytag="FSM_NOTIFY"></a><em>FSM_NOTIFY</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a73a28" doxytag="FSM_DESTROY"></a><em>FSM_DESTROY</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a73a29" doxytag="FSM_VERIFY"></a><em>FSM_VERIFY</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a73a30" doxytag="FSM_COMMIT"></a><em>FSM_COMMIT</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a73a31" doxytag="FSM_UNLINK"></a><em>FSM_UNLINK</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a73a32" doxytag="FSM_RENAME"></a><em>FSM_RENAME</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a73a33" doxytag="FSM_MKDIR"></a><em>FSM_MKDIR</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a73a34" doxytag="FSM_RMDIR"></a><em>FSM_RMDIR</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a73a35" doxytag="FSM_CHOWN"></a><em>FSM_CHOWN</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a73a36" doxytag="FSM_LCHOWN"></a><em>FSM_LCHOWN</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a73a37" doxytag="FSM_CHMOD"></a><em>FSM_CHMOD</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a73a38" doxytag="FSM_UTIME"></a><em>FSM_UTIME</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a73a39" doxytag="FSM_SYMLINK"></a><em>FSM_SYMLINK</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a73a40" doxytag="FSM_LINK"></a><em>FSM_LINK</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a73a41" doxytag="FSM_MKFIFO"></a><em>FSM_MKFIFO</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a73a42" doxytag="FSM_MKNOD"></a><em>FSM_MKNOD</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a73a43" doxytag="FSM_LSTAT"></a><em>FSM_LSTAT</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a73a44" doxytag="FSM_STAT"></a><em>FSM_STAT</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a73a45" doxytag="FSM_READLINK"></a><em>FSM_READLINK</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a73a46" doxytag="FSM_CHROOT"></a><em>FSM_CHROOT</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a73a47" doxytag="FSM_NEXT"></a><em>FSM_NEXT</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a73a48" doxytag="FSM_EAT"></a><em>FSM_EAT</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a73a49" doxytag="FSM_POS"></a><em>FSM_POS</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a73a50" doxytag="FSM_PAD"></a><em>FSM_PAD</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a73a51" doxytag="FSM_TRAILER"></a><em>FSM_TRAILER</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a73a52" doxytag="FSM_HREAD"></a><em>FSM_HREAD</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a73a53" doxytag="FSM_HWRITE"></a><em>FSM_HWRITE</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a73a54" doxytag="FSM_DREAD"></a><em>FSM_DREAD</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a73a55" doxytag="FSM_DWRITE"></a><em>FSM_DWRITE</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a73a56" doxytag="FSM_ROPEN"></a><em>FSM_ROPEN</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a73a57" doxytag="FSM_READ"></a><em>FSM_READ</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a73a58" doxytag="FSM_RCLOSE"></a><em>FSM_RCLOSE</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a73a59" doxytag="FSM_WOPEN"></a><em>FSM_WOPEN</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a73a60" doxytag="FSM_WRITE"></a><em>FSM_WRITE</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a73a61" doxytag="FSM_WCLOSE"></a><em>FSM_WCLOSE</em></em>&nbsp;</td><td>
</td></tr>
</table>
</dl>

<p>
Definition at line <a class="el" href="fsm_8h-source.html#l00028">28</a> of file <a class="el" href="fsm_8h-source.html">fsm.h</a>.    </td>
  </tr>
</table>
<hr><h2>Function Documentation</h2>
<a name="a63" doxytag="fsm.h::fileActionString"></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"> const char* const fileActionString </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="rpmlib_8h.html#a74">fileAction</a>&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>a</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Return formatted string representation of file disposition.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>a</em>&nbsp;</td><td>
file dispostion </td></tr>
</table>
</dl><dl compact><dt><b>Returns :</b></dt><dd>
formatted string </dl>
<p>
Definition at line <a class="el" href="fsm_8c-source.html#l02131">2131</a> of file <a class="el" href="fsm_8c-source.html">fsm.c</a>.
<p>
References <a class="el" href="rpmlib_8h.html#a501a308">FA_ALTNAME</a>, <a class="el" href="rpmlib_8h.html#a501a305">FA_BACKUP</a>, <a class="el" href="rpmlib_8h.html#a501a303">FA_COPYIN</a>, <a class="el" href="rpmlib_8h.html#a501a304">FA_COPYOUT</a>, <a class="el" href="rpmlib_8h.html#a501a302">FA_CREATE</a>, <a class="el" href="rpmlib_8h.html#a501a309">FA_ERASE</a>, <a class="el" href="rpmlib_8h.html#a501a306">FA_SAVE</a>, <a class="el" href="rpmlib_8h.html#a501a307">FA_SKIP</a>, <a class="el" href="rpmlib_8h.html#a501a312">FA_SKIPMULTILIB</a>, <a class="el" href="rpmlib_8h.html#a501a311">FA_SKIPNETSHARED</a>, <a class="el" href="rpmlib_8h.html#a501a310">FA_SKIPNSTATE</a>, <a class="el" href="rpmlib_8h.html#a501a301">FA_UNKNOWN</a>, and <a class="el" href="rpmlib_8h.html#a74">fileAction</a>.    </td>
  </tr>
</table>
<a name="a62" doxytag="fsm.h::fileStageString"></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"> const char* const fileStageString </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="fsm_8h.html#a9">fileStage</a>&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>a</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Return formatted string representation of file stages.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>a</em>&nbsp;</td><td>
file stage </td></tr>
</table>
</dl><dl compact><dt><b>Returns :</b></dt><dd>
formatted string </dl>
<p>
Definition at line <a class="el" href="fsm_8c-source.html#l02151">2151</a> of file <a class="el" href="fsm_8c-source.html">fsm.c</a>.
<p>
References <a class="el" href="fsm_8h.html#a9">fileStage</a>, <a class="el" href="fsm_8h.html#a73a37">FSM_CHMOD</a>, <a class="el" href="fsm_8h.html#a73a35">FSM_CHOWN</a>, <a class="el" href="fsm_8h.html#a73a46">FSM_CHROOT</a>, <a class="el" href="fsm_8h.html#a73a30">FSM_COMMIT</a>, <a class="el" href="fsm_8h.html#a73a22">FSM_CREATE</a>, <a class="el" href="fsm_8h.html#a73a28">FSM_DESTROY</a>, <a class="el" href="fsm_8h.html#a73a54">FSM_DREAD</a>, <a class="el" href="fsm_8h.html#a73a55">FSM_DWRITE</a>, <a class="el" href="fsm_8h.html#a73a48">FSM_EAT</a>, <a class="el" href="fsm_8h.html#a73a16">FSM_FINI</a>, <a class="el" href="fsm_8h.html#a73a52">FSM_HREAD</a>, <a class="el" href="fsm_8h.html#a73a53">FSM_HWRITE</a>, <a class="el" href="fsm_8h.html#a73a11">FSM_INIT</a>, <a class="el" href="fsm_8h.html#a73a36">FSM_LCHOWN</a>, <a class="el" href="fsm_8h.html#a73a40">FSM_LINK</a>, <a class="el" href="fsm_8h.html#a73a43">FSM_LSTAT</a>, <a class="el" href="fsm_8h.html#a73a23">FSM_MAP</a>, <a class="el" href="fsm_8h.html#a73a33">FSM_MKDIR</a>, <a class="el" href="fsm_8h.html#a73a24">FSM_MKDIRS</a>, <a class="el" href="fsm_8h.html#a73a41">FSM_MKFIFO</a>, <a class="el" href="fsm_8h.html#a73a26">FSM_MKLINKS</a>, <a class="el" href="fsm_8h.html#a73a42">FSM_MKNOD</a>, <a class="el" href="fsm_8h.html#a73a47">FSM_NEXT</a>, <a class="el" href="fsm_8h.html#a73a27">FSM_NOTIFY</a>, <a class="el" href="fsm_8h.html#a73a50">FSM_PAD</a>, <a class="el" href="fsm_8h.html#a73a19">FSM_PKGBUILD</a>, <a class="el" href="fsm_8h.html#a73a20">FSM_PKGCOMMIT</a>, <a class="el" href="fsm_8h.html#a73a18">FSM_PKGERASE</a>, <a class="el" href="fsm_8h.html#a73a17">FSM_PKGINSTALL</a>, <a class="el" href="fsm_8h.html#a73a21">FSM_PKGUNDO</a>, <a class="el" href="fsm_8h.html#a73a49">FSM_POS</a>, <a class="el" href="fsm_8h.html#a73a14">FSM_POST</a>, <a class="el" href="fsm_8h.html#a73a12">FSM_PRE</a>, <a class="el" href="fsm_8h.html#a73a13">FSM_PROCESS</a>, <a class="el" href="fsm_8h.html#a73a58">FSM_RCLOSE</a>, <a class="el" href="fsm_8h.html#a73a57">FSM_READ</a>, <a class="el" href="fsm_8h.html#a73a45">FSM_READLINK</a>, <a class="el" href="fsm_8h.html#a73a32">FSM_RENAME</a>, <a class="el" href="fsm_8h.html#a73a34">FSM_RMDIR</a>, <a class="el" href="fsm_8h.html#a73a25">FSM_RMDIRS</a>, <a class="el" href="fsm_8h.html#a73a56">FSM_ROPEN</a>, <a class="el" href="fsm_8h.html#a73a44">FSM_STAT</a>, <a class="el" href="fsm_8h.html#a73a39">FSM_SYMLINK</a>, <a class="el" href="fsm_8h.html#a73a51">FSM_TRAILER</a>, <a class="el" href="fsm_8h.html#a73a15">FSM_UNDO</a>, <a class="el" href="fsm_8h.html#a73a10">FSM_UNKNOWN</a>, <a class="el" href="fsm_8h.html#a73a31">FSM_UNLINK</a>, <a class="el" href="fsm_8h.html#a73a38">FSM_UTIME</a>, <a class="el" href="fsm_8h.html#a73a29">FSM_VERIFY</a>, <a class="el" href="fsm_8h.html#a73a61">FSM_WCLOSE</a>, <a class="el" href="fsm_8h.html#a73a59">FSM_WOPEN</a>, and <a class="el" href="fsm_8h.html#a73a60">FSM_WRITE</a>.
<p>
Referenced by <a class="el" href="fsm_8c-source.html#l01211">fsmStage</a>().    </td>
  </tr>
</table>
<a name="a65" doxytag="fsm.h::freeFSM"></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"> <a class="el" href="group__payload.html#a3">FSM_t</a> freeFSM </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="group__payload.html#a3">FSM_t</a>&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>fsm</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Destroy file state machine instance.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>fsm</em>&nbsp;</td><td>
file state machine data </td></tr>
</table>
</dl><dl compact><dt><b>Returns :</b></dt><dd>
always NULL </dl>
<p>
Definition at line <a class="el" href="fsm_8c-source.html#l00438">438</a> of file <a class="el" href="fsm_8c-source.html">fsm.c</a>.
<p>
References <a class="el" href="poptint_8h-source.html#l00018">_free</a>(), <a class="el" href="fsm_8h-source.html#l00148">fsm_s::dnlx</a>, <a class="el" href="fsm_8c-source.html#l00422">freeHardLink</a>(), <a class="el" href="fsm_8h-source.html#l00136">fsm_s::iter</a>, <a class="el" href="fsm_8h-source.html#l00149">fsm_s::ldn</a>, <a class="el" href="fsm_8h-source.html#l00139">fsm_s::li</a>, <a class="el" href="fsm_8h-source.html#l00138">fsm_s::links</a>, <a class="el" href="fsm_8c-source.html#l00088">mapFreeIterator</a>(), <a class="el" href="fsm_8h-source.html#l00096">hardLink_s::next</a>, and <a class="el" href="fsm_8h-source.html#l00121">fsm_s::path</a>.
<p>
Referenced by <a class="el" href="psm_8c-source.html#l00188">freeFi</a>().    </td>
  </tr>
</table>
<a name="a69" doxytag="fsm.h::fsmGetFi"></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"> <a class="el" href="group__rpmtrans.html#a1">TFI_t</a> fsmGetFi </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="group__payload.html#a3">FSM_t</a>&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>fsm</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Retrieve transaction element file info from file state machine iterator.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>fsm</em>&nbsp;</td><td>
file state machine data </td></tr>
</table>
</dl><dl compact><dt><b>Returns :</b></dt><dd>
transaction element file info </dl>
<p>
Definition at line <a class="el" href="fsm_8c-source.html#l00034">34</a> of file <a class="el" href="fsm_8c-source.html">fsm.c</a>.
<p>
References <a class="el" href="fsm_8h-source.html#l00111">fsmIterator_s::fi</a>, and <a class="el" href="fsm_8h-source.html#l00136">fsm_s::iter</a>.
<p>
Referenced by <a class="el" href="fsm_8c-source.html#l00230">dnlInitIterator</a>(), <a class="el" href="fsm_8c-source.html#l00616">fsmMapAttrs</a>(), <a class="el" href="fsm_8c-source.html#l00521">fsmMapPath</a>(), <a class="el" href="fsm_8c-source.html#l01072">fsmMkdirs</a>(), <a class="el" href="fsm_8c-source.html#l01211">fsmStage</a>(), <a class="el" href="fsm_8c-source.html#l00335">saveHardLink</a>(), and <a class="el" href="fsm_8c-source.html#l00734">writeFile</a>().    </td>
  </tr>
</table>
<a name="a68" doxytag="fsm.h::fsmGetTs"></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"> <a class="el" href="group__rpmtrans.html#a2">rpmTransactionSet</a> fsmGetTs </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="group__payload.html#a3">FSM_t</a>&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>fsm</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Retrieve transaction set from file state machine iterator.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>fsm</em>&nbsp;</td><td>
file state machine data </td></tr>
</table>
</dl><dl compact><dt><b>Returns :</b></dt><dd>
transaction set </dl>
<p>
Definition at line <a class="el" href="fsm_8c-source.html#l00027">27</a> of file <a class="el" href="fsm_8c-source.html">fsm.c</a>.
<p>
References <a class="el" href="fsm_8h-source.html#l00136">fsm_s::iter</a>, and <a class="el" href="fsm_8h-source.html#l00110">fsmIterator_s::ts</a>.
<p>
Referenced by <a class="el" href="fsm_8c-source.html#l00616">fsmMapAttrs</a>(), <a class="el" href="fsm_8c-source.html#l01211">fsmStage</a>(), and <a class="el" href="fsm_8c-source.html#l00734">writeFile</a>().    </td>
  </tr>
</table>
<a name="a71" doxytag="fsm.h::fsmMapAttrs"></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 fsmMapAttrs </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="group__payload.html#a3">FSM_t</a>&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>fsm</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Map file stat(2) info.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>fsm</em>&nbsp;</td><td>
file state machine data </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="fsm_8c-source.html#l00616">616</a> of file <a class="el" href="fsm_8c-source.html">fsm.c</a>.
<p>
References <a class="el" href="cpio_8h.html#a25a36">CPIO_MAP_GID</a>, <a class="el" href="cpio_8h.html#a25a34">CPIO_MAP_MODE</a>, <a class="el" href="cpio_8h.html#a25a41">CPIO_MAP_TYPE</a>, <a class="el" href="cpio_8h.html#a25a35">CPIO_MAP_UID</a>, <a class="el" href="psm_8h-source.html#l00080">transactionFileInfo_s::dperms</a>, <a class="el" href="psm_8h-source.html#l00073">transactionFileInfo_s::fc</a>, <a class="el" href="psm_8h-source.html#l00092">transactionFileInfo_s::fgids</a>, <a class="el" href="psm_8h-source.html#l00059">transactionFileInfo_s::fmd5s</a>, <a class="el" href="fsm_8h-source.html#l00162">fsm_s::fmd5sum</a>, <a class="el" href="psm_8h-source.html#l00063">transactionFileInfo_s::fmodes</a>, <a class="el" href="psm_8h-source.html#l00047">transactionFileInfo_s::fmtimes</a>, <a class="el" href="psm_8h-source.html#l00081">transactionFileInfo_s::fperms</a>, <a class="el" href="psm_8h-source.html#l00064">transactionFileInfo_s::frdevs</a>, <a class="el" href="fsm_8c-source.html#l00034">fsmGetFi</a>(), <a class="el" href="fsm_8c-source.html#l00027">fsmGetTs</a>(), <a class="el" href="psm_8h-source.html#l00089">transactionFileInfo_s::fuids</a>, <a class="el" href="psm_8h-source.html#l00090">transactionFileInfo_s::gid</a>, <a class="el" href="header_8h-source.html#l00099">int_32</a>, <a class="el" href="fsm_8h-source.html#l00137">fsm_s::ix</a>, <a class="el" href="fsm_8h-source.html#l00159">fsm_s::mapFlags</a>, <a class="el" href="rpmlib_8h.html#a19a348">RPMTRANS_FLAG_NOMD5</a>, <a class="el" href="fsm_8h-source.html#l00167">fsm_s::sb</a>, <a class="el" href="depends_8h-source.html#l00139">rpmTransactionSet_s::transFlags</a>, and <a class="el" href="psm_8h-source.html#l00087">transactionFileInfo_s::uid</a>.
<p>
Referenced by <a class="el" href="fsm_8c-source.html#l01211">fsmStage</a>().    </td>
  </tr>
</table>
<a name="a70" doxytag="fsm.h::fsmMapPath"></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 fsmMapPath </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="group__payload.html#a3">FSM_t</a>&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>fsm</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Map next file path and action.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>fsm</em>&nbsp;</td><td>
file state machine data </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="fsm_8c-source.html#l00521">521</a> of file <a class="el" href="fsm_8c-source.html">fsm.c</a>.
<p>
References <a class="el" href="poptint_8h-source.html#l00018">_free</a>(), <a class="el" href="psm_8h-source.html#l00026">transactionFileInfo_s::action</a>, <a class="el" href="fsm_8h-source.html#l00164">fsm_s::action</a>, <a class="el" href="psm_8h-source.html#l00028">transactionFileInfo_s::actions</a>, <a class="el" href="psm_8h-source.html#l00077">transactionFileInfo_s::astriplen</a>, <a class="el" href="fsm_8h-source.html#l00156">fsm_s::astriplen</a>, <a class="el" href="fsm_8h-source.html#l00161">fsm_s::baseName</a>, <a class="el" href="psm_8h-source.html#l00049">transactionFileInfo_s::bnl</a>, <a class="el" href="cpio_8h.html#a25a33">CPIO_MAP_PATH</a>, <a class="el" href="psm_8h-source.html#l00052">transactionFileInfo_s::dil</a>, <a class="el" href="fsm_8h-source.html#l00160">fsm_s::dirName</a>, <a class="el" href="psm_8h-source.html#l00051">transactionFileInfo_s::dnl</a>, <a class="el" href="rpmlib_8h.html#a501a308">FA_ALTNAME</a>, <a class="el" href="rpmlib_8h.html#a501a305">FA_BACKUP</a>, <a class="el" href="rpmlib_8h.html#a501a303">FA_COPYIN</a>, <a class="el" href="rpmlib_8h.html#a501a304">FA_COPYOUT</a>, <a class="el" href="rpmlib_8h.html#a501a302">FA_CREATE</a>, <a class="el" href="rpmlib_8h.html#a501a309">FA_ERASE</a>, <a class="el" href="rpmlib_8h.html#a501a306">FA_SAVE</a>, <a class="el" href="rpmlib_8h.html#a501a307">FA_SKIP</a>, <a class="el" href="rpmlib_8h.html#a501a312">FA_SKIPMULTILIB</a>, <a class="el" href="rpmlib_8h.html#a501a311">FA_SKIPNETSHARED</a>, <a class="el" href="rpmlib_8h.html#a501a310">FA_SKIPNSTATE</a>, <a class="el" href="rpmlib_8h.html#a501a301">FA_UNKNOWN</a>, <a class="el" href="psm_8h-source.html#l00073">transactionFileInfo_s::fc</a>, <a class="el" href="psm_8h-source.html#l00045">transactionFileInfo_s::fflags</a>, <a class="el" href="fsm_8h-source.html#l00163">fsm_s::fflags</a>, <a class="el" href="psm_8h-source.html#l00044">transactionFileInfo_s::flags</a>, <a class="el" href="psm_8h-source.html#l00086">transactionFileInfo_s::fmapflags</a>, <a class="el" href="fsm_8c-source.html#l00055">fsmFsPath</a>(), <a class="el" href="fsm_8c-source.html#l00034">fsmGetFi</a>(), <a class="el" href="psm_8h-source.html#l00066">transactionFileInfo_s::fstates</a>, <a class="el" href="fsm_8h-source.html#l00137">fsm_s::ix</a>, <a class="el" href="psm_8h-source.html#l00084">transactionFileInfo_s::mapflags</a>, <a class="el" href="fsm_8h-source.html#l00159">fsm_s::mapFlags</a>, <a class="el" href="fsm_8h-source.html#l00145">fsm_s::nsuffix</a>, <a class="el" href="fsm_8h-source.html#l00144">fsm_s::osuffix</a>, <a class="el" href="fsm_8h-source.html#l00121">fsm_s::path</a>, <a class="el" href="rpmlib_8h.html#a496a249">RPMFILE_GHOST</a>, <a class="el" href="rpmlib_8h.html#a495a241">RPMFILE_STATE_NETSHARED</a>, <a class="el" href="rpmlib_8h.html#a495a240">RPMFILE_STATE_NOTINSTALLED</a>, <a class="el" href="fsm_8h-source.html#l00167">fsm_s::sb</a>, <a class="el" href="fsm_8h-source.html#l00142">fsm_s::subdir</a>, <a class="el" href="fsm_8h-source.html#l00146">fsm_s::suffix</a>, <a class="el" href="fsm_8c-source.html#l00044">SUFFIX_RPMNEW</a>, <a class="el" href="fsm_8c-source.html#l00042">SUFFIX_RPMORIG</a>, <a class="el" href="fsm_8c-source.html#l00043">SUFFIX_RPMSAVE</a>, and <a class="el" href="psm_8h-source.html#l00025">transactionFileInfo_s::type</a>.
<p>
Referenced by <a class="el" href="fsm_8c-source.html#l01211">fsmStage</a>().    </td>
  </tr>
</table>
<a name="a66" doxytag="fsm.h::fsmSetup"></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 fsmSetup </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="group__payload.html#a3">FSM_t</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>fsm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="fsm_8h.html#a9">fileStage</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>goal</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="group__rpmtrans.html#a2">rpmTransactionSet</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>ts</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="group__rpmtrans.html#a1">TFI_t</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>fi</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="group__rpmio.html#a1">FD_t</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>cfd</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>unsigned int *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>archiveSize</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>const char **&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>failedFile</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Load external data into file state machine.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>fsm</em>&nbsp;</td><td>
file state machine data </td></tr>
<tr><td valign=top><em>goal</em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em>ts</em>&nbsp;</td><td>
transaction set </td></tr>
<tr><td valign=top><em>fi</em>&nbsp;</td><td>
transaction element file info </td></tr>
<tr><td valign=top><em>archiveSize</em>&nbsp;</td><td>
pointer to archive size </td></tr>
<tr><td valign=top><em>failedFile</em>&nbsp;</td><td>
pointer to first file name that failed. </td></tr>
</table>
</dl><dl compact><dt><b>Returns :</b></dt><dd>
0 on success </dl>
<p>
Definition at line <a class="el" href="fsm_8c-source.html#l00454">454</a> of file <a class="el" href="fsm_8c-source.html">fsm.c</a>.
<p>
References <a class="el" href="psm_8h-source.html#l00100">transactionFileInfo_s::ap</a>, <a class="el" href="fsm_8h-source.html#l00140">fsm_s::archiveSize</a>, <a class="el" href="psm_8h-source.html#l00079">transactionFileInfo_s::archiveSize</a>, <a class="el" href="fsm_8h-source.html#l00123">fsm_s::cfd</a>, <a class="el" href="fsm_8h-source.html#l00141">fsm_s::failedFile</a>, <a class="el" href="rpmio__internal_8h-source.html#l00421">fdGetCpioPos</a>(), <a class="el" href="rpmio_8h-source.html#l00495">fdLink</a>, <a class="el" href="rpmio__internal_8h-source.html#l00431">fdSetCpioPos</a>(), <a class="el" href="fsm_8h.html#a9">fileStage</a>, <a class="el" href="fsm_8h.html#a73a22">FSM_CREATE</a>, <a class="el" href="fsm_8h.html#a73a17">FSM_PKGINSTALL</a>, <a class="el" href="fsm_8c-source.html#l01211">fsmStage</a>(), <a class="el" href="fsm_8h-source.html#l00165">fsm_s::goal</a>, <a class="el" href="psm_8h-source.html#l00036">transactionFileInfo_s::h</a>, <a class="el" href="depends_8h-source.html#l00167">rpmTransactionSet_s::id</a>, <a class="el" href="fsm_8h-source.html#l00136">fsm_s::iter</a>, <a class="el" href="depends_8h-source.html#l00060">availablePackage::key</a>, <a class="el" href="fsm_8c-source.html#l00100">mapInitIterator</a>(), <a class="el" href="depends_8h-source.html#l00140">rpmTransactionSet_s::notify</a>, <a class="el" href="depends_8h-source.html#l00142">rpmTransactionSet_s::notifyData</a>, <a class="el" href="fsm_8h-source.html#l00157">fsm_s::rc</a>, <a class="el" href="rpmmessages_8h.html#a31a19">RPMCALLBACK_INST_START</a>, and <a class="el" href="fsm_8h-source.html#l00147">fsm_s::sufbuf</a>.
<p>
Referenced by <a class="el" href="pack_8c-source.html#l00048">cpio_doio</a>(), and <a class="el" href="psm_8c-source.html#l01345">psmStage</a>().    </td>
  </tr>
</table>
<a name="a72" doxytag="fsm.h::fsmStage"></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 fsmStage </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="group__payload.html#a3">FSM_t</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>fsm</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="fsm_8h.html#a9">fileStage</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>stage</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
File state machine driver.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>fsm</em>&nbsp;</td><td>
file state machine data </td></tr>
<tr><td valign=top><em>stage</em>&nbsp;</td><td>
next stage </td></tr>
</table>
</dl><dl compact><dt><b>Returns :</b></dt><dd>
0 on success </dl>
<p>
Definition at line <a class="el" href="fsm_8c-source.html#l01211">1211</a> of file <a class="el" href="fsm_8c-source.html">fsm.c</a>.
<p>
References <a class="el" href="system_8h-source.html#l00370">_</a>, <a class="el" href="poptint_8h-source.html#l00018">_free</a>(), <a class="el" href="fsm_8c-source.html#l00020">_fsm_debug</a>, <a class="el" href="fsm_8h-source.html#l00164">fsm_s::action</a>, <a class="el" href="system_8h.html#a36">alloca</a>(), <a class="el" href="psm_8h-source.html#l00100">transactionFileInfo_s::ap</a>, <a class="el" href="psm_8h-source.html#l00079">transactionFileInfo_s::archiveSize</a>, <a class="el" href="fsm_8h-source.html#l00156">fsm_s::astriplen</a>, <a class="el" href="fsm_8h-source.html#l00123">fsm_s::cfd</a>, <a class="el" href="fsm_8h-source.html#l00158">fsm_s::commit</a>, <a class="el" href="cpio_8h.html#a25a40">CPIO_ALL_HARDLINKS</a>, <a class="el" href="cpio_8h.html#a25a37">CPIO_FOLLOW_SYMLINKS</a>, <a class="el" href="cpio_8h-source.html#l00075">CPIO_TRAILER</a>, <a class="el" href="cpio_8h.html#a24a9">CPIOERR_CHMOD_FAILED</a>, <a class="el" href="cpio_8h.html#a24a10">CPIOERR_CHOWN_FAILED</a>, <a class="el" href="cpio_8h.html#a24a26">CPIOERR_HDR_SIZE</a>, <a class="el" href="cpio_8h.html#a24a27">CPIOERR_HDR_TRAILER</a>, <a class="el" href="cpio_8h.html#a24a22">CPIOERR_LINK_FAILED</a>, <a class="el" href="cpio_8h.html#a24a17">CPIOERR_LSTAT_FAILED</a>, <a class="el" href="cpio_8h.html#a24a29">CPIOERR_MISSING_HARDLINK</a>, <a class="el" href="cpio_8h.html#a24a18">CPIOERR_MKDIR_FAILED</a>, <a class="el" href="cpio_8h.html#a24a21">CPIOERR_MKFIFO_FAILED</a>, <a class="el" href="cpio_8h.html#a24a20">CPIOERR_MKNOD_FAILED</a>, <a class="el" href="cpio_8h.html#a24a8">CPIOERR_OPEN_FAILED</a>, <a class="el" href="cpio_8h.html#a24a24">CPIOERR_READ_FAILED</a>, <a class="el" href="cpio_8h.html#a24a23">CPIOERR_READLINK_FAILED</a>, <a class="el" href="cpio_8h.html#a24a14">CPIOERR_RENAME_FAILED</a>, <a class="el" href="cpio_8h.html#a24a19">CPIOERR_RMDIR_FAILED</a>, <a class="el" href="cpio_8h.html#a24a16">CPIOERR_STAT_FAILED</a>, <a class="el" href="cpio_8h.html#a24a15">CPIOERR_SYMLINK_FAILED</a>, <a class="el" href="cpio_8h.html#a24a28">CPIOERR_UNKNOWN_FILETYPE</a>, <a class="el" href="cpio_8h.html#a24a13">CPIOERR_UNLINK_FAILED</a>, <a class="el" href="cpio_8h.html#a24a32">CPIOERR_UNMAPPED_FILE</a>, <a class="el" href="cpio_8h.html#a24a12">CPIOERR_UTIME_FAILED</a>, <a class="el" href="cpio_8h.html#a24a11">CPIOERR_WRITE_FAILED</a>, <a class="el" href="cpio_8c-source.html#l00118">cpioHeaderRead</a>(), <a class="el" href="cpio_8c-source.html#l00082">cpioHeaderWrite</a>(), <a class="el" href="cpio_8c-source.html#l00056">cpioTrailerWrite</a>(), <a class="el" href="fsm_8h-source.html#l00103">hardLink_s::createdPath</a>, <a class="el" href="fsm_8h-source.html#l00153">fsm_s::diskchecked</a>, <a class="el" href="fsm_8h-source.html#l00148">fsm_s::dnlx</a>, <a class="el" href="system_8h-source.html#l00100">errno</a>, <a class="el" href="fsm_8h-source.html#l00154">fsm_s::exists</a>, <a class="el" href="fsm_8c-source.html#l00670">expandRegular</a>(), <a class="el" href="rpmlib_8h.html#a501a309">FA_ERASE</a>, <a class="el" href="rpmlib_8h.html#a501a301">FA_UNKNOWN</a>, <a class="el" href="fsm_8h-source.html#l00141">fsm_s::failedFile</a>, <a class="el" href="rpmio_8c-source.html#l02685">Fclose</a>(), <a class="el" href="rpmio__internal_8h-source.html#l00421">fdGetCpioPos</a>(), <a class="el" href="rpmio__internal_8h-source.html#l00431">fdSetCpioPos</a>(), <a class="el" href="rpmio_8c-source.html#l03045">Ferror</a>(), <a class="el" href="fsm_8h-source.html#l00163">fsm_s::fflags</a>, <a class="el" href="fsm_8h.html#a9">fileStage</a>, <a class="el" href="fsm_8c-source.html#l02151">fileStageString</a>(), <a class="el" href="fsm_8h-source.html#l00098">hardLink_s::filex</a>, <a class="el" href="psm_8c-source.html#l00235">fiTypeString</a>(), <a class="el" href="psm_8h-source.html#l00063">transactionFileInfo_s::fmodes</a>, <a class="el" href="psm_8h-source.html#l00047">transactionFileInfo_s::fmtimes</a>, <a class="el" href="rpmio_8c-source.html#l02948">Fopen</a>(), <a class="el" href="rpmio_8c-source.html#l02599">Fread</a>(), <a class="el" href="fsm_8c-source.html#l00422">freeHardLink</a>(), <a class="el" href="fsm_8h.html#a73a37">FSM_CHMOD</a>, <a class="el" href="fsm_8h.html#a73a35">FSM_CHOWN</a>, <a class="el" href="fsm_8h.html#a73a46">FSM_CHROOT</a>, <a class="el" href="fsm_8h.html#a73a30">FSM_COMMIT</a>, <a class="el" href="fsm_8h.html#a73a22">FSM_CREATE</a>, <a class="el" href="fsm_8h-source.html#l00021">FSM_DEAD</a>, <a class="el" href="fsm_8h.html#a73a28">FSM_DESTROY</a>, <a class="el" href="fsm_8h.html#a73a54">FSM_DREAD</a>, <a class="el" href="fsm_8h.html#a73a55">FSM_DWRITE</a>, <a class="el" href="fsm_8h.html#a73a48">FSM_EAT</a>, <a class="el" href="fsm_8h.html#a73a16">FSM_FINI</a>, <a class="el" href="fsm_8h.html#a73a52">FSM_HREAD</a>, <a class="el" href="fsm_8h.html#a73a53">FSM_HWRITE</a>, <a class="el" href="fsm_8h.html#a73a11">FSM_INIT</a>, <a class="el" href="fsm_8h-source.html#l00019">FSM_INTERNAL</a>, <a class="el" href="fsm_8h.html#a73a36">FSM_LCHOWN</a>, <a class="el" href="fsm_8h.html#a73a40">FSM_LINK</a>, <a class="el" href="fsm_8h.html#a73a43">FSM_LSTAT</a>, <a class="el" href="fsm_8h.html#a73a23">FSM_MAP</a>, <a class="el" href="fsm_8h.html#a73a33">FSM_MKDIR</a>, <a class="el" href="fsm_8h.html#a73a24">FSM_MKDIRS</a>, <a class="el" href="fsm_8h.html#a73a41">FSM_MKFIFO</a>, <a class="el" href="fsm_8h.html#a73a26">FSM_MKLINKS</a>, <a class="el" href="fsm_8h.html#a73a42">FSM_MKNOD</a>, <a class="el" href="fsm_8h.html#a73a47">FSM_NEXT</a>, <a class="el" href="fsm_8h.html#a73a27">FSM_NOTIFY</a>, <a class="el" href="fsm_8h.html#a73a50">FSM_PAD</a>, <a class="el" href="fsm_8h.html#a73a19">FSM_PKGBUILD</a>, <a class="el" href="fsm_8h.html#a73a20">FSM_PKGCOMMIT</a>, <a class="el" href="fsm_8h.html#a73a18">FSM_PKGERASE</a>, <a class="el" href="fsm_8h.html#a73a17">FSM_PKGINSTALL</a>, <a class="el" href="fsm_8h.html#a73a49">FSM_POS</a>, <a class="el" href="fsm_8h.html#a73a14">FSM_POST</a>, <a class="el" href="fsm_8h.html#a73a12">FSM_PRE</a>, <a class="el" href="fsm_8h.html#a73a13">FSM_PROCESS</a>, <a class="el" href="fsm_8h.html#a73a58">FSM_RCLOSE</a>, <a class="el" href="fsm_8h.html#a73a57">FSM_READ</a>, <a class="el" href="fsm_8h.html#a73a45">FSM_READLINK</a>, <a class="el" href="fsm_8h.html#a73a32">FSM_RENAME</a>, <a class="el" href="fsm_8h.html#a73a34">FSM_RMDIR</a>, <a class="el" href="fsm_8h.html#a73a25">FSM_RMDIRS</a>, <a class="el" href="fsm_8h.html#a73a56">FSM_ROPEN</a>, <a class="el" href="fsm_8h.html#a73a44">FSM_STAT</a>, <a class="el" href="fsm_8h.html#a73a39">FSM_SYMLINK</a>, <a class="el" href="fsm_8h-source.html#l00020">FSM_SYSCALL</a>, <a class="el" href="fsm_8h.html#a73a51">FSM_TRAILER</a>, <a class="el" href="fsm_8h.html#a73a15">FSM_UNDO</a>, <a class="el" href="fsm_8h.html#a73a10">FSM_UNKNOWN</a>, <a class="el" href="fsm_8h.html#a73a31">FSM_UNLINK</a>, <a class="el" href="fsm_8h.html#a73a38">FSM_UTIME</a>, <a class="el" href="fsm_8h-source.html#l00018">FSM_VERBOSE</a>, <a class="el" href="fsm_8h.html#a73a29">FSM_VERIFY</a>, <a class="el" href="fsm_8h.html#a73a61">FSM_WCLOSE</a>, <a class="el" href="fsm_8h.html#a73a59">FSM_WOPEN</a>, <a class="el" href="fsm_8h.html#a73a60">FSM_WRITE</a>, <a class="el" href="fsm_8c-source.html#l00978">fsmCommitLinks</a>(), <a class="el" href="fsm_8c-source.html#l00055">fsmFsPath</a>(), <a class="el" href="fsm_8c-source.html#l00034">fsmGetFi</a>(), <a class="el" href="fsm_8c-source.html#l00027">fsmGetTs</a>(), <a class="el" href="fsm_8c-source.html#l00920">fsmMakeLinks</a>(), <a class="el" href="fsm_8c-source.html#l00616">fsmMapAttrs</a>(), <a class="el" href="fsm_8c-source.html#l00521">fsmMapPath</a>(), <a class="el" href="fsm_8c-source.html#l01072">fsmMkdirs</a>(), <a class="el" href="fsm_8c-source.html#l01021">fsmRmdirs</a>(), <a class="el" href="rpmio_8c-source.html#l02626">Fwrite</a>(), <a class="el" href="fsm_8h-source.html#l00165">fsm_s::goal</a>, <a class="el" href="psm_8h-source.html#l00036">transactionFileInfo_s::h</a>, <a class="el" href="fsm_8c-source.html#l01204">IS_DEV_LOG</a>, <a class="el" href="fsm_8h-source.html#l00136">fsm_s::iter</a>, <a class="el" href="fsm_8h-source.html#l00137">fsm_s::ix</a>, <a class="el" href="depends_8h-source.html#l00060">availablePackage::key</a>, <a class="el" href="system_8h-source.html#l00538">lchown</a>, <a class="el" href="fsm_8h-source.html#l00149">fsm_s::ldn</a>, <a class="el" href="fsm_8h-source.html#l00151">fsm_s::ldnalloc</a>, <a class="el" href="fsm_8h-source.html#l00150">fsm_s::ldnlen</a>, <a class="el" href="fsm_8h-source.html#l00139">fsm_s::li</a>, <a class="el" href="rpmrpc_8c-source.html#l00187">Link</a>(), <a class="el" href="fsm_8h-source.html#l00102">hardLink_s::linkIndex</a>, <a class="el" href="fsm_8h-source.html#l00138">fsm_s::links</a>, <a class="el" href="fsm_8h-source.html#l00101">hardLink_s::linksLeft</a>, <a class="el" href="rpmrpc_8c-source.html#l01089">Lstat</a>(), <a class="el" href="fsm_8c-source.html#l00161">mapFind</a>(), <a class="el" href="fsm_8h-source.html#l00159">fsm_s::mapFlags</a>, <a class="el" href="fsm_8c-source.html#l00122">mapNextIterator</a>(), <a class="el" href="rpmrpc_8c-source.html#l00069">Mkdir</a>(), <a class="el" href="fsm_8h-source.html#l00155">fsm_s::mkdirsdone</a>, <a class="el" href="fsm_8h-source.html#l00096">hardLink_s::next</a>, <a class="el" href="fsm_8h-source.html#l00100">hardLink_s::nlink</a>, <a class="el" href="depends_8h-source.html#l00140">rpmTransactionSet_s::notify</a>, <a class="el" href="depends_8h-source.html#l00142">rpmTransactionSet_s::notifyData</a>, <a class="el" href="fsm_8h-source.html#l00145">fsm_s::nsuffix</a>, <a class="el" href="fsm_8h-source.html#l00122">fsm_s::opath</a>, <a class="el" href="fsm_8h-source.html#l00168">fsm_s::osb</a>, <a class="el" href="fsm_8h-source.html#l00144">fsm_s::osuffix</a>, <a class="el" href="fsm_8h-source.html#l00121">fsm_s::path</a>, <a class="el" href="fsm_8h-source.html#l00152">fsm_s::postpone</a>, <a class="el" href="fsm_8h-source.html#l00157">fsm_s::rc</a>, <a class="el" href="fsm_8h-source.html#l00126">fsm_s::rdb</a>, <a class="el" href="fsm_8h-source.html#l00125">fsm_s::rdbuf</a>, <a class="el" href="fsm_8h-source.html#l00128">fsm_s::rdlen</a>, <a class="el" href="fsm_8h-source.html#l00129">fsm_s::rdnb</a>, <a class="el" href="fsm_8h-source.html#l00127">fsm_s::rdsize</a>, <a class="el" href="rpmrpc_8c-source.html#l01114">Readlink</a>(), <a class="el" href="rpmrpc_8c-source.html#l00140">Rename</a>(), <a class="el" href="fsm_8h-source.html#l00124">fsm_s::rfd</a>, <a class="el" href="rpmrpc_8c-source.html#l00115">Rmdir</a>(), <a class="el" href="rpmmessages_8h.html#a31a18">RPMCALLBACK_INST_PROGRESS</a>, <a class="el" href="rpmerr_8h.html#a91a89">RPMDEBUG_RMDIR</a>, <a class="el" href="rpmerr_8h.html#a91a88">RPMDEBUG_UNLINK</a>, <a class="el" href="rpmerr_8h.html#a91a26">RPMERR_RMDIR</a>, <a class="el" href="rpmerr_8h.html#a91a25">RPMERR_UNLINK</a>, <a class="el" href="rpmerr_8h-source.html#l00140">rpmError</a>, <a class="el" href="rpmlib_8h.html#a496a246">RPMFILE_MISSINGOK</a>, <a class="el" href="rpmmessages_8h-source.html#l00011">RPMMESS_DEBUG</a>, <a class="el" href="rpmmessages_8h-source.html#l00014">RPMMESS_WARNING</a>, <a class="el" href="rpmmessages_8h-source.html#l00020">rpmMessage</a>, <a class="el" href="system_8h-source.html#l00502">S_ISLNK</a>, <a class="el" href="system_8h-source.html#l00506">S_ISSOCK</a>, <a class="el" href="fsm_8c-source.html#l00335">saveHardLink</a>(), <a class="el" href="fsm_8h-source.html#l00099">hardLink_s::sb</a>, <a class="el" href="fsm_8h-source.html#l00167">fsm_s::sb</a>, <a class="el" href="fsm_8h-source.html#l00166">fsm_s::stage</a>, <a class="el" href="rpmrpc_8c-source.html#l01064">Stat</a>(), <a class="el" href="system_8h.html#a32">stpcpy</a>(), <a class="el" href="fsm_8c-source.html#l00024">strict_erasures</a>, <a class="el" href="fsm_8h-source.html#l00142">fsm_s::subdir</a>, <a class="el" href="fsm_8h-source.html#l00147">fsm_s::sufbuf</a>, <a class="el" href="fsm_8h-source.html#l00146">fsm_s::suffix</a>, <a class="el" href="depends_8h-source.html#l00139">rpmTransactionSet_s::transFlags</a>, <a class="el" href="rpmrpc_8c-source.html#l00231">Unlink</a>(), <a class="el" href="fsm_8h-source.html#l00130">fsm_s::wfd</a>, <a class="el" href="fsm_8h-source.html#l00132">fsm_s::wrb</a>, <a class="el" href="fsm_8h-source.html#l00131">fsm_s::wrbuf</a>, <a class="el" href="fsm_8c-source.html#l00734">writeFile</a>(), <a class="el" href="fsm_8c-source.html#l00876">writeLinkedFile</a>(), <a class="el" href="fsm_8h-source.html#l00134">fsm_s::wrlen</a>, <a class="el" href="fsm_8h-source.html#l00135">fsm_s::wrnb</a>, <a class="el" href="fsm_8h-source.html#l00133">fsm_s::wrsize</a>, <a class="el" href="rpmlib_8h-source.html#l01202">XFA_SKIPPING</a>, <a class="el" href="rpmmalloc_8c-source.html#l00024">xmalloc</a>(), and <a class="el" href="rpmmalloc_8c-source.html#l00055">xstrdup</a>().
<p>
Referenced by <a class="el" href="cpio_8c-source.html#l00118">cpioHeaderRead</a>(), <a class="el" href="cpio_8c-source.html#l00082">cpioHeaderWrite</a>(), <a class="el" href="cpio_8c-source.html#l00056">cpioTrailerWrite</a>(), <a class="el" href="fsm_8c-source.html#l00670">expandRegular</a>(), <a class="el" href="fsm_8c-source.html#l00978">fsmCommitLinks</a>(), <a class="el" href="fsm_8c-source.html#l00920">fsmMakeLinks</a>(), <a class="el" href="fsm_8c-source.html#l01072">fsmMkdirs</a>(), <a class="el" href="fsm_8c-source.html#l01021">fsmRmdirs</a>(), <a class="el" href="fsm_8c-source.html#l00454">fsmSetup</a>(), <a class="el" href="fsm_8c-source.html#l00504">fsmTeardown</a>(), <a class="el" href="fsm_8c-source.html#l00335">saveHardLink</a>(), <a class="el" href="fsm_8c-source.html#l00734">writeFile</a>(), and <a class="el" href="fsm_8c-source.html#l00876">writeLinkedFile</a>().    </td>
  </tr>
</table>
<a name="a67" doxytag="fsm.h::fsmTeardown"></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 fsmTeardown </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="group__payload.html#a3">FSM_t</a>&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>fsm</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Clean file state machine.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>fsm</em>&nbsp;</td><td>
file state machine data </td></tr>
</table>
</dl><dl compact><dt><b>Returns :</b></dt><dd>
0 on success </dl>
<p>
Definition at line <a class="el" href="fsm_8c-source.html#l00504">504</a> of file <a class="el" href="fsm_8c-source.html">fsm.c</a>.
<p>
References <a class="el" href="fsm_8h-source.html#l00123">fsm_s::cfd</a>, <a class="el" href="fsm_8h-source.html#l00141">fsm_s::failedFile</a>, <a class="el" href="rpmio_8h-source.html#l00504">fdFree</a>, <a class="el" href="fsm_8h.html#a73a28">FSM_DESTROY</a>, <a class="el" href="fsm_8c-source.html#l01211">fsmStage</a>(), <a class="el" href="fsm_8h-source.html#l00136">fsm_s::iter</a>, <a class="el" href="fsm_8c-source.html#l00088">mapFreeIterator</a>(), and <a class="el" href="fsm_8h-source.html#l00157">fsm_s::rc</a>.
<p>
Referenced by <a class="el" href="pack_8c-source.html#l00048">cpio_doio</a>(), and <a class="el" href="psm_8c-source.html#l01345">psmStage</a>().    </td>
  </tr>
</table>
<a name="a64" doxytag="fsm.h::newFSM"></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"> <a class="el" href="group__payload.html#a3">FSM_t</a> newFSM </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Create file state machine instance.
<p>
<dl compact><dt><b>Returns :</b></dt><dd>
file state machine data </dl>
<p>
Definition at line <a class="el" href="fsm_8c-source.html#l00432">432</a> of file <a class="el" href="fsm_8c-source.html">fsm.c</a>.
<p>
References <a class="el" href="rpmmalloc_8c-source.html#l00034">xcalloc</a>().
<p>
Referenced by <a class="el" href="psm_8c-source.html#l00072">loadFi</a>().    </td>
  </tr>
</table>
<hr><h2>Variable Documentation</h2>
<a name="a8" doxytag="fsm.h::_fsm_debug"></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 _fsm_debug
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="fsm_8h-source.html#l00013">13</a> of file <a class="el" href="fsm_8h-source.html">fsm.h</a>.
<p>
Referenced by <a class="el" href="fsm_8c-source.html#l01211">fsmStage</a>().    </td>
  </tr>
</table>
<hr><address style="align: right;"><small>Generated on Thu Sep 12 22:15:05 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>