Creating Transaction Handles

From InterBase
Jump to: navigation, search

Go Up to Starting Transactions


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

typedef void ISC_FAR *isc_tr_handle;

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

#include <ibase.h>

Topics