int sqlite3_config( int option, ... );
option
The configuration option to change.
Additional parameters are determined by the given configuration option.
An SQLite result code.
This function configures the SQLite library. It must be called
before the SQLite library finishes its initialization process
(either before sqlite3_initialize()
returns, or after sqlite3_shutdown()
is called).
The number of additional parameters and their types is
determined by the specific configuration option.
In addition to controlling the threading mode, this function can also be used to control many different aspects of SQLite’s memory usage. Setting these configuration parameters is an advanced feature that is not required by the vast majority of applications.
For more information on the currently supported configuration options, see http://www.sqlite.org/c3ref/c_config_getmalloc.html.