<!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>Apache Portable Runtime: apr_getopt_option_t Struct 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 Page</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li id="current"><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="examples.html"><span>Examples</span></a></li> </ul></div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="functions.html"><span>Data Fields</span></a></li> </ul></div> <h1>apr_getopt_option_t Struct Reference<br> <small> [<a class="el" href="group__apr__getopt.html">Command Argument Parsing</a>]</small> </h1><!-- doxytag: class="apr_getopt_option_t" --><code>#include <<a class="el" href="apr__getopt_8h-source.html">apr_getopt.h</a>></code> <p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Data Fields</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="structapr__getopt__option__t.html#dd409114a2cb7df741d7f5c096667eb8">name</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structapr__getopt__option__t.html#f8d96ca69126e45f6b4070ce2ef8e746">optch</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structapr__getopt__option__t.html#53c2409f4fce1a9ac6bb91c462ad293e">has_arg</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="structapr__getopt__option__t.html#ffdef1958066edb9c34f0cb40d98342c">description</a></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Structure used to describe options that getopt should search for. <p> <hr><h2>Field Documentation</h2> <a class="anchor" name="ffdef1958066edb9c34f0cb40d98342c"></a><!-- doxytag: member="apr_getopt_option_t::description" ref="ffdef1958066edb9c34f0cb40d98342c" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const char* <a class="el" href="structapr__getopt__option__t.html#ffdef1958066edb9c34f0cb40d98342c">apr_getopt_option_t::description</a> </td> </tr> </table> </div> <div class="memdoc"> <p> a description of the option </div> </div><p> <a class="anchor" name="53c2409f4fce1a9ac6bb91c462ad293e"></a><!-- doxytag: member="apr_getopt_option_t::has_arg" ref="53c2409f4fce1a9ac6bb91c462ad293e" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int <a class="el" href="structapr__getopt__option__t.html#53c2409f4fce1a9ac6bb91c462ad293e">apr_getopt_option_t::has_arg</a> </td> </tr> </table> </div> <div class="memdoc"> <p> nonzero if option takes an argument </div> </div><p> <a class="anchor" name="dd409114a2cb7df741d7f5c096667eb8"></a><!-- doxytag: member="apr_getopt_option_t::name" ref="dd409114a2cb7df741d7f5c096667eb8" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const char* <a class="el" href="structapr__getopt__option__t.html#dd409114a2cb7df741d7f5c096667eb8">apr_getopt_option_t::name</a> </td> </tr> </table> </div> <div class="memdoc"> <p> long option name, or NULL if option has no long name </div> </div><p> <a class="anchor" name="f8d96ca69126e45f6b4070ce2ef8e746"></a><!-- doxytag: member="apr_getopt_option_t::optch" ref="f8d96ca69126e45f6b4070ce2ef8e746" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int <a class="el" href="structapr__getopt__option__t.html#f8d96ca69126e45f6b4070ce2ef8e746">apr_getopt_option_t::optch</a> </td> </tr> </table> </div> <div class="memdoc"> <p> option letter, or a value greater than 255 if option has no letter </div> </div><p> <hr>The documentation for this struct was generated from the following file:<ul> <li><a class="el" href="apr__getopt_8h-source.html">apr_getopt.h</a></ul> <hr size="1"><address style="align: right;"><small>Generated on Tue May 31 12:20:26 2011 for Apache Portable Runtime by <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>