Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Saturday, October 17, 2026

Diff for libcfg+/doc/sgml/usage.options-set.sgml between version 1.8 and 1.9

version 1.8, 2002/09/03 20:11:16 version 1.9, 2002/09/04 17:11:01
Line 37  struct <structname>cfg_option</structnam
Line 37  struct <structname>cfg_option</structnam
         const char  <structfield>cmdline_short_name</structfield>;          const char  <structfield>cmdline_short_name</structfield>;
         const char *<structfield>cfgfile_name</structfield>;          const char *<structfield>cfgfile_name</structfield>;
         const enum cfg_option_type <structfield>type</structfield>;          const enum cfg_option_type <structfield>type</structfield>;
         void <structfield>*value</structfield>;          void *<structfield>value</structfield>;
         int   <structfield>val</structfield>;          int   <structfield>val</structfield>;
 };  };
 </programlisting>  </programlisting>
Line 78  linkend="usage.option-types.table" endte
Line 78  linkend="usage.option-types.table" endte
 <xref linkend="usage.option-type-flags.table"  <xref linkend="usage.option-type-flags.table"
 endterm="usage.option-type-flags.table.title"> tables.  endterm="usage.option-type-flags.table.title"> tables.
   
   </para>
   <para>
   
 The <structfield>value</structfield> member tells the address where option  The <structfield>value</structfield> member tells the address where option
 argument or arguments will be stored. It should be address of appropriate  argument or arguments will be stored. It should be address of appropriate
 datatype defined in <structfield>type</structfield> field. Note that  datatype defined in <structfield>type</structfield> field. Note that
Line 88  when option is found.  <constant>0</cons
Line 91  when option is found.  <constant>0</cons
 idea to keep these values positive to prevent mismatch with  idea to keep these values positive to prevent mismatch with
 <structname>cfg_error</structname> exit codes.  <structname>cfg_error</structname> exit codes.
   
   </para>
   <para>
   
 <table id="usage.option-types.table" frame=top>  <table id="usage.option-types.table" frame=top>
 <title id="usage.option-types.table.title">Option types</title>  <title id="usage.option-types.table.title">Option types</title>
 <tgroup cols=3>  <tgroup cols=3>
Line 168  particular options types in option set.
Line 174  particular options types in option set.
 <tbody>  <tbody>
 <row>  <row>
         <entry><constant>CFG_MULTI</constant>, <constant>CFG_MULTI_ARRAY</constant></entry>          <entry><constant>CFG_MULTI</constant>, <constant>CFG_MULTI_ARRAY</constant></entry>
         <entry>&lt;type&gt; **</entry>          <entry><![CDATA[<type> **]]></entry>
         <entry>Option can be specified more than once and result is dynamic array of          <entry>Option can be specified more than once and result is dynamic array of
 defined type.</entry>  defined type.</entry>
 </row>  </row>
 <row>  <row>
         <entry><constant>CFG_MULTI_SEPARATED</constant></entry>          <entry><constant>CFG_MULTI_SEPARATED</constant></entry>
         <entry>&lt;type&gt; **</entry>          <entry><![CDATA[<type> **]]></entry>
         <entry>Same as the <constant>CFG_MULTI_ARRAY</constant>, but dynamic array          <entry>Same as the <constant>CFG_MULTI_ARRAY</constant>, but dynamic array
 is also created by spliting part by defined separators. See <xref  is also created by spliting part by defined separators. See <xref
 linkend="usage.properties" endterm="usage.properties.title">  linkend="usage.properties" endterm="usage.properties.title">
Line 187  section for more information about separ
Line 193  section for more information about separ
                 <constant>CFG_LEFTOVER_ARGS</constant>,                  <constant>CFG_LEFTOVER_ARGS</constant>,
                 <constant>CFG_LEFTOVER_ARGUMENTS</constant>                  <constant>CFG_LEFTOVER_ARGUMENTS</constant>
         </entry>          </entry>
         <entry>&lt;type&gt; **</entry>          <entry><![CDATA[<type> **]]></entry>
         <entry>Leftover arguments are stored here.</entry>          <entry>Leftover arguments are stored here.</entry>
 </row>  </row>
 </tbody>  </tbody>

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top