| version 1.4, 2002/09/02 15:01:06 |
version 1.5, 2002/09/02 16:01:56 |
|
|
| </para> |
</para> |
| <para> |
<para> |
| |
|
| On end of parsing <constant>0</constant> is returned. |
At the end of parsing <constant>0</constant> is returned. |
| |
|
| </para> |
</para> |
| <!-- MAN: </refsect1><refsect1><title>SYNOPSIS | Additional information</title> --> |
<!-- MAN: </refsect1><refsect1><title>SYNOPSIS | Additional information</title> --> |
| <para> |
<para> |
| |
|
| Following functions are for providing additional information when returned |
Following functions provide such additional information when returned options |
| options are handled. |
are handled. |
| |
|
| <funcsynopsis> |
<funcsynopsis> |
| <funcsynopsisinfo><![CDATA[#include <cfg+.h>]]></funcsynopsisinfo> |
<funcsynopsisinfo><![CDATA[#include <cfg+.h>]]></funcsynopsisinfo> |
| Line 119 options are handled. |
|
| Line 119 options are handled. |
|
| |
|
| Functions have following behaviour: <function>cfg_get_cur_opt()</function> |
Functions have following behaviour: <function>cfg_get_cur_opt()</function> |
| returns currently processed option name, <function>cfg_get_cur_arg()</function> |
returns currently processed option name, <function>cfg_get_cur_arg()</function> |
| returns currently processed option argument, |
returns currently processed option argument. Return value of |
| <function>cfg_get_cur_idx()</function> returns argv index in command line |
<function>cfg_get_cur_idx()</function> function depends on current type of |
| context and file byte or line position in config file context of currently |
context. It returns <parameter>argv</parameter> index of processed option in |
| processed option. |
command line context and file byte or line position of processed option in |
| |
config file context. |
| |
|
| </para> |
</para> |
| </sect1> |
</sect1> |