Database Configuration Single User High Level API

The single user configuration database API module has the file name dblocfg.c. This module provides a programmer with a high level callable API that will access the Bbuuzzb database configuration details. This API is available for all platforms and is part of single user database access as well as the database server. Any mention of QNX in this document refers to the QNX 4.x OS.

Here is a list of functions in this module:

- db_config_get_tmp_path
- db_config_get_log
- db_config_get_session
- db_config_get_catalog
- db_config_get_log_flag
- db_config_get_session_flag
- db_config_get_catalog_flag
- db_config_get_replicate_flag
- db_config_get_version
- db_config_set_tmp_path
- db_config_set_log
- db_config_set_session
- db_config_set_catalog
- db_config_set_log_flag
- db_config_set_session_flag
- db_config_set_catalog_flag
- db_config_set_replicate_flag

# Module Dependencies

This module is part of the single user and server database API and needs to be linked with the following modules:

- fio.c
- parse.c
- logger.c
- ipcomm.c (database server and single user if using system logger, all platforms except QNX and DOS)
- sys_log.c (database server and single user if using system logger, all platforms except DOS)
- slogcode.c (database server and single user if using system logger, all platforms except DOS)
- dbeng.c
- dbiocode.c
- dbengcfg.c
- sloc.c (database server and single user if using system logger, all platforms except QNX and DOS)
- slconfig.c (database server and single user if using system logger, all platforms except QNX and DOS)
- sliocode.c (database server and single user if using system logger, all platforms except QNX and DOS)
- sconnect.c (database server and single user if using system logger, all platforms except QNX and DOS)

In the Linux/Unix/QNX platforms, this module is compiled along with the other database modules as part of the script cdbeng. A good example of a shell script for a client application that uses this API is mkdb.

# Module Header Files

This module depends on the following header files:

- stdhead.h
- dbmess.h
- dbengcfg.h
- dblocfg.h

Goto Top | Future Lab Home | Contact Webmaster | Feedback

Copyright © 1999-2006 Future Lab, Last Updated Jun 30, 2006