| version 1.3, 2002/06/11 22:15:08 |
version 1.4, 2002/07/16 13:43:18 |
| Line 28 For setting particular context flages th |
|
| Line 28 For setting particular context flages th |
|
| <paramdef>int <parameter>flag</parameter></paramdef> |
<paramdef>int <parameter>flag</parameter></paramdef> |
| </funcprototype> |
</funcprototype> |
| <funcprototype> |
<funcprototype> |
| <funcdef>int <function>cfg_is_context_flag</function></funcdef> |
|
| <paramdef>const CFG_CONTEXT <parameter>con</parameter></paramdef> |
|
| <paramdef>int <parameter>flag</parameter></paramdef> |
|
| </funcprototype> |
|
| <funcprototype> |
|
| <funcdef>void <function>cfg_set_context_flags</function></funcdef> |
<funcdef>void <function>cfg_set_context_flags</function></funcdef> |
| <paramdef>const CFG_CONTEXT <parameter>con</parameter></paramdef> |
<paramdef>const CFG_CONTEXT <parameter>con</parameter></paramdef> |
| <paramdef>int <parameter>flags</parameter></paramdef> |
<paramdef>int <parameter>flags</parameter></paramdef> |
| Line 51 For setting particular context flages th |
|
| Line 46 For setting particular context flages th |
|
| These functions and macros manipulate with context flags. The function |
These functions and macros manipulate with context flags. The function |
| <function>cfg_set_context_flag()</function> sets one particular context flag. |
<function>cfg_set_context_flag()</function> sets one particular context flag. |
| Similary, function <function>cfg_clear_context_flag()</function> clears one |
Similary, function <function>cfg_clear_context_flag()</function> clears one |
| context flags. Functions <function>cfg_get_context_flag()</function> and its |
context flags. Function <function>cfg_get_context_flag()</function> detects if |
| macro alias <function>cfg_is_context_flag()</function> which is indentical in |
particular context flag is set. It has the macro alias |
| every way, detect if particular context flag is set. |
<function>cfg_is_context_flag()</function> which is indentical in every way, |
| |
|
| |
|
| </para> |
</para> |
| <para> |
<para> |
| Line 78 List of setable context flags described |
|
| Line 74 List of setable context flags described |
|
| <thead> |
<thead> |
| <row> |
<row> |
| <entry>Flag</entry> |
<entry>Flag</entry> |
| <!-- <entry><structfield>value</structfield> type</entry> --> |
|
| <entry>Description</entry> |
<entry>Description</entry> |
| <entry>Default behaviour</entry> |
<entry>Default behaviour</entry> |
| </row> |
</row> |
| Line 97 List of setable context flags described |
|
| Line 92 List of setable context flags described |
|
| error.</entry> |
error.</entry> |
| </row> |
</row> |
| <row> |
<row> |
| <entry><constant>CFG_PROCESS_FIRST</constant></entry> |
<entry><constant>CFG_SKIP_FIRST</constant></entry> |
| |
<entry>Processing of the first argument on command line is skipped. |
| |
Affects only command line.</entry> |
| <entry>Process also the first argument on command line.</entry> |
<entry>Process also the first argument on command line.</entry> |
| <entry>Processing of the first argument on command line is skipped.</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>Advanced leftover arguments.</entry> |
| <entry>Leftover arguments are posixly correct.</entry> |
<entry>Leftover arguments must be posixly 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> |
| Line 113 List of setable context flags described |
|
| Line 111 List of setable context flags described |
|
| </row> |
</row> |
| <row> |
<row> |
| <entry><constant>CFG_FILE_LINE_POS_USAGE</constant></entry> |
<entry><constant>CFG_FILE_LINE_POS_USAGE</constant></entry> |
| <entry>Line type position usage in file.</entry> |
<entry>Positions and size in configuration file are specified in lines |
| <entry>Byte type position usage in file.</entry> |
starting from 0. |
| |
<entry>Positions and size in configuration file are specified in bytes |
| |
starting from 0.</entry> |
| </row> |
</row> |
| </tbody> |
</tbody> |
| </tgroup> |
</tgroup> |
| Line 123 List of setable context flags described |
|
| Line 123 List of setable context flags described |
|
| |
|
| <para> |
<para> |
| |
|
| If you have flag set and want to get again default behaviour, simply clear flag |
If you have flag set and you want to get again default behaviour, simply clear |
| with <function>cfg_clear_context_flag()</function> function. |
flag with <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 |