Sophie

Sophie

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

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: popt/popthelp.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>popt/popthelp.c File Reference</h1><code>#include &quot;system.h&quot;</code><br>
<code>#include &lt;wchar.h&gt;</code><br>
<code>#include &quot;<a class="el" href="poptint_8h-source.html">poptint.h</a>&quot;</code><br>

<p>
<a href="popthelp_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>Data Structures</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpoptDone__s.html">poptDone_s</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Keep track of option tables already processed.  <a href="structpoptDone__s.html#_details">More...</a><br></td></tr>
<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="popthelp_8c.html#a9c6fc28968eaa63d4d01dcece516805">POPT_WCHAR_HACK</a></td></tr>

<tr><td colspan="2"><br><h2>Typedefs</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="structpoptDone__s.html">poptDone_s</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="popthelp_8c.html#095833e428dbdb1bab0a279ddd0ea44a">poptDone</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Keep track of option tables already processed.  <a href="#095833e428dbdb1bab0a279ddd0ea44a"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="popthelp_8c.html#546b475b79bb97345a960b7df01e0cd0">displayArgs</a> (<a class="el" href="structpoptContext__s.html">poptContext</a> con, enum <a class="el" href="popt_8h.html#fe00605489c2aa204cdb5a14e26b3a70">poptCallbackReason</a> foo, struct <a class="el" href="structpoptOption.html">poptOption</a> *key, const char *arg, void *data)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Display arguments.  <a href="#546b475b79bb97345a960b7df01e0cd0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static const char *const&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="popthelp_8c.html#69788418a5dcd4d87ee71b9b87f9ad63">getTableTranslationDomain</a> (const struct <a class="el" href="structpoptOption.html">poptOption</a> *table)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static const char *const&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="popthelp_8c.html#5c03b66a43eb1101aed31762f20a8174">getArgDescrip</a> (const struct <a class="el" href="structpoptOption.html">poptOption</a> *opt, const char *translation_domain)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="popthelp_8c.html#a2e8881f9e6b43edfa30c6b9423cdf10">singleOptionDefaultValue</a> (size_t lineLength, const struct <a class="el" href="structpoptOption.html">poptOption</a> *opt, const char *translation_domain)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Display default value for an option.  <a href="#a2e8881f9e6b43edfa30c6b9423cdf10"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="popthelp_8c.html#d5df4f612e6d202d0d212fa5d7a75b64">singleOptionHelp</a> (FILE *fp, size_t maxLeftCol, const struct <a class="el" href="structpoptOption.html">poptOption</a> *opt, const char *translation_domain)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Display help text for an option.  <a href="#d5df4f612e6d202d0d212fa5d7a75b64"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static size_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="popthelp_8c.html#0d153f092d2293f8a9ef3518888f6377">maxArgWidth</a> (const struct <a class="el" href="structpoptOption.html">poptOption</a> *opt, const char *translation_domain)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Find display width for longest argument string.  <a href="#0d153f092d2293f8a9ef3518888f6377"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="popthelp_8c.html#889db99466ee99d3674da160cbd5bdbe">itemHelp</a> (FILE *fp, <a class="el" href="structpoptItem__s.html">poptItem</a> <a class="el" href="rpmcache_8c.html#5271ba94dbff4b0316cbaf2ca75320e7">items</a>, int <a class="el" href="rpmcache_8c.html#1a693ed191d60c301334b79fa390f5c7">nitems</a>, size_t <a class="el" href="lparser_8c.html#3584754acc5e91c03d6fc91359eefd78">left</a>, const char *translation_domain)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Display popt alias and exec help.  <a href="#889db99466ee99d3674da160cbd5bdbe"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="popthelp_8c.html#d8680e45451a70bd551d76c6f5e8ed3b">singleTableHelp</a> (<a class="el" href="structpoptContext__s.html">poptContext</a> con, FILE *fp, const struct <a class="el" href="structpoptOption.html">poptOption</a> *table, size_t <a class="el" href="lparser_8c.html#3584754acc5e91c03d6fc91359eefd78">left</a>, const char *translation_domain)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Display help text for a table of options.  <a href="#d8680e45451a70bd551d76c6f5e8ed3b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="popthelp_8c.html#4d85394149f33ee77904b2324668645e">showHelpIntro</a> (<a class="el" href="structpoptContext__s.html">poptContext</a> con, FILE *fp)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__popt.html#g5eaa85e1b1bea4dfeaab9b656678cff1">poptPrintHelp</a> (<a class="el" href="structpoptContext__s.html">poptContext</a> con, FILE *fp, int flags)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Print detailed description of options.  <a href="group__popt.html#g5eaa85e1b1bea4dfeaab9b656678cff1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static size_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="popthelp_8c.html#d9b25934254fcf0682683bb16f38667c">singleOptionUsage</a> (FILE *fp, size_t cursor, const struct <a class="el" href="structpoptOption.html">poptOption</a> *opt, const char *translation_domain)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Display usage text for an option.  <a href="#d9b25934254fcf0682683bb16f38667c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static size_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="popthelp_8c.html#ff0d1b159c1ccfa4c1b35d62f9987ae8">itemUsage</a> (FILE *fp, size_t cursor, <a class="el" href="structpoptItem__s.html">poptItem</a> item, int <a class="el" href="rpmcache_8c.html#1a693ed191d60c301334b79fa390f5c7">nitems</a>, const char *translation_domain)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Display popt alias and exec usage.  <a href="#ff0d1b159c1ccfa4c1b35d62f9987ae8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static size_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="popthelp_8c.html#a1b2bcd6ffa2f0abbd31b7838420a656">singleTableUsage</a> (<a class="el" href="structpoptContext__s.html">poptContext</a> con, FILE *fp, size_t cursor, const struct <a class="el" href="structpoptOption.html">poptOption</a> *opt, const char *translation_domain, <a class="el" href="structpoptDone__s.html">poptDone</a> done)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Display usage text for a table of options.  <a href="#a1b2bcd6ffa2f0abbd31b7838420a656"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="popthelp_8c.html#dbfa48edea03204cb9c0eb86235a6c8d">showShortOptions</a> (const struct <a class="el" href="structpoptOption.html">poptOption</a> *opt, FILE *fp, char *str)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return concatenated short options for display.  <a href="#dbfa48edea03204cb9c0eb86235a6c8d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__popt.html#gf802853d2e12fddd81c6960e85cd4897">poptPrintUsage</a> (<a class="el" href="structpoptContext__s.html">poptContext</a> con, FILE *fp, int flags)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Print terse description of options.  <a href="group__popt.html#gf802853d2e12fddd81c6960e85cd4897"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__popt.html#gb65dea0ccd22bf961fa8a4783fdd4a43">poptSetOtherOptionHelp</a> (<a class="el" href="structpoptContext__s.html">poptContext</a> con, const char *text)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Provide text to replace default "[OPTION...]" in help/usage output.  <a href="group__popt.html#gb65dea0ccd22bf961fa8a4783fdd4a43"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Variables</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structpoptOption.html">poptOption</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="popthelp_8c.html#9ed517d031f01767ea12ca51ef8b8a2c">poptAliasOptions</a> []</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Empty table marker to enable displaying popt alias/exec options.  <a href="#9ed517d031f01767ea12ca51ef8b8a2c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structpoptOption.html">poptOption</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="popthelp_8c.html#0c493753b1c5ee878e7addf558874633">poptHelpOptions</a> []</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Auto help table options.  <a href="#0c493753b1c5ee878e7addf558874633"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static struct <a class="el" href="structpoptOption.html">poptOption</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="popthelp_8c.html#305e1481c6cb50dd087f14b628efa455">poptHelpOptions2</a> []</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structpoptOption.html">poptOption</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="popthelp_8c.html#922c332675c30038924eb94b30b2ded5">poptHelpOptionsI18N</a> = <a class="el" href="popthelp_8c.html#305e1481c6cb50dd087f14b628efa455">poptHelpOptions2</a></td></tr>

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

<p>
Definition in file <a class="el" href="popthelp_8c-source.html">popthelp.c</a>.<hr><h2>Define Documentation</h2>
<a class="anchor" name="a9c6fc28968eaa63d4d01dcece516805"></a><!-- doxytag: member="popthelp.c::POPT_WCHAR_HACK" ref="a9c6fc28968eaa63d4d01dcece516805" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define POPT_WCHAR_HACK          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="popthelp_8c-source.html#l00013">13</a> of file <a class="el" href="popthelp_8c-source.html">popthelp.c</a>.
</div>
</div><p>
<hr><h2>Typedef Documentation</h2>
<a class="anchor" name="095833e428dbdb1bab0a279ddd0ea44a"></a><!-- doxytag: member="popthelp.c::poptDone" ref="095833e428dbdb1bab0a279ddd0ea44a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="structpoptDone__s.html">poptDone_s</a> *  <a class="el" href="structpoptDone__s.html">poptDone</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Keep track of option tables already processed. 
<p>

</div>
</div><p>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="546b475b79bb97345a960b7df01e0cd0"></a><!-- doxytag: member="popthelp.c::displayArgs" ref="546b475b79bb97345a960b7df01e0cd0" args="(poptContext con, enum poptCallbackReason foo, struct poptOption *key, const char *arg, void *data)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void displayArgs           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structpoptContext__s.html">poptContext</a>&nbsp;</td>
          <td class="paramname"> <em>con</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">enum <a class="el" href="popt_8h.html#fe00605489c2aa204cdb5a14e26b3a70">poptCallbackReason</a>&nbsp;</td>
          <td class="paramname"> <em>foo</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structpoptOption.html">poptOption</a> *&nbsp;</td>
          <td class="paramname"> <em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>arg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&nbsp;</td>
          <td class="paramname"> <em>data</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>
Display arguments. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>con</em>&nbsp;</td><td>context </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>foo</em>&nbsp;</td><td>(unused) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>key</em>&nbsp;</td><td>option(s) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>arg</em>&nbsp;</td><td>(unused) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>data</em>&nbsp;</td><td>(unused) </td></tr>
  </table>
</dl>

<p>
Definition at line <a class="el" href="popthelp_8c-source.html#l00030">30</a> of file <a class="el" href="popthelp_8c-source.html">popthelp.c</a>.
<p>
References <a class="el" href="popthelp_8c-source.html#l00564">poptPrintHelp()</a>, <a class="el" href="popthelp_8c-source.html#l00785">poptPrintUsage()</a>, and <a class="el" href="popt_8h-source.html#l00117">poptOption::shortName</a>.
</div>
</div><p>
<a class="anchor" name="5c03b66a43eb1101aed31762f20a8174"></a><!-- doxytag: member="popthelp.c::getArgDescrip" ref="5c03b66a43eb1101aed31762f20a8174" args="(const struct poptOption *opt, const char *translation_domain)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static const char* const getArgDescrip           </td>
          <td>(</td>
          <td class="paramtype">const struct <a class="el" href="structpoptOption.html">poptOption</a> *&nbsp;</td>
          <td class="paramname"> <em>opt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>translation_domain</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>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>opt</em>&nbsp;</td><td>option(s) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>translation_domain</em>&nbsp;</td><td>translation domain </td></tr>
  </table>
</dl>

<p>
Definition at line <a class="el" href="popthelp_8c-source.html#l00110">110</a> of file <a class="el" href="popthelp_8c-source.html">popthelp.c</a>.
<p>
References <a class="el" href="popt_8h-source.html#l00125">poptOption::argDescrip</a>, <a class="el" href="popt_8h-source.html#l00118">poptOption::argInfo</a>, <a class="el" href="poptint_8h-source.html#l00110">D_</a>, <a class="el" href="poptint_8h-source.html#l00111">POPT_</a>, <a class="el" href="popt_8h-source.html#l00035">POPT_ARG_DOUBLE</a>, <a class="el" href="popt_8h-source.html#l00034">POPT_ARG_FLOAT</a>, <a class="el" href="popt_8h-source.html#l00022">POPT_ARG_INT</a>, <a class="el" href="popt_8h-source.html#l00023">POPT_ARG_LONG</a>, <a class="el" href="popt_8h-source.html#l00037">POPT_ARG_MASK</a>, <a class="el" href="popt_8h-source.html#l00020">POPT_ARG_NONE</a>, <a class="el" href="popt_8h-source.html#l00021">POPT_ARG_STRING</a>, <a class="el" href="popt_8h-source.html#l00033">POPT_ARG_VAL</a>, and <a class="el" href="popthelp_8c-source.html#l00062">poptHelpOptions</a>.
<p>
Referenced by <a class="el" href="popthelp_8c-source.html#l00410">maxArgWidth()</a>, <a class="el" href="popthelp_8c-source.html#l00218">singleOptionHelp()</a>, and <a class="el" href="popthelp_8c-source.html#l00585">singleOptionUsage()</a>.
</div>
</div><p>
<a class="anchor" name="69788418a5dcd4d87ee71b9b87f9ad63"></a><!-- doxytag: member="popthelp.c::getTableTranslationDomain" ref="69788418a5dcd4d87ee71b9b87f9ad63" args="(const struct poptOption *table)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static const char* const getTableTranslationDomain           </td>
          <td>(</td>
          <td class="paramtype">const struct <a class="el" href="structpoptOption.html">poptOption</a> *&nbsp;</td>
          <td class="paramname"> <em>table</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>table</em>&nbsp;</td><td>option(s) </td></tr>
  </table>
</dl>

<p>
Definition at line <a class="el" href="popthelp_8c-source.html#l00092">92</a> of file <a class="el" href="popthelp_8c-source.html">popthelp.c</a>.
<p>
References <a class="el" href="popt_8h-source.html#l00120">poptOption::arg</a>, <a class="el" href="popt_8h-source.html#l00118">poptOption::argInfo</a>, <a class="el" href="popt_8h-source.html#l00116">poptOption::longName</a>, <a class="el" href="popt_8h-source.html#l00029">POPT_ARG_INTL_DOMAIN</a>, and <a class="el" href="popt_8h-source.html#l00117">poptOption::shortName</a>.
<p>
Referenced by <a class="el" href="popthelp_8c-source.html#l00500">singleTableHelp()</a>.
</div>
</div><p>
<a class="anchor" name="889db99466ee99d3674da160cbd5bdbe"></a><!-- doxytag: member="popthelp.c::itemHelp" ref="889db99466ee99d3674da160cbd5bdbe" args="(FILE *fp, poptItem items, int nitems, size_t left, const char *translation_domain)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void itemHelp           </td>
          <td>(</td>
          <td class="paramtype">FILE *&nbsp;</td>
          <td class="paramname"> <em>fp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structpoptItem__s.html">poptItem</a>&nbsp;</td>
          <td class="paramname"> <em>items</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>nitems</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&nbsp;</td>
          <td class="paramname"> <em>left</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>translation_domain</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>
Display popt alias and exec help. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>fp</em>&nbsp;</td><td>output file handle </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>items</em>&nbsp;</td><td>alias/exec array </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>nitems</em>&nbsp;</td><td>no. of alias/exec entries </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>left</em>&nbsp;</td><td>largest argument display width </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>translation_domain</em>&nbsp;</td><td>translation domain </td></tr>
  </table>
</dl>

<p>
Definition at line <a class="el" href="popthelp_8c-source.html#l00473">473</a> of file <a class="el" href="popthelp_8c-source.html">popthelp.c</a>.
<p>
References <a class="el" href="rpmcache_8c-source.html#l00049">items</a>, <a class="el" href="popt_8h-source.html#l00145">poptItem_s::option</a>, <a class="el" href="popt_8h-source.html#l00045">POPT_ARGFLAG_DOC_HIDDEN</a>, and <a class="el" href="popthelp_8c-source.html#l00218">singleOptionHelp()</a>.
<p>
Referenced by <a class="el" href="popthelp_8c-source.html#l00500">singleTableHelp()</a>.
</div>
</div><p>
<a class="anchor" name="ff0d1b159c1ccfa4c1b35d62f9987ae8"></a><!-- doxytag: member="popthelp.c::itemUsage" ref="ff0d1b159c1ccfa4c1b35d62f9987ae8" args="(FILE *fp, size_t cursor, poptItem item, int nitems, const char *translation_domain)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static size_t itemUsage           </td>
          <td>(</td>
          <td class="paramtype">FILE *&nbsp;</td>
          <td class="paramname"> <em>fp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&nbsp;</td>
          <td class="paramname"> <em>cursor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structpoptItem__s.html">poptItem</a>&nbsp;</td>
          <td class="paramname"> <em>item</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>nitems</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>translation_domain</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>
Display popt alias and exec usage. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>fp</em>&nbsp;</td><td>output file handle </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>cursor</em>&nbsp;</td><td>current display position </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>item</em>&nbsp;</td><td>alias/exec array </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>nitems</em>&nbsp;</td><td>no. of ara/exec entries </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>translation_domain</em>&nbsp;</td><td>translation domain </td></tr>
  </table>
</dl>

<p>
Definition at line <a class="el" href="popthelp_8c-source.html#l00661">661</a> of file <a class="el" href="popthelp_8c-source.html">popthelp.c</a>.
<p>
References <a class="el" href="popt_8h-source.html#l00120">poptOption::arg</a>, <a class="el" href="popt_8h-source.html#l00145">poptItem_s::option</a>, <a class="el" href="popt_8h-source.html#l00029">POPT_ARG_INTL_DOMAIN</a>, <a class="el" href="popt_8h-source.html#l00037">POPT_ARG_MASK</a>, <a class="el" href="popt_8h-source.html#l00045">POPT_ARGFLAG_DOC_HIDDEN</a>, and <a class="el" href="popthelp_8c-source.html#l00585">singleOptionUsage()</a>.
<p>
Referenced by <a class="el" href="popthelp_8c-source.html#l00785">poptPrintUsage()</a>.
</div>
</div><p>
<a class="anchor" name="0d153f092d2293f8a9ef3518888f6377"></a><!-- doxytag: member="popthelp.c::maxArgWidth" ref="0d153f092d2293f8a9ef3518888f6377" args="(const struct poptOption *opt, const char *translation_domain)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static size_t maxArgWidth           </td>
          <td>(</td>
          <td class="paramtype">const struct <a class="el" href="structpoptOption.html">poptOption</a> *&nbsp;</td>
          <td class="paramname"> <em>opt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>translation_domain</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>
Find display width for longest argument string. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>opt</em>&nbsp;</td><td>option(s) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>translation_domain</em>&nbsp;</td><td>translation domain </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>display width </dd></dl>

<p>
Definition at line <a class="el" href="popthelp_8c-source.html#l00410">410</a> of file <a class="el" href="popthelp_8c-source.html">popthelp.c</a>.
<p>
References <a class="el" href="popt_8h-source.html#l00120">poptOption::arg</a>, <a class="el" href="popt_8h-source.html#l00118">poptOption::argInfo</a>, <a class="el" href="popthelp_8c-source.html#l00110">getArgDescrip()</a>, <a class="el" href="popt_8h-source.html#l00116">poptOption::longName</a>, <a class="el" href="popt_8h-source.html#l00024">POPT_ARG_INCLUDE_TABLE</a>, <a class="el" href="popt_8h-source.html#l00037">POPT_ARG_MASK</a>, <a class="el" href="popt_8h-source.html#l00045">POPT_ARGFLAG_DOC_HIDDEN</a>, <a class="el" href="popt_8h-source.html#l00044">POPT_ARGFLAG_ONEDASH</a>, <a class="el" href="popt_8h-source.html#l00047">POPT_ARGFLAG_OPTIONAL</a>, and <a class="el" href="popt_8h-source.html#l00117">poptOption::shortName</a>.
<p>
Referenced by <a class="el" href="popthelp_8c-source.html#l00564">poptPrintHelp()</a>.
</div>
</div><p>
<a class="anchor" name="4d85394149f33ee77904b2324668645e"></a><!-- doxytag: member="popthelp.c::showHelpIntro" ref="4d85394149f33ee77904b2324668645e" args="(poptContext con, FILE *fp)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static int showHelpIntro           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structpoptContext__s.html">poptContext</a>&nbsp;</td>
          <td class="paramname"> <em>con</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">FILE *&nbsp;</td>
          <td class="paramname"> <em>fp</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>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>con</em>&nbsp;</td><td>context </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>fp</em>&nbsp;</td><td>output file handle </td></tr>
  </table>
</dl>

<p>
Definition at line <a class="el" href="popthelp_8c-source.html#l00541">541</a> of file <a class="el" href="popthelp_8c-source.html">popthelp.c</a>.
<p>
References <a class="el" href="poptint_8h-source.html#l00048">optionStackEntry::argv</a>, <a class="el" href="poptint_8h-source.html#l00077">poptContext_s::flags</a>, <a class="el" href="poptint_8h-source.html#l00062">poptContext_s::optionStack</a>, <a class="el" href="poptint_8h-source.html#l00111">POPT_</a>, and <a class="el" href="popt_8h-source.html#l00107">POPT_CONTEXT_KEEP_FIRST</a>.
<p>
Referenced by <a class="el" href="popthelp_8c-source.html#l00564">poptPrintHelp()</a>, and <a class="el" href="popthelp_8c-source.html#l00785">poptPrintUsage()</a>.
</div>
</div><p>
<a class="anchor" name="dbfa48edea03204cb9c0eb86235a6c8d"></a><!-- doxytag: member="popthelp.c::showShortOptions" ref="dbfa48edea03204cb9c0eb86235a6c8d" args="(const struct poptOption *opt, FILE *fp, char *str)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static int showShortOptions           </td>
          <td>(</td>
          <td class="paramtype">const struct <a class="el" href="structpoptOption.html">poptOption</a> *&nbsp;</td>
          <td class="paramname"> <em>opt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">FILE *&nbsp;</td>
          <td class="paramname"> <em>fp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&nbsp;</td>
          <td class="paramname"> <em>str</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>
Return concatenated short options for display. 
<p>
<dl compact><dt><b><a class="el" href="todo.html#_todo000120">Todo:</a></b></dt><dd>Sub-tables should be recursed. </dd></dl>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>opt</em>&nbsp;</td><td>option(s) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>fp</em>&nbsp;</td><td>output file handle </td></tr>
  </table>
</dl>
<dl compact><dt><b>Return values:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>str</em>&nbsp;</td><td>concatenation of short options </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>length of display string </dd></dl>

<p>
Definition at line <a class="el" href="popthelp_8c-source.html#l00756">756</a> of file <a class="el" href="popthelp_8c-source.html">popthelp.c</a>.
<p>
References <a class="el" href="system_8h.html#eb1df3e83fb069eaa2eb66ace3a0ea52">alloca()</a>, <a class="el" href="popt_8h-source.html#l00120">poptOption::arg</a>, <a class="el" href="popt_8h-source.html#l00118">poptOption::argInfo</a>, <a class="el" href="popt_8h-source.html#l00116">poptOption::longName</a>, <a class="el" href="popt_8h-source.html#l00024">POPT_ARG_INCLUDE_TABLE</a>, <a class="el" href="popt_8h-source.html#l00037">POPT_ARG_MASK</a>, and <a class="el" href="popt_8h-source.html#l00117">poptOption::shortName</a>.
<p>
Referenced by <a class="el" href="popthelp_8c-source.html#l00785">poptPrintUsage()</a>.
</div>
</div><p>
<a class="anchor" name="a2e8881f9e6b43edfa30c6b9423cdf10"></a><!-- doxytag: member="popthelp.c::singleOptionDefaultValue" ref="a2e8881f9e6b43edfa30c6b9423cdf10" args="(size_t lineLength, const struct poptOption *opt, const char *translation_domain)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static char* singleOptionDefaultValue           </td>
          <td>(</td>
          <td class="paramtype">size_t&nbsp;</td>
          <td class="paramname"> <em>lineLength</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const struct <a class="el" href="structpoptOption.html">poptOption</a> *&nbsp;</td>
          <td class="paramname"> <em>opt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>translation_domain</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>
Display default value for an option. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>lineLength</em>&nbsp;</td><td>display positions remaining </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>opt</em>&nbsp;</td><td>option(s) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>translation_domain</em>&nbsp;</td><td>translation domain </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd></dd></dl>

<p>
Definition at line <a class="el" href="popthelp_8c-source.html#l00147">147</a> of file <a class="el" href="popthelp_8c-source.html">popthelp.c</a>.
<p>
References <a class="el" href="rpmlib_8h-source.html#l00058">_free()</a>, <a class="el" href="popt_8h-source.html#l00120">poptOption::arg</a>, <a class="el" href="popt_8h-source.html#l00118">poptOption::argInfo</a>, <a class="el" href="poptint_8h-source.html#l00110">D_</a>, <a class="el" href="popt_8h-source.html#l00035">POPT_ARG_DOUBLE</a>, <a class="el" href="popt_8h-source.html#l00034">POPT_ARG_FLOAT</a>, <a class="el" href="popt_8h-source.html#l00022">POPT_ARG_INT</a>, <a class="el" href="popt_8h-source.html#l00023">POPT_ARG_LONG</a>, <a class="el" href="popt_8h-source.html#l00037">POPT_ARG_MASK</a>, <a class="el" href="popt_8h-source.html#l00020">POPT_ARG_NONE</a>, <a class="el" href="popt_8h-source.html#l00021">POPT_ARG_STRING</a>, and <a class="el" href="popt_8h-source.html#l00033">POPT_ARG_VAL</a>.
<p>
Referenced by <a class="el" href="popthelp_8c-source.html#l00218">singleOptionHelp()</a>.
</div>
</div><p>
<a class="anchor" name="d5df4f612e6d202d0d212fa5d7a75b64"></a><!-- doxytag: member="popthelp.c::singleOptionHelp" ref="d5df4f612e6d202d0d212fa5d7a75b64" args="(FILE *fp, size_t maxLeftCol, const struct poptOption *opt, const char *translation_domain)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void singleOptionHelp           </td>
          <td>(</td>
          <td class="paramtype">FILE *&nbsp;</td>
          <td class="paramname"> <em>fp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&nbsp;</td>
          <td class="paramname"> <em>maxLeftCol</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const struct <a class="el" href="structpoptOption.html">poptOption</a> *&nbsp;</td>
          <td class="paramname"> <em>opt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>translation_domain</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>
Display help text for an option. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>fp</em>&nbsp;</td><td>output file handle </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>maxLeftCol</em>&nbsp;</td><td>largest argument display width </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>opt</em>&nbsp;</td><td>option(s) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>translation_domain</em>&nbsp;</td><td>translation domain </td></tr>
  </table>
</dl>

<p>
Definition at line <a class="el" href="popthelp_8c-source.html#l00218">218</a> of file <a class="el" href="popthelp_8c-source.html">popthelp.c</a>.
<p>
References <a class="el" href="rpmlib_8h-source.html#l00058">_free()</a>, <a class="el" href="popt_8h-source.html#l00125">poptOption::argDescrip</a>, <a class="el" href="popt_8h-source.html#l00118">poptOption::argInfo</a>, <a class="el" href="poptint_8h-source.html#l00110">D_</a>, <a class="el" href="popt_8h-source.html#l00123">poptOption::descrip</a>, <a class="el" href="popthelp_8c-source.html#l00110">getArgDescrip()</a>, <a class="el" href="lparser_8c-source.html#l00876">left</a>, <a class="el" href="popt_8h-source.html#l00116">poptOption::longName</a>, <a class="el" href="rpmio__internal_8h-source.html#l00107">ops</a>, <a class="el" href="popt_8h-source.html#l00035">POPT_ARG_DOUBLE</a>, <a class="el" href="popt_8h-source.html#l00034">POPT_ARG_FLOAT</a>, <a class="el" href="popt_8h-source.html#l00022">POPT_ARG_INT</a>, <a class="el" href="popt_8h-source.html#l00023">POPT_ARG_LONG</a>, <a class="el" href="popt_8h-source.html#l00037">POPT_ARG_MASK</a>, <a class="el" href="popt_8h-source.html#l00020">POPT_ARG_NONE</a>, <a class="el" href="popt_8h-source.html#l00021">POPT_ARG_STRING</a>, <a class="el" href="popt_8h-source.html#l00033">POPT_ARG_VAL</a>, <a class="el" href="popt_8h-source.html#l00051">POPT_ARGFLAG_AND</a>, <a class="el" href="popt_8h-source.html#l00055">POPT_ARGFLAG_LOGICALOPS</a>, <a class="el" href="popt_8h-source.html#l00054">POPT_ARGFLAG_NOT</a>, <a class="el" href="popt_8h-source.html#l00044">POPT_ARGFLAG_ONEDASH</a>, <a class="el" href="popt_8h-source.html#l00047">POPT_ARGFLAG_OPTIONAL</a>, <a class="el" href="popt_8h-source.html#l00049">POPT_ARGFLAG_OR</a>, <a class="el" href="popt_8h-source.html#l00063">POPT_ARGFLAG_SHOW_DEFAULT</a>, <a class="el" href="popt_8h-source.html#l00053">POPT_ARGFLAG_XOR</a>, <a class="el" href="popt_8h-source.html#l00117">poptOption::shortName</a>, <a class="el" href="popthelp_8c-source.html#l00147">singleOptionDefaultValue()</a>, and <a class="el" href="popt_8h-source.html#l00121">poptOption::val</a>.
<p>
Referenced by <a class="el" href="popthelp_8c-source.html#l00473">itemHelp()</a>, and <a class="el" href="popthelp_8c-source.html#l00500">singleTableHelp()</a>.
</div>
</div><p>
<a class="anchor" name="d9b25934254fcf0682683bb16f38667c"></a><!-- doxytag: member="popthelp.c::singleOptionUsage" ref="d9b25934254fcf0682683bb16f38667c" args="(FILE *fp, size_t cursor, const struct poptOption *opt, const char *translation_domain)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static size_t singleOptionUsage           </td>
          <td>(</td>
          <td class="paramtype">FILE *&nbsp;</td>
          <td class="paramname"> <em>fp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&nbsp;</td>
          <td class="paramname"> <em>cursor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const struct <a class="el" href="structpoptOption.html">poptOption</a> *&nbsp;</td>
          <td class="paramname"> <em>opt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>translation_domain</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>
Display usage text for an option. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>fp</em>&nbsp;</td><td>output file handle </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>cursor</em>&nbsp;</td><td>current display position </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>opt</em>&nbsp;</td><td>option(s) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>translation_domain</em>&nbsp;</td><td>translation domain </td></tr>
  </table>
</dl>

<p>
Definition at line <a class="el" href="popthelp_8c-source.html#l00585">585</a> of file <a class="el" href="popthelp_8c-source.html">popthelp.c</a>.
<p>
References <a class="el" href="popt_8h-source.html#l00125">poptOption::argDescrip</a>, <a class="el" href="popt_8h-source.html#l00118">poptOption::argInfo</a>, <a class="el" href="popthelp_8c-source.html#l00110">getArgDescrip()</a>, <a class="el" href="popt_8h-source.html#l00116">poptOption::longName</a>, <a class="el" href="popt_8h-source.html#l00044">POPT_ARGFLAG_ONEDASH</a>, and <a class="el" href="popt_8h-source.html#l00117">poptOption::shortName</a>.
<p>
Referenced by <a class="el" href="popthelp_8c-source.html#l00661">itemUsage()</a>.
</div>
</div><p>
<a class="anchor" name="d8680e45451a70bd551d76c6f5e8ed3b"></a><!-- doxytag: member="popthelp.c::singleTableHelp" ref="d8680e45451a70bd551d76c6f5e8ed3b" args="(poptContext con, FILE *fp, const struct poptOption *table, size_t left, const char *translation_domain)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void singleTableHelp           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structpoptContext__s.html">poptContext</a>&nbsp;</td>
          <td class="paramname"> <em>con</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">FILE *&nbsp;</td>
          <td class="paramname"> <em>fp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const struct <a class="el" href="structpoptOption.html">poptOption</a> *&nbsp;</td>
          <td class="paramname"> <em>table</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&nbsp;</td>
          <td class="paramname"> <em>left</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>translation_domain</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>
Display help text for a table of options. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>con</em>&nbsp;</td><td>context </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>fp</em>&nbsp;</td><td>output file handle </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>table</em>&nbsp;</td><td>option(s) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>left</em>&nbsp;</td><td>largest argument display width </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>translation_domain</em>&nbsp;</td><td>translation domain </td></tr>
  </table>
</dl>

<p>
Definition at line <a class="el" href="popthelp_8c-source.html#l00500">500</a> of file <a class="el" href="popthelp_8c-source.html">popthelp.c</a>.
<p>
References <a class="el" href="poptint_8h-source.html#l00075">poptContext_s::aliases</a>, <a class="el" href="popt_8h-source.html#l00120">poptOption::arg</a>, <a class="el" href="popt_8h-source.html#l00118">poptOption::argInfo</a>, <a class="el" href="poptint_8h-source.html#l00110">D_</a>, <a class="el" href="popt_8h-source.html#l00123">poptOption::descrip</a>, <a class="el" href="poptint_8h-source.html#l00079">poptContext_s::execs</a>, <a class="el" href="popthelp_8c-source.html#l00092">getTableTranslationDomain()</a>, <a class="el" href="popthelp_8c-source.html#l00473">itemHelp()</a>, <a class="el" href="popt_8h-source.html#l00116">poptOption::longName</a>, <a class="el" href="poptint_8h-source.html#l00076">poptContext_s::numAliases</a>, <a class="el" href="poptint_8h-source.html#l00080">poptContext_s::numExecs</a>, <a class="el" href="popt_8h-source.html#l00024">POPT_ARG_INCLUDE_TABLE</a>, <a class="el" href="popt_8h-source.html#l00037">POPT_ARG_MASK</a>, <a class="el" href="popt_8h-source.html#l00045">POPT_ARGFLAG_DOC_HIDDEN</a>, <a class="el" href="popthelp_8c-source.html#l00053">poptAliasOptions</a>, <a class="el" href="popt_8h-source.html#l00117">poptOption::shortName</a>, and <a class="el" href="popthelp_8c-source.html#l00218">singleOptionHelp()</a>.
<p>
Referenced by <a class="el" href="popthelp_8c-source.html#l00564">poptPrintHelp()</a>.
</div>
</div><p>
<a class="anchor" name="a1b2bcd6ffa2f0abbd31b7838420a656"></a><!-- doxytag: member="popthelp.c::singleTableUsage" ref="a1b2bcd6ffa2f0abbd31b7838420a656" args="(poptContext con, FILE *fp, size_t cursor, const struct poptOption *opt, const char *translation_domain, poptDone done)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static size_t singleTableUsage           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structpoptContext__s.html">poptContext</a>&nbsp;</td>
          <td class="paramname"> <em>con</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">FILE *&nbsp;</td>
          <td class="paramname"> <em>fp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&nbsp;</td>
          <td class="paramname"> <em>cursor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const struct <a class="el" href="structpoptOption.html">poptOption</a> *&nbsp;</td>
          <td class="paramname"> <em>opt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>translation_domain</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structpoptDone__s.html">poptDone</a>&nbsp;</td>
          <td class="paramname"> <em>done</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>
Display usage text for a table of options. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>con</em>&nbsp;</td><td>context </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>fp</em>&nbsp;</td><td>output file handle </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>cursor</em>&nbsp;</td><td>current display position </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>opt</em>&nbsp;</td><td>option(s) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>translation_domain</em>&nbsp;</td><td>translation domain </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>done</em>&nbsp;</td><td>tables already processed </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd></dd></dl>

<p>
Definition at line <a class="el" href="popthelp_8c-source.html#l00705">705</a> of file <a class="el" href="popthelp_8c-source.html">popthelp.c</a>.
<p>
References <a class="el" href="popt_8h-source.html#l00120">poptOption::arg</a>, <a class="el" href="popt_8h-source.html#l00118">poptOption::argInfo</a>, <a class="el" href="popt_8h-source.html#l00116">poptOption::longName</a>, <a class="el" href="popt_8h-source.html#l00024">POPT_ARG_INCLUDE_TABLE</a>, <a class="el" href="popt_8h-source.html#l00029">POPT_ARG_INTL_DOMAIN</a>, <a class="el" href="popt_8h-source.html#l00037">POPT_ARG_MASK</a>, and <a class="el" href="popt_8h-source.html#l00117">poptOption::shortName</a>.
<p>
Referenced by <a class="el" href="popthelp_8c-source.html#l00785">poptPrintUsage()</a>.
</div>
</div><p>
<hr><h2>Variable Documentation</h2>
<a class="anchor" name="9ed517d031f01767ea12ca51ef8b8a2c"></a><!-- doxytag: member="popthelp.c::poptAliasOptions" ref="9ed517d031f01767ea12ca51ef8b8a2c" args="[]" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structpoptOption.html">poptOption</a> <a class="el" href="popthelp_8c.html#9ed517d031f01767ea12ca51ef8b8a2c">poptAliasOptions</a>[]          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<b>Initial value:</b><div class="fragment"><pre class="fragment"> {
    <a class="code" href="popt_8h.html#bb5479e3e11f1a22617b4d43c73083b4">POPT_TABLEEND</a>
}
</pre></div>Empty table marker to enable displaying popt alias/exec options. 
<p>

<p>
Definition at line <a class="el" href="popthelp_8c-source.html#l00053">53</a> of file <a class="el" href="popthelp_8c-source.html">popthelp.c</a>.
<p>
Referenced by <a class="el" href="popthelp_8c-source.html#l00500">singleTableHelp()</a>.
</div>
</div><p>
<a class="anchor" name="0c493753b1c5ee878e7addf558874633"></a><!-- doxytag: member="popthelp.c::poptHelpOptions" ref="0c493753b1c5ee878e7addf558874633" args="[]" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structpoptOption.html">poptOption</a> <a class="el" href="popthelp_8c.html#0c493753b1c5ee878e7addf558874633">poptHelpOptions</a>[]          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<b>Initial value:</b><div class="fragment"><pre class="fragment"> {
  { NULL, <span class="charliteral">'\0'</span>, <a class="code" href="popt_8h.html#d13a93a7e60cf78b2dd0a22db8393ae2">POPT_ARG_CALLBACK</a>, (<span class="keywordtype">void</span> *)&amp;<a class="code" href="popthelp_8c.html#546b475b79bb97345a960b7df01e0cd0">displayArgs</a>, <span class="charliteral">'\0'</span>, NULL, NULL },
  { <span class="stringliteral">"help"</span>, <span class="charliteral">'?'</span>, 0, NULL, <span class="charliteral">'?'</span>,  <span class="stringliteral">"Show this help message"</span> , NULL },
  { <span class="stringliteral">"usage"</span>, <span class="charliteral">'\0'</span>, 0, NULL, <span class="charliteral">'u'</span>,  <span class="stringliteral">"Display brief usage message"</span> , NULL },
    <a class="code" href="popt_8h.html#bb5479e3e11f1a22617b4d43c73083b4">POPT_TABLEEND</a>
}
</pre></div>Auto help table options. 
<p>

<p>
Definition at line <a class="el" href="popthelp_8c-source.html#l00062">62</a> of file <a class="el" href="popthelp_8c-source.html">popthelp.c</a>.
<p>
Referenced by <a class="el" href="popt_8c-source.html#l00472">findOption()</a>, <a class="el" href="popthelp_8c-source.html#l00110">getArgDescrip()</a>, <a class="el" href="popt_8c-source.html#l00120">invokeCallbacksOPTION()</a>, <a class="el" href="popt_8c-source.html#l00092">invokeCallbacksPOST()</a>, and <a class="el" href="popt_8c-source.html#l00064">invokeCallbacksPRE()</a>.
</div>
</div><p>
<a class="anchor" name="305e1481c6cb50dd087f14b628efa455"></a><!-- doxytag: member="popthelp.c::poptHelpOptions2" ref="305e1481c6cb50dd087f14b628efa455" args="[]" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structpoptOption.html">poptOption</a> <a class="el" href="popthelp_8c.html#305e1481c6cb50dd087f14b628efa455">poptHelpOptions2</a>[]<code> [static]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<b>Initial value:</b><div class="fragment"><pre class="fragment"> {

  { NULL, <span class="charliteral">'\0'</span>, <a class="code" href="popt_8h.html#540802ec1639804cc8fd48565d06501f">POPT_ARG_INTL_DOMAIN</a>, <a class="code" href="config_8h.html#ca8570fb706c81df371b7f9bc454ae03">PACKAGE</a>, 0, NULL, NULL},

  { NULL, <span class="charliteral">'\0'</span>, <a class="code" href="popt_8h.html#d13a93a7e60cf78b2dd0a22db8393ae2">POPT_ARG_CALLBACK</a>, (<span class="keywordtype">void</span> *)&amp;<a class="code" href="popthelp_8c.html#546b475b79bb97345a960b7df01e0cd0">displayArgs</a>, <span class="charliteral">'\0'</span>, NULL, NULL },
  { <span class="stringliteral">"help"</span>, <span class="charliteral">'?'</span>, 0, NULL, <span class="charliteral">'?'</span>,  <span class="stringliteral">"Show this help message"</span> , NULL },
  { <span class="stringliteral">"usage"</span>, <span class="charliteral">'\0'</span>, 0, NULL, <span class="charliteral">'u'</span>,  <span class="stringliteral">"Display brief usage message"</span> , NULL },




    <a class="code" href="popt_8h.html#bb5479e3e11f1a22617b4d43c73083b4">POPT_TABLEEND</a>
}
</pre></div>
<p>
Definition at line <a class="el" href="popthelp_8c-source.html#l00070">70</a> of file <a class="el" href="popthelp_8c-source.html">popthelp.c</a>.
</div>
</div><p>
<a class="anchor" name="922c332675c30038924eb94b30b2ded5"></a><!-- doxytag: member="popthelp.c::poptHelpOptionsI18N" ref="922c332675c30038924eb94b30b2ded5" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structpoptOption.html">poptOption</a>* <a class="el" href="popthelp_8c.html#922c332675c30038924eb94b30b2ded5">poptHelpOptionsI18N</a> = <a class="el" href="popthelp_8c.html#305e1481c6cb50dd087f14b628efa455">poptHelpOptions2</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="popthelp_8c-source.html#l00085">85</a> of file <a class="el" href="popthelp_8c-source.html">popthelp.c</a>.
<p>
Referenced by <a class="el" href="popt_8c-source.html#l00472">findOption()</a>, <a class="el" href="popt_8c-source.html#l00120">invokeCallbacksOPTION()</a>, <a class="el" href="popt_8c-source.html#l00092">invokeCallbacksPOST()</a>, and <a class="el" href="popt_8c-source.html#l00064">invokeCallbacksPRE()</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>