Sophie

Sophie

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

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>tagName.c 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/tagName.c File Reference</h1> 
<a href="#_details">More...</a>
<p>
<code>#include "<a class="el" href="system_8h-source.html">system.h</a>"</code><br>
<code>#include &lt;<a class="el" href="rpmlib_8h-source.html">rpmlib.h</a>&gt;</code><br>
<code>#include "<a class="el" href="debug_8h-source.html">debug.h</a>"</code><br>

<p>
<a href="tagName_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>Functions</h2></td></tr>
<tr><td nowrap align=right valign=top>const char *const&nbsp;</td><td valign=bottom><a class="el" href="tagName_8c.html#a0">tagName</a> (int tag)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Return name of tag from value.</em> <a href="#a0"></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="tagName_8c.html#a1">tagValue</a> (const char *tagstr)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Return value of tag from name.</em> <a href="#a1"></a><em></em></font><br><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>

<p>

<p>
Definition in file <a class="el" href="tagName_8c-source.html">tagName.c</a>.<hr><h2>Function Documentation</h2>
<a name="a0" doxytag="tagName.c::tagName"></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 tagName </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">int&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>tag</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 name of tag from value.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>tag</em>&nbsp;</td><td>
tag value </td></tr>
</table>
</dl><dl compact><dt><b>Returns :</b></dt><dd>
name of tag </dl>
<p>
Definition at line <a class="el" href="tagName_8c-source.html#l00010">10</a> of file <a class="el" href="tagName_8c-source.html">tagName.c</a>.
<p>
References <a class="el" href="rpmlib_8h-source.html#l00207">RPMDBI_ADDED</a>, <a class="el" href="rpmlib_8h-source.html#l00209">RPMDBI_AVAILABLE</a>, <a class="el" href="rpmlib_8h-source.html#l00205">RPMDBI_DEPENDS</a>, <a class="el" href="rpmlib_8h-source.html#l00204">RPMDBI_PACKAGES</a>, <a class="el" href="rpmlib_8h-source.html#l00208">RPMDBI_REMOVED</a>, <a class="el" href="system_8h-source.html#l00359">setlocale</a>, and <a class="el" href="rpmio_8h-source.html#l00637">xtolower</a>().
<p>
Referenced by <a class="el" href="parsePreamble_8c-source.html#l00286">checkForDuplicates</a>(), <a class="el" href="parsePreamble_8c-source.html#l00262">checkForRequired</a>(), <a class="el" href="rpmdb_8c-source.html#l03112">db1basename</a>(), <a class="el" href="db3_8c-source.html#l00657">db3close</a>(), <a class="el" href="dbconfig_8c-source.html#l00337">db3New</a>(), <a class="el" href="db3_8c-source.html#l00805">db3open</a>(), <a class="el" href="rpmdb_8c-source.html#l00227">dbiCclose</a>(), <a class="el" href="rpmdb_8c-source.html#l00382">dbiClose</a>(), <a class="el" href="rpmdb_8c-source.html#l00220">dbiCopen</a>(), <a class="el" href="rpmdb_8c-source.html#l00356">dbiCount</a>(), <a class="el" href="rpmdb_8c-source.html#l00234">dbiDel</a>(), <a class="el" href="rpmdb_8c-source.html#l00252">dbiGet</a>(), <a class="el" href="rpmdb_8c-source.html#l00388">dbiOpen</a>(), <a class="el" href="rpmdb_8c-source.html#l00305">dbiPut</a>(), <a class="el" href="rpmdb_8c-source.html#l00522">dbiSearch</a>(), <a class="el" href="rpmdb_8c-source.html#l00208">dbiSync</a>(), <a class="el" href="rpmdb_8c-source.html#l00612">dbiUpdateIndex</a>(), <a class="el" href="rpmdb_8c-source.html#l00367">dbiVerify</a>(), <a class="el" href="formats_8c-source.html#l00588">i18nTag</a>(), <a class="el" href="query_8c-source.html#l00406">printNewSpecfile</a>(), <a class="el" href="rpmdb_8c-source.html#l02691">rpmdbAdd</a>(), <a class="el" href="rpmdb_8c-source.html#l02283">rpmdbInitIterator</a>(), <a class="el" href="rpmdb_8c-source.html#l03237">rpmdbMoveDatabase</a>(), <a class="el" href="rpmdb_8c-source.html#l02423">rpmdbRemove</a>(), <a class="el" href="rpmdb_8c-source.html#l03173">rpmdbRemoveDatabase</a>(), <a class="el" href="lib_2misc_8c-source.html#l00627">rpmHeaderGetEntry</a>(), and <a class="el" href="parsePreamble_8c-source.html#l00401">stashSt</a>().    </td>
  </tr>
</table>
<a name="a1" doxytag="tagName.c::tagValue"></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 tagValue </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const char *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>tagstr</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 value of tag from name.
<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>tagstr</em>&nbsp;</td><td>
name of tag </td></tr>
</table>
</dl><dl compact><dt><b>Returns :</b></dt><dd>
tag value </dl>
<p>
Definition at line <a class="el" href="tagName_8c-source.html#l00062">62</a> of file <a class="el" href="tagName_8c-source.html">tagName.c</a>.
<p>
References <a class="el" href="header_8h-source.html#l00132">headerTagTableEntry_s::name</a>, <a class="el" href="rpmlib_8h-source.html#l00207">RPMDBI_ADDED</a>, <a class="el" href="rpmlib_8h-source.html#l00209">RPMDBI_AVAILABLE</a>, <a class="el" href="rpmlib_8h-source.html#l00205">RPMDBI_DEPENDS</a>, <a class="el" href="rpmlib_8h-source.html#l00204">RPMDBI_PACKAGES</a>, <a class="el" href="rpmlib_8h-source.html#l00208">RPMDBI_REMOVED</a>, <a class="el" href="system_8h-source.html#l00359">setlocale</a>, <a class="el" href="header_8h-source.html#l00133">headerTagTableEntry_s::val</a>, and <a class="el" href="strcasecmp_8c-source.html#l00009">xstrcasecmp</a>().
<p>
Referenced by <a class="el" href="rpmdb_8c-source.html#l00118">dbiTagsInit</a>().    </td>
  </tr>
</table>
<hr><address style="align: right;"><small>Generated on Thu Sep 12 22:15:06 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>