Creating Database Handles

From InterBase
Jump to: navigation, search

Go Up to Connecting to Databases


Every database that an application accesses must be associated with its own database handle, a pointer to a FILE structure that is used by all API database functions. The ibase.h header file contains the following C typedef declaration for database handles:

typedef void ISC_FAR *isc_db_handle;

To use this typedef for declaring database handles in an application, include ibase.h in each source file module:

#include <ibase.h>

Topics