Sq3FileC - various functions to create, initialize and destroy … More...
Functions | |
static SQ3_FILE | Sq3FileDatabaseObject (MK_STRN X) |
Database File Corresponding To A Journal … | |
Sq3FileC - Sq3FileC_TOR_C_API - function | |
SQ3_FILE | Sq3FileDatabaseObjectP (MK_STRN X) |
Non-inline replacement for Sq3FileDatabaseObject … | |
Sq3FileC - various functions to create, initialize and destroy …
Database File Corresponding To A Journal …
If X is the name of a rollback or WAL-mode journal file that is passed into the xOpen method of sqlite3_vfs, then Sq3FileDatabaseObject(X) returns a pointer to the Sq3FileC object that represents the main database file.
This routine is intended for use in custom VFS implementations only. It is not a general-purpose interface. The argument Sq3FileDatabaseObject(X) must be a filename pointer that has been passed into sqlite3_vfs.xOpen method where the flags parameter to xOpen contains one of the bits SQ3_OPEN_MAIN_JOURNAL or SQ3_OPEN_WAL. Any other use of this routine results in undefined and probably undesirable behavior.
Reference code from sqlite3:
Definition at line 37 of file Sq3FileC_sq3.h.
Non-inline replacement for Sq3FileDatabaseObject …