Database Stand-Alone High Level API

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:

Module Dependencies

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.

Module Header Files

This module depends on the following header files:

Functions Unique to the Stand-Alone Database API

The following functions are unique to this module and are not present in the client/server database API.

db_atid_lookup

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.

Goto Top | Future Lab Home | Contact Webmaster | Feedback

Copyright © 1999-2000 Future Lab Inc., Last Updated May 2, 2000