Sophie

Sophie

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

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>names.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>build/names.c File Reference</h1>Simple user/group name/id cache (plus hostname and buildtime). 
<a href="#_details">More...</a>
<p>
<code>#include "<a class="el" href="system_8h-source.html">system.h</a>"</code><br>
<code>#include "<a class="el" href="rpmbuild_8h-source.html">rpmbuild.h</a>"</code><br>
<code>#include "<a class="el" href="debug_8h-source.html">debug.h</a>"</code><br>

<p>
<a href="names_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>Typedefs</h2></td></tr>
<tr><td nowrap align=right valign=top>typedef const char *&nbsp;</td><td valign=bottom><a class="el" href="names_8c.html#a0">ugstr_t</a></td></tr>
<tr><td colspan=2><br><h2>Functions</h2></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="group__rpmbuild.html#a12">freeNames</a> (void)</td></tr>
<tr><td nowrap align=right valign=top>const char *&nbsp;</td><td valign=bottom><a class="el" href="group__rpmbuild.html#a13">getUname</a> (uid_t uid)</td></tr>
<tr><td nowrap align=right valign=top>const char *&nbsp;</td><td valign=bottom><a class="el" href="group__rpmbuild.html#a14">getUnameS</a> (const char *uname)</td></tr>
<tr><td nowrap align=right valign=top>uid_t&nbsp;</td><td valign=bottom><a class="el" href="group__rpmbuild.html#a15">getUidS</a> (const char *uname)</td></tr>
<tr><td nowrap align=right valign=top>const char *&nbsp;</td><td valign=bottom><a class="el" href="group__rpmbuild.html#a16">getGname</a> (gid_t gid)</td></tr>
<tr><td nowrap align=right valign=top>const char *&nbsp;</td><td valign=bottom><a class="el" href="group__rpmbuild.html#a17">getGnameS</a> (const char *gname)</td></tr>
<tr><td nowrap align=right valign=top>gid_t&nbsp;</td><td valign=bottom><a class="el" href="group__rpmbuild.html#a18">getGidS</a> (const char *gname)</td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="header_8h.html#a9">int_32</a> *const&nbsp;</td><td valign=bottom><a class="el" href="group__rpmbuild.html#a20">getBuildTime</a> (void)</td></tr>
<tr><td nowrap align=right valign=top>const char *const&nbsp;</td><td valign=bottom><a class="el" href="group__rpmbuild.html#a19">buildHost</a> (void)</td></tr>
<tr><td colspan=2><br><h2>Variables</h2></td></tr>
<tr><td nowrap align=right valign=top>uid_t&nbsp;</td><td valign=bottom><a class="el" href="names_8c.html#a1">uids</a> [1024]</td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="names_8c.html#a0">ugstr_t</a>&nbsp;</td><td valign=bottom><a class="el" href="names_8c.html#a2">unames</a> [1024]</td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="names_8c.html#a3">uid_used</a> = 0</td></tr>
<tr><td nowrap align=right valign=top>gid_t&nbsp;</td><td valign=bottom><a class="el" href="names_8c.html#a4">gids</a> [1024]</td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="names_8c.html#a0">ugstr_t</a>&nbsp;</td><td valign=bottom><a class="el" href="names_8c.html#a5">gnames</a> [1024]</td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="names_8c.html#a6">gid_used</a> = 0</td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Simple user/group name/id cache (plus hostname and buildtime).
<p>

<p>

<p>
Definition in file <a class="el" href="names_8c-source.html">names.c</a>.<hr><h2>Typedef Documentation</h2>
<a name="a0" doxytag="names.c::ugstr_t"></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 const char* ugstr_t
      </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="names_8c-source.html#l00013">13</a> of file <a class="el" href="names_8c-source.html">names.c</a>.    </td>
  </tr>
</table>
<hr><h2>Variable Documentation</h2>
<a name="a6" doxytag="names.c::gid_used"></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 gid_used = 0<code> [static]</code>
      </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="names_8c-source.html#l00027">27</a> of file <a class="el" href="names_8c-source.html">names.c</a>.
<p>
Referenced by <a class="el" href="names_8c-source.html#l00029">freeNames</a>(), <a class="el" href="names_8c-source.html#l00148">getGidS</a>(), <a class="el" href="names_8c-source.html#l00104">getGname</a>(), and <a class="el" href="names_8c-source.html#l00126">getGnameS</a>().    </td>
  </tr>
</table>
<a name="a4" doxytag="names.c::gids"></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"> gid_t gids[1024]<code> [static]</code>
      </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="names_8c-source.html#l00023">23</a> of file <a class="el" href="names_8c-source.html">names.c</a>.
<p>
Referenced by <a class="el" href="names_8c-source.html#l00148">getGidS</a>(), <a class="el" href="names_8c-source.html#l00104">getGname</a>(), and <a class="el" href="names_8c-source.html#l00126">getGnameS</a>().    </td>
  </tr>
</table>
<a name="a5" doxytag="names.c::gnames"></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="names_8c.html#a0">ugstr_t</a> gnames[1024]<code> [static]</code>
      </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="names_8c-source.html#l00025">25</a> of file <a class="el" href="names_8c-source.html">names.c</a>.
<p>
Referenced by <a class="el" href="names_8c-source.html#l00029">freeNames</a>(), <a class="el" href="names_8c-source.html#l00148">getGidS</a>(), <a class="el" href="names_8c-source.html#l00104">getGname</a>(), and <a class="el" href="names_8c-source.html#l00126">getGnameS</a>().    </td>
  </tr>
</table>
<a name="a3" doxytag="names.c::uid_used"></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 uid_used = 0<code> [static]</code>
      </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="names_8c-source.html#l00020">20</a> of file <a class="el" href="names_8c-source.html">names.c</a>.
<p>
Referenced by <a class="el" href="names_8c-source.html#l00029">freeNames</a>(), <a class="el" href="names_8c-source.html#l00082">getUidS</a>(), <a class="el" href="names_8c-source.html#l00038">getUname</a>(), and <a class="el" href="names_8c-source.html#l00060">getUnameS</a>().    </td>
  </tr>
</table>
<a name="a1" doxytag="names.c::uids"></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"> uid_t uids[1024]<code> [static]</code>
      </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="names_8c-source.html#l00016">16</a> of file <a class="el" href="names_8c-source.html">names.c</a>.
<p>
Referenced by <a class="el" href="names_8c-source.html#l00082">getUidS</a>(), <a class="el" href="names_8c-source.html#l00038">getUname</a>(), and <a class="el" href="names_8c-source.html#l00060">getUnameS</a>().    </td>
  </tr>
</table>
<a name="a2" doxytag="names.c::unames"></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="names_8c.html#a0">ugstr_t</a> unames[1024]<code> [static]</code>
      </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="names_8c-source.html#l00018">18</a> of file <a class="el" href="names_8c-source.html">names.c</a>.
<p>
Referenced by <a class="el" href="names_8c-source.html#l00029">freeNames</a>(), <a class="el" href="names_8c-source.html#l00082">getUidS</a>(), <a class="el" href="names_8c-source.html#l00038">getUname</a>(), and <a class="el" href="names_8c-source.html#l00060">getUnameS</a>().    </td>
  </tr>
</table>
<hr><address style="align: right;"><small>Generated on Thu Sep 12 22:15:03 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>