Lines Matching defs:sqlite3_file
568 ** An [sqlite3_file] object represents an open file in the
576 typedef struct sqlite3_file sqlite3_file;
577 struct sqlite3_file {
585 ** [sqlite3_file] object (or, more commonly, a subclass of the
586 ** [sqlite3_file] object) with a pointer to an instance of this object.
588 ** against the open file represented by the [sqlite3_file] object.
590 ** If the xOpen method sets the sqlite3_file.pMethods element
594 ** is for the xOpen to set the sqlite3_file.pMethods element to NULL.
671 int (*xClose)(sqlite3_file*);
672 int (*xRead)(sqlite3_file*, void*, int iAmt, sqlite3_int64 iOfst);
673 int (*xWrite)(sqlite3_file*, const void*, int iAmt, sqlite3_int64 iOfst);
674 int (*xTruncate)(sqlite3_file*, sqlite3_int64 size);
675 int (*xSync)(sqlite3_file*, int flags);
676 int (*xFileSize)(sqlite3_file*, sqlite3_int64 *pSize);
677 int (*xLock)(sqlite3_file*, int);
678 int (*xUnlock)(sqlite3_file*, int);
679 int (*xCheckReservedLock)(sqlite3_file*, int *pResOut);
680 int (*xFileControl)(sqlite3_file*, int op, void *pArg);
681 int (*xSectorSize)(sqlite3_file*);
682 int (*xDeviceCharacteristics)(sqlite3_file*);
684 int (*xShmMap)(sqlite3_file*, int iPg, int pgsz, int, void volatile**);
685 int (*xShmLock)(sqlite3_file*, int offset, int n, int flags);
686 void (*xShmBarrier)(sqlite3_file*);
687 int (*xShmUnmap)(sqlite3_file*, int deleteFlag);
757 ** The szOsFile field is the size of the subclassed [sqlite3_file]
786 ** the [sqlite3_file] can safely store a pointer to the
845 ** to hold the [sqlite3_file] structure passed as the third
848 ** the xOpen method must set the sqlite3_file.pMethods to either
850 ** this even if the open fails. SQLite expects that the sqlite3_file.pMethods
888 int szOsFile; /* Size of subclassed sqlite3_file */
893 int (*xOpen)(sqlite3_vfs*, const char *zName, sqlite3_file*,
5271 ** a pointer to the underlying [sqlite3_file] object to be written into