The single user database API module has the file name dblocal.c. This module provides a programmer with a high level callable API that will access the Bbuuzzb database engine. This API is available for all platforms and is part of single user database access as well as the database server. Almost all functions require a tid as the first function parameter. Any mention of QNX in this document refers to the QNX 4.x OS.
Here is a list of functions in this module:
This module is part of the database single user API and needs to be linked with the following modules:
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 that uses this API is mkdb.
This module depends on the following header files:
The following functions are unique to this module and are not present in the client/server database API.
Prototype : struct dbeng_table *db_atid_lookup(int tid) Name : tid Description : tid Returns : dbeng_table pointer
This function takes a tid and performs a lookup and returns the corresponding dbeng_table pointer. This function is used internally by this API and should not be called by applications.