The stand-alone 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 Almost all functions require a tid as the first function parameter.
Here is a list of functions in this module:
This module is part of the database stand-alone API and needs to be linked with the following modules:
In the Unix platform, this module is compiled along with the other database modules as part of the script cdbeng. A good example of a Unix script for a client application that uses this API is mkdb.
Note that even though this API is for stand-alone applications, this module must be linked with the TCP IPC module (ipcomm.c except in the case of the QNX platform where the TCP IPC is not used.
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 cooresponding dbeng_table pointer. This function is used internally by this API and should not be called by applications.