| version 1.7, 2002/09/02 15:21:13 |
version 1.8, 2002/09/03 20:11:16 |
|
|
| <refname>cfg_get_context_flag</refname> |
<refname>cfg_get_context_flag</refname> |
| <refname>cfg_set_context_flags</refname> |
<refname>cfg_set_context_flags</refname> |
| <refname>cfg_get_context_flags</refname> |
<refname>cfg_get_context_flags</refname> |
| <refpurpose>&name; context flags</refpurpose> |
<refpurpose> |
| |
&name; context flags manipulation functions |
| |
</refpurpose> |
| </refnamediv> |
</refnamediv> |
| --> |
--> |
| |
|
| Line 106 List of setable context flags described |
|
| Line 108 List of setable context flags described |
|
| <tbody> |
<tbody> |
| <row> |
<row> |
| <entry><constant>CFG_IGNORE_MULTI</constant></entry> |
<entry><constant>CFG_IGNORE_MULTI</constant></entry> |
| <entry>Ignore multiple arguments for single option.</entry> |
<entry><!-- MAN: Description: --> Ignore multiple arguments for single |
| <entry>Multiple argument for single option causes |
option. First one will be used to store option value, furthers are skipped.</entry> |
| <constant>CFG_ERROR_MULTI</constant> error.</entry> |
<entry><!-- MAN: Default behaviour: --> Multiple arguments for option that |
| |
has not allowed them, causes <constant>CFG_ERROR_MULTI</constant> |
| |
error.</entry> |
| </row> |
</row> |
| <row> |
<row> |
| <entry><constant>CFG_IGNORE_UNKNOWN</constant></entry> |
<entry><constant>CFG_IGNORE_UNKNOWN</constant></entry> |
| <entry>Ignore unknown options.</entry> |
<entry><!-- MAN: Description: --> Ignore all unknown options.</entry> |
| <entry>Unknown option causes <constant>CFG_ERROR_UNKNOWN</constant> |
<entry><!-- MAN: Default behaviour: --> Any unknown option causes <constant>CFG_ERROR_UNKNOWN</constant> |
| error.</entry> |
error.</entry> |
| </row> |
</row> |
| <row> |
<row> |
| <entry><constant>CFG_SKIP_FIRST</constant></entry> |
<entry><constant>CFG_SKIP_FIRST</constant></entry> |
| <entry>Processing of the first argument on command line is skipped. |
<entry><!-- MAN: Description: --> Processing of the first argument on command line is skipped. |
| Affects only command line.</entry> |
Flag affects only command line related context.</entry> |
| <entry>Process also the first argument on command line.</entry> |
<entry><!-- MAN: Default behaviour: --> Process also the first argument on command line.</entry> |
| </row> |
</row> |
| <row> |
<row> |
| <entry><constant>CFG_ADVANCED_LEFTOVERS</constant></entry> |
<entry><constant>CFG_ADVANCED_LEFTOVERS</constant></entry> |
| <entry>Advanced leftover arguments.</entry> |
<entry><!-- MAN: Description: --> Advanced leftover arguments. It means that |
| <entry>Leftover arguments must be posixly correct. That means all options |
leftover arguments must not be posixly correct.</entry> |
| must go before any leftover argument. Once the first leftover argument is |
<entry><!-- MAN: Default behaviour: --> Leftover arguments must be posixly |
| found, all further arguments are considered as leftover.</entry> |
correct. That means all options must go before any leftover argument. Once |
| |
the first leftover argument is found, all further arguments are considered |
| |
as leftover.</entry> |
| |
|
| </row> |
</row> |
| <row> |
<row> |
| <entry><constant>CFG_STRICT_LEFTOVERS</constant></entry> |
<entry><constant>CFG_STRICT_LEFTOVERS</constant></entry> |
| <entry>Strict leftover arguments initialization in file.</entry> |
<entry><!-- MAN: Description: --> Strict leftover arguments initialization in file.</entry> |
| <entry>Leftover arguments initialization in file are normal (as-is).</entry> |
<entry><!-- MAN: Default behaviour: --> Leftover arguments initialization in file are normal (as-is).</entry> |
| </row> |
</row> |
| <row> |
<row> |
| <entry><constant>CFG_FILE_LINE_POS_USAGE</constant></entry> |
<entry><constant>CFG_FILE_LINE_POS_USAGE</constant></entry> |
| <entry>Positions and size in configuration file are specified in lines |
<entry><!-- MAN: Description: --> Positions and size in configuration file are specified in lines |
| starting from 0.</entry> |
starting from 0.</entry> |
| <entry>Positions and size in configuration file are specified in bytes |
<entry><!-- MAN: Default behaviour: --> Positions and size in configuration file are specified in bytes |
| starting from 0.</entry> |
starting from 0.</entry> |
| </row> |
</row> |
| </tbody> |
</tbody> |
| Line 148 List of setable context flags described |
|
| Line 155 List of setable context flags described |
|
| |
|
| <para> |
<para> |
| |
|
| If you have flag set and you want to get again default behaviour, simply clear |
If you have some flag set and you want to get default behaviour back, simply |
| flag with <function>cfg_clear_context_flag()</function> function. |
clear that flag using <function>cfg_clear_context_flag()</function> function. |
| |
|
| <!-- |
<!-- |
| Constants <constant>CFG_SKIP_FIRST</constant> (Skip processing of the first |
Constants <constant>CFG_SKIP_FIRST</constant> (Skip processing of the first |