Lines Matching defs:sqlite3_file

722 ** An [sqlite3_file] object represents an open file in the
730 typedef struct sqlite3_file sqlite3_file;
731 struct sqlite3_file {
739 ** [sqlite3_file] object (or, more commonly, a subclass of the
740 ** [sqlite3_file] object) with a pointer to an instance of this object.
742 ** against the open file represented by the [sqlite3_file] object.
744 ** If the [sqlite3_vfs.xOpen] method sets the sqlite3_file.pMethods element
748 ** is for the [sqlite3_vfs.xOpen] to set the sqlite3_file.pMethods element
839 int (*xClose)(sqlite3_file*);
840 int (*xRead)(sqlite3_file*, void*, int iAmt, sqlite3_int64 iOfst);
841 int (*xWrite)(sqlite3_file*, const void*, int iAmt, sqlite3_int64 iOfst);
842 int (*xTruncate)(sqlite3_file*, sqlite3_int64 size);
843 int (*xSync)(sqlite3_file*, int flags);
844 int (*xFileSize)(sqlite3_file*, sqlite3_int64 *pSize);
845 int (*xLock)(sqlite3_file*, int);
846 int (*xUnlock)(sqlite3_file*, int);
847 int (*xCheckReservedLock)(sqlite3_file*, int *pResOut);
848 int (*xFileControl)(sqlite3_file*, int op, void *pArg);
849 int (*xSectorSize)(sqlite3_file*);
850 int (*xDeviceCharacteristics)(sqlite3_file*);
852 int (*xShmMap)(sqlite3_file*, int iPg, int pgsz, int, void volatile**);
853 int (*xShmLock)(sqlite3_file*, int offset, int n, int flags);
854 void (*xShmBarrier)(sqlite3_file*);
855 int (*xShmUnmap)(sqlite3_file*, int deleteFlag);
857 int (*xFetch)(sqlite3_file*, sqlite3_int64 iOfst, int iAmt, void **pp);
858 int (*xUnfetch)(sqlite3_file*, sqlite3_int64 iOfst, void *p);
908 ** to the [sqlite3_file] object associated with a particular database
913 ** to the [sqlite3_file] object associated with the journal file (either
1014 ** file control is sent to the open [sqlite3_file] object corresponding
1119 ** no VFS interface calls on the same [sqlite3_file] file descriptor
1317 ** The szOsFile field is the size of the subclassed [sqlite3_file]
1347 ** the [sqlite3_file] can safely store a pointer to the
1406 ** to hold the [sqlite3_file] structure passed as the third
1409 ** the xOpen method must set the sqlite3_file.pMethods to either
1411 ** this even if the open fails. SQLite expects that the sqlite3_file.pMethods
1469 int szOsFile; /* Size of subclassed sqlite3_file */
1474 int (*xOpen)(sqlite3_vfs*, sqlite3_filename zName, sqlite3_file*,
3880 ** sqlite3_database_file_object(X) returns a pointer to the [sqlite3_file]
3892 SQLITE_API sqlite3_file *sqlite3_database_file_object(const char*);
8267 ** a pointer to the underlying [sqlite3_file] object to be written into
8270 ** the [sqlite3_file] object associated with the journal file instead of