| version 1.6, 2002/09/09 02:06:09 |
version 1.7, 2002/09/24 17:06:14 |
| Line 356 By default is equal sign (<constant>=</c |
|
| Line 356 By default is equal sign (<constant>=</c |
|
| <para> |
<para> |
| |
|
| Here are virtual (shared) properties. In description of every virtual will be |
Here are virtual (shared) properties. In description of every virtual will be |
| only written which real properties it sets. Please refer to <xref |
only written which real properties are set. Please refer to <xref |
| linkend="usage.properties-command-line.table" |
linkend="usage.properties-command-line.table" |
| endterm="usage.properties-command-line.table.title"> table and <xref |
endterm="usage.properties-command-line.table.title"> table and <xref |
| linkend="usage.properties-config-file.table" |
linkend="usage.properties-config-file.table" |
|
|
| <!-- MAN: </refsect1><refsect1><title>DESCRIPTION</title> --> |
<!-- MAN: </refsect1><refsect1><title>DESCRIPTION</title> --> |
| <para> |
<para> |
| |
|
| TODO: write this poisonous stuff |
Usage of this functions is basically straightforward. It is up to you, how many |
| |
properties you will set in call. Using functions |
| |
<function>cfg_add_properties()</function> and |
| |
<function>cfg_remove_properties()</function> it is possible, to specify |
| |
arbitrary amount of <parameter>type</parameter>/<parameter>str</parameter> |
| |
combinations. You should end list of parameters with either |
| |
<constant>CFG_EOT</constant> (end of type) constant for |
| |
<parameter>type</parameter> parameter and/or <constant>NULL</constant> value for |
| |
<parameter>str</parameter> parameter. |
| |
|
| |
</para> |
| |
<para> |
| |
|
| |
If you want to set or remove multiple string values for one property, there are |
| |
function <function>cfg_add_properties_str()</function> and |
| |
<function>cfg_remove_properties_str()</function> present for doing this. Specify |
| |
one <parameter>type</parameter> parameter and multiple |
| |
<parameter>str</parameter> parameters ended with <constant>NULL</constant> in |
| |
function call. |
| |
|
| |
|
| |
</para> |
| |
<para> |
| |
|
| |
|
| |
Likewise for setting one string value for multiple properties, there are |
| |
functions <function>cfg_add_properties_type()</function> and |
| |
<function>cfg_remove_properties_type()</function>. Specify one |
| |
<parameter>str</parameter> parameter and multiple <parameter>type</parameter> |
| |
parameters ended with <constant>CFG_EOT</constant> in function call. |
| |
|
| </para> |
</para> |
| |
|