dm_db_set_busy_handler Function

public function dm_db_set_busy_handler(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_handler) :: callback

Callback function.

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

C pointer to client data.

Return Value integer


Calls

proc~~dm_db_set_busy_handler~~CallsGraph proc~dm_db_set_busy_handler dm_db_set_busy_handler sqlite3_busy_handler sqlite3_busy_handler proc~dm_db_set_busy_handler->sqlite3_busy_handler