int sqlite3_vfs_register( sqlite3_vfs* vfs, int make_default );
vfs
A VFS module.
make_default
If this value is nonzero, the given VFS module will become the default module.
An SQLite result code.
This function registers an application-defined VFS module with the SQLite. The new module can also be made the default for new database connections. The same module (under the same name) can be safely registered multiple times. To make an existing module the default module, just reregister it with the default flag set.
VFS modules are an advanced SQLite topic. For more information, see http://www.sqlite.org/c3ref/vfs.html.