Sophie

Sophie

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

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: python/rpmmi-py.c 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>python/rpmmi-py.c File Reference</h1><code>#include &quot;system.h&quot;</code><br>
<code>#include &lt;<a class="el" href="rpmlib_8h-source.html">rpmlib.h</a>&gt;</code><br>
<code>#include &lt;<a class="el" href="rpmdb_8h-source.html">rpmdb.h</a>&gt;</code><br>
<code>#include &quot;<a class="el" href="rpmmi-py_8h-source.html">rpmmi-py.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="header-py_8h-source.html">header-py.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="debug_8h-source.html">debug.h</a>&quot;</code><br>

<p>
<a href="rpmmi-py_8c-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>Class: Rpmmi</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static PyObject *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="rpmmi-py_8c.html#d186f2f60de592987fc5ccb0a2a7a8e3">rpmmi_iter</a> (<a class="el" href="structrpmmiObject__s.html">rpmmiObject</a> *s)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static PyObject *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="rpmmi-py_8c.html#b6b84c38168c8b3fd18d8c05dc13dc17">rpmmi_iternext</a> (<a class="el" href="structrpmmiObject__s.html">rpmmiObject</a> *s)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static PyObject *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="rpmmi-py_8c.html#ff3130489f54f303e195068ff5804843">rpmmi_Next</a> (<a class="el" href="structrpmmiObject__s.html">rpmmiObject</a> *s)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static PyObject *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="rpmmi-py_8c.html#7b1021341b68814a084f8f556a20f156">rpmmi_Instance</a> (<a class="el" href="structrpmmiObject__s.html">rpmmiObject</a> *s)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static PyObject *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="rpmmi-py_8c.html#215fb6fcb8749557736757f192488e5b">rpmmi_Count</a> (<a class="el" href="structrpmmiObject__s.html">rpmmiObject</a> *s)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static PyObject *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="rpmmi-py_8c.html#924e8dbed9a53c9f5cbb7c58d54d970f">rpmmi_Pattern</a> (<a class="el" href="structrpmmiObject__s.html">rpmmiObject</a> *s, PyObject *args, PyObject *kwds)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__py__c.html#gbbc5a8a7720abd79e88e497b2563fb4e">rpmmi_dealloc</a> (<a class="el" href="structrpmmiObject__s.html">rpmmiObject</a> *s)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static PyObject *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="rpmmi-py_8c.html#b15bc2fd733937612b867496ddd0a2db">rpmmi_getattro</a> (PyObject *o, PyObject *n)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="rpmmi-py_8c.html#a1c3406c2ae5bc0abf38a139932f9e7c">rpmmi_setattro</a> (PyObject *o, PyObject *n, PyObject *v)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structrpmmiObject__s.html">rpmmiObject</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="rpmmi-py_8c.html#211cb25e1e77277e59d72a8b17934559">rpmmi_Wrap</a> (<a class="el" href="struct__rpmdbMatchIterator.html">rpmdbMatchIterator</a> mi, PyObject *s)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static struct PyMethodDef&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__py__c.html#g878ebb7c07631b1b0d66abe1f1e2f7ca">rpmmi_methods</a> []</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static char&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="rpmmi-py_8c.html#8541843d62f718fbfff0458a9b9051d0">rpmmi_doc</a> []</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">PyTypeObject&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__py__c.html#ge62457121feda3f86dab2e9457fbd12f">rpmmi_Type</a></td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>

<p>
Definition in file <a class="el" href="rpmmi-py_8c-source.html">rpmmi-py.c</a>.<hr><h2>Function Documentation</h2>
<a class="anchor" name="215fb6fcb8749557736757f192488e5b"></a><!-- doxytag: member="rpmmi-py.c::rpmmi_Count" ref="215fb6fcb8749557736757f192488e5b" args="(rpmmiObject *s)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static PyObject* rpmmi_Count           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structrpmmiObject__s.html">rpmmiObject</a> *&nbsp;</td>
          <td class="paramname"> <em>s</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="rpmmi-py_8c-source.html#l00134">134</a> of file <a class="el" href="rpmmi-py_8c-source.html">rpmmi-py.c</a>.
<p>
References <a class="el" href="rpmmi-py_8h-source.html#l00018">rpmmiObject_s::mi</a>, and <a class="el" href="rpmdb_8c-source.html#l01756">rpmdbGetIteratorCount()</a>.
</div>
</div><p>
<a class="anchor" name="b15bc2fd733937612b867496ddd0a2db"></a><!-- doxytag: member="rpmmi-py.c::rpmmi_getattro" ref="b15bc2fd733937612b867496ddd0a2db" args="(PyObject *o, PyObject *n)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static PyObject* rpmmi_getattro           </td>
          <td>(</td>
          <td class="paramtype">PyObject *&nbsp;</td>
          <td class="paramname"> <em>o</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">PyObject *&nbsp;</td>
          <td class="paramname"> <em>n</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="rpmmi-py_8c-source.html#l00207">207</a> of file <a class="el" href="rpmmi-py_8c-source.html">rpmmi-py.c</a>.
</div>
</div><p>
<a class="anchor" name="7b1021341b68814a084f8f556a20f156"></a><!-- doxytag: member="rpmmi-py.c::rpmmi_Instance" ref="7b1021341b68814a084f8f556a20f156" args="(rpmmiObject *s)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static PyObject* rpmmi_Instance           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structrpmmiObject__s.html">rpmmiObject</a> *&nbsp;</td>
          <td class="paramname"> <em>s</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="rpmmi-py_8c-source.html#l00119">119</a> of file <a class="el" href="rpmmi-py_8c-source.html">rpmmi-py.c</a>.
<p>
References <a class="el" href="rpmmi-py_8h-source.html#l00018">rpmmiObject_s::mi</a>, and <a class="el" href="rpmdb_8c-source.html#l01748">rpmdbGetIteratorOffset()</a>.
</div>
</div><p>
<a class="anchor" name="d186f2f60de592987fc5ccb0a2a7a8e3"></a><!-- doxytag: member="rpmmi-py.c::rpmmi_iter" ref="d186f2f60de592987fc5ccb0a2a7a8e3" args="(rpmmiObject *s)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static PyObject* rpmmi_iter           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structrpmmiObject__s.html">rpmmiObject</a> *&nbsp;</td>
          <td class="paramname"> <em>s</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="rpmmi-py_8c-source.html#l00072">72</a> of file <a class="el" href="rpmmi-py_8c-source.html">rpmmi-py.c</a>.
</div>
</div><p>
<a class="anchor" name="b6b84c38168c8b3fd18d8c05dc13dc17"></a><!-- doxytag: member="rpmmi-py.c::rpmmi_iternext" ref="b6b84c38168c8b3fd18d8c05dc13dc17" args="(rpmmiObject *s)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static PyObject* rpmmi_iternext           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structrpmmiObject__s.html">rpmmiObject</a> *&nbsp;</td>
          <td class="paramname"> <em>s</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="rpmmi-py_8c-source.html#l00083">83</a> of file <a class="el" href="rpmmi-py_8c-source.html">rpmmi-py.c</a>.
<p>
References <a class="el" href="header-py_8c-source.html#l00703">hdr_Wrap()</a>, <a class="el" href="rpmmi-py_8h-source.html#l00018">rpmmiObject_s::mi</a>, <a class="el" href="rpmdb_8c-source.html#l01694">rpmdbFreeIterator()</a>, and <a class="el" href="rpmdb_8c-source.html#l02183">rpmdbNextIterator()</a>.
<p>
Referenced by <a class="el" href="rpmmi-py_8c-source.html#l00100">rpmmi_Next()</a>.
</div>
</div><p>
<a class="anchor" name="ff3130489f54f303e195068ff5804843"></a><!-- doxytag: member="rpmmi-py.c::rpmmi_Next" ref="ff3130489f54f303e195068ff5804843" args="(rpmmiObject *s)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static PyObject* rpmmi_Next           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structrpmmiObject__s.html">rpmmiObject</a> *&nbsp;</td>
          <td class="paramname"> <em>s</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="rpmmi-py_8c-source.html#l00100">100</a> of file <a class="el" href="rpmmi-py_8c-source.html">rpmmi-py.c</a>.
<p>
References <a class="el" href="rpmmi-py_8c-source.html#l00083">rpmmi_iternext()</a>.
</div>
</div><p>
<a class="anchor" name="924e8dbed9a53c9f5cbb7c58d54d970f"></a><!-- doxytag: member="rpmmi-py.c::rpmmi_Pattern" ref="924e8dbed9a53c9f5cbb7c58d54d970f" args="(rpmmiObject *s, PyObject *args, PyObject *kwds)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static PyObject* rpmmi_Pattern           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structrpmmiObject__s.html">rpmmiObject</a> *&nbsp;</td>
          <td class="paramname"> <em>s</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">PyObject *&nbsp;</td>
          <td class="paramname"> <em>args</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">PyObject *&nbsp;</td>
          <td class="paramname"> <em>kwds</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="rpmmi-py_8c-source.html#l00149">149</a> of file <a class="el" href="rpmmi-py_8c-source.html">rpmmi-py.c</a>.
<p>
References <a class="el" href="rpmmi-py_8h-source.html#l00018">rpmmiObject_s::mi</a>, <a class="el" href="rpmdb_8c-source.html#l01915">rpmdbSetIteratorRE()</a>, and <a class="el" href="header-py_8c-source.html#l00438">tagNumFromPyObject()</a>.
</div>
</div><p>
<a class="anchor" name="a1c3406c2ae5bc0abf38a139932f9e7c"></a><!-- doxytag: member="rpmmi-py.c::rpmmi_setattro" ref="a1c3406c2ae5bc0abf38a139932f9e7c" args="(PyObject *o, PyObject *n, PyObject *v)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static int rpmmi_setattro           </td>
          <td>(</td>
          <td class="paramtype">PyObject *&nbsp;</td>
          <td class="paramname"> <em>o</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">PyObject *&nbsp;</td>
          <td class="paramname"> <em>n</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">PyObject *&nbsp;</td>
          <td class="paramname"> <em>v</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="rpmmi-py_8c-source.html#l00213">213</a> of file <a class="el" href="rpmmi-py_8c-source.html">rpmmi-py.c</a>.
</div>
</div><p>
<a class="anchor" name="211cb25e1e77277e59d72a8b17934559"></a><!-- doxytag: member="rpmmi-py.c::rpmmi_Wrap" ref="211cb25e1e77277e59d72a8b17934559" args="(rpmdbMatchIterator mi, PyObject *s)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structrpmmiObject__s.html">rpmmiObject</a>* rpmmi_Wrap           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct__rpmdbMatchIterator.html">rpmdbMatchIterator</a>&nbsp;</td>
          <td class="paramname"> <em>mi</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">PyObject *&nbsp;</td>
          <td class="paramname"> <em>s</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>

<p>
Definition at line <a class="el" href="rpmmi-py_8c-source.html#l00275">275</a> of file <a class="el" href="rpmmi-py_8c-source.html">rpmmi-py.c</a>.
<p>
References <a class="el" href="rpmmi-py_8h-source.html#l00018">rpmmiObject_s::mi</a>, <a class="el" href="rpmmodule_8c-source.html#l00043">pyrpmError</a>, and <a class="el" href="rpmmi-py_8h-source.html#l00017">rpmmiObject_s::ref</a>.
<p>
Referenced by <a class="el" href="rpmdb-py_8c-source.html#l00110">rpmdb_Match()</a>, and <a class="el" href="rpmts-py_8c-source.html#l01362">rpmts_Match()</a>.
</div>
</div><p>
<hr><h2>Variable Documentation</h2>
<a class="anchor" name="8541843d62f718fbfff0458a9b9051d0"></a><!-- doxytag: member="rpmmi-py.c::rpmmi_doc" ref="8541843d62f718fbfff0458a9b9051d0" args="[]" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char <a class="el" href="rpmmi-py_8c.html#8541843d62f718fbfff0458a9b9051d0">rpmmi_doc</a>[]<code> [static]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<b>Initial value:</b><div class="fragment"><pre class="fragment">
<span class="stringliteral">""</span>
</pre></div>
<p>
Definition at line <a class="el" href="rpmmi-py_8c-source.html#l00222">222</a> of file <a class="el" href="rpmmi-py_8c-source.html">rpmmi-py.c</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>