Name
sqlite3_vfs_register() — Register a custom VFS module
Definition
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.
- Returns
An SQLite result code.
Description
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.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access