theSq3Lite 10.0 NHI1 - theKernel - theLink - theConfig - theSq3Lite - theCompiler - theBrain - theGuard - theLib - theATL
c - tcl - atl - cs - py - rb - jv - cc
Loading...
Searching...
No Matches
Sq3FileC_TOR_C_API

Sq3FileC - various functions to create, initialize and destroy … More...

+ Collaboration diagram for Sq3FileC_TOR_C_API:

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
 

Detailed Description

Sq3FileC - various functions to create, initialize and destroy …

Function Documentation

◆ Sq3FileDatabaseObject()

static SQ3_FILE Sq3FileDatabaseObject ( MK_STRN X)
inlinestatic

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:

#define SQLITE_API
SQLITE_API sqlite3_file * sqlite3_database_file_object(const char *)

Definition at line 37 of file Sq3FileC_sq3.h.

37 {
39 }
static SQ3_FILE Sq3FileC_ObjCreate(sqlite3_file *hdl)
return Programming-Language-Micro-Kernel (PLMK) instance from native hdl …
+ Here is the caller graph for this function:

◆ Sq3FileDatabaseObjectP()

SQ3_FILE Sq3FileDatabaseObjectP ( MK_STRN X)

Non-inline replacement for Sq3FileDatabaseObject