meta data for this page
Firebird API
Note the following changes affecting the API
isc_interpret is deprecated
isc_interpret() is deprecated as dangerous. Use fb_interpret() instead.
Events callback routine declaration corrected
The new prototype for isc_callback reflects the actual callback signature. Formerly, it was:
typedef void (* isc_callback) (); ISC_STATUS isc_que_events( ISC_STATUS *, isc_db_handle *, ISC_LONG *, short, char *, isc_callback, void *);
In the Firebird 2.0 API it is:
typedef void (*ISC_EVENT_CALLBACK) (void*, ISC_USHORT, const ISC_UCHAR*); ISC_STATUS isc_que_events( ISC_STATUS*, isc_db_handle*, ISC_LONG*, short, const ISC_SCHAR*, ISC_EVENT_CALLBACK, void*);
It may cause a compile-time incompatibility, as older event handling programs cannot be compiled if they use a bit different signature for a callback routine (e.g., void* instead of const char* as the last parameter).