Main Page
Modules
Data Structures
Files
Configuration
db_config_destroy
db_config_init
db_get_config
db_info
db_set_config
lm_config_destroy
lm_config_init
lm_get_config
lm_local_config_destroy
lm_local_config_init
lm_set_config
lm_use_local
db_result_t
db_set_config
(
const
db_config_t
*
config
)
Set the library configuration.
Parameters:
config
Library configuration information.
Returns:
DB_OK
when successful.
DB_FAIL
on failure.
On failure, one of the following error codes is set:
DB_EINVAL
Configuration parameter is null.
See also:
db_get_config
,
lm_set_config
,
lm_get_config
,
lm_use_local
,
get_db_error
,
clear_db_error
,
Error Handling
This call is not supported in C/S mode and will return
DB_FAIL
with the error code
DB_ENOTIMPL
. In C/S configuration, these parameters can be set when the server is run. See documentation for dbserver in the User's Guide for more details.
Copyright © 2005-2008 ITTIA®. All rights reserved.