Loads and sets configuration options.
More...
Loads and sets configuration options.
◆ getConfigBool()
C_DECL_SPEC int rrcCallConv getConfigBool |
( |
const char * |
key | ) |
|
Get a boolean configuration value.
- Parameters
-
[in] | key | The configuration key |
- Note
- On error, sets an error message which can be retrieved via getLastError
◆ getConfigDouble()
C_DECL_SPEC double rrcCallConv getConfigDouble |
( |
const char * |
key | ) |
|
Get a double configuration value.
- Parameters
-
[in] | key | The configuration key |
- Note
- On error, sets an error message which can be retrieved via getLastError
◆ getConfigInt()
C_DECL_SPEC int rrcCallConv getConfigInt |
( |
const char * |
key | ) |
|
Get an integer configuration value.
- Parameters
-
[in] | key | The configuration key |
- Note
- On error, sets an error message which can be retrieved via getLastError
◆ setConfigBool()
C_DECL_SPEC int rrcCallConv setConfigBool |
( |
const char * |
key, |
|
|
int |
value |
|
) |
| |
Set a boolean configuration value.
- Parameters
-
[in] | key | The configuration key |
[in] | value | The value to assign to the configuration key |
- Returns
- Returns positive if successful
◆ setConfigDouble()
C_DECL_SPEC int rrcCallConv setConfigDouble |
( |
const char * |
key, |
|
|
double |
value |
|
) |
| |
Set a double configuration value.
- Parameters
-
[in] | key | The configuration key |
[in] | value | The value to assign to the configuration key |
- Returns
- Returns positive if successful
◆ setConfigInt()
C_DECL_SPEC int rrcCallConv setConfigInt |
( |
const char * |
key, |
|
|
int |
value |
|
) |
| |
Set an integer configuration value.
- Parameters
-
[in] | key | The configuration key |
[in] | value | The value to assign to the configuration key |
- Returns
- Returns positive if successful