Contents Index db_locate_servers function db_start_database function

ASA Programming Guide
  Embedded SQL Programming
    Library function reference

db_register_a_callback function


Prototype 

void db_register_a_callback(
SQLCA *sqlca,
a_db_callback_index index,
( SQL_CALLBACK_PARM ) callback );

Description 

This function registers callback functions.

If you do not register a DB_CALLBACK_WAIT callback, the default action is to do nothing. Your application blocks, waiting for the database response, and Windows changes the cursor to an hourglass.

To remove a callback, pass a null pointer as the callback function.

The following values are allowed for the index parameter:


Contents Index db_locate_servers function db_start_database function