dm_db_set_busy_callback Function

public function dm_db_set_busy_callback(db, callback, client_data) result(rc)

Sets SQLite busy callback that is invoked whenever the database is busy.

The dummy argument client_data is passed to the callback function. The callback may return 0 to signal that no more invocations are desired.

The function returns E_DB on error.

Arguments

Type IntentOptional Attributes Name
type(db_type), intent(inout) :: db

Database type.

procedure(dm_db_busy_callback) :: callback

Callback function.

type(c_ptr), intent(in) :: client_data

C pointer to client data.

Return Value integer


Calls

proc~~dm_db_set_busy_callback~~CallsGraph proc~dm_db_set_busy_callback dm_db_set_busy_callback sqlite3_busy_handler sqlite3_busy_handler proc~dm_db_set_busy_callback->sqlite3_busy_handler