Lines Matching defs:Pager
157 struct Pager { struct
158 char *zFilename; /* Name of the database file */
159 char *zJournal; /* Name of the journal file */
160 char *zDirectory; /* Directory hold database and journal files */
161 OsFile fd, jfd; /* File descriptors for database and journal */
162 OsFile cpfd; /* File descriptor for the checkpoint journal */
163 int dbSize; /* Number of pages in the file */
164 int origDbSize; /* dbSize before the current change */
165 int ckptSize; /* Size of database (in pages) at ckpt_begin() */
166 off_t ckptJSize; /* Size of journal at ckpt_begin() */
167 int nRec; /* Number of pages written to the journal */
168 u32 cksumInit; /* Quasi-random value added to every checksum */
169 int ckptNRec; /* Number of records in the checkpoint journal */
170 int nExtra; /* Add this many bytes to each in-memory page */
171 void (*xDestructor)(void*); /* Call this routine when freeing pages */
172 int nPage; /* Total number of in-memory pages */
173 int nRef; /* Number of in-memory pages with PgHdr.nRef>0 */
174 int mxPage; /* Maximum number of pages to hold in cache */
175 int nHit, nMiss, nOvfl; /* Cache hits, missing, and LRU overflows */
176 void (*xCodec)(void*,void*,Pgno,int); /* Routine for en/decoding data */
177 void *pCodecArg; /* First argument to xCodec() */
178 u8 journalOpen; /* True if journal file descriptors is valid */
179 u8 journalStarted; /* True if header of journal is synced */
203 ** These are bits that can be set in Pager.errMask. argument