~ubuntu-branches/ubuntu/precise/sqlite3/precise-updates

« back to all changes in this revision

Viewing changes to src/pager.h

  • Committer: Bazaar Package Importer
  • Author(s): Laszlo Boszormenyi (GCS)
  • Date: 2009-12-11 14:34:09 UTC
  • mfrom: (9.1.7 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091211143409-o29fahwmcmyd0vq1
Tags: 3.6.21-2
Run autoreconf to prevent FTBFS with new libtool (closes: #560660).

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
** This header file defines the interface that the sqlite page cache
13
13
** subsystem.  The page cache subsystem reads and writes a file a page
14
14
** at a time and provides a journal for rollback.
15
 
**
16
 
** @(#) $Id: pager.h,v 1.102 2009/06/18 17:22:39 drh Exp $
17
15
*/
18
16
 
19
17
#ifndef _PAGER_H_
86
84
*/
87
85
 
88
86
/* Open and close a Pager connection. */ 
89
 
int sqlite3PagerOpen(sqlite3_vfs *, Pager **ppPager, const char*, int,int,int);
 
87
int sqlite3PagerOpen(
 
88
  sqlite3_vfs*,
 
89
  Pager **ppPager,
 
90
  const char*,
 
91
  int,
 
92
  int,
 
93
  int,
 
94
  void(*)(DbPage*)
 
95
);
90
96
int sqlite3PagerClose(Pager *pPager);
91
97
int sqlite3PagerReadFileheader(Pager*, int, unsigned char*);
92
98
 
93
99
/* Functions used to configure a Pager object. */
94
100
void sqlite3PagerSetBusyhandler(Pager*, int(*)(void *), void *);
95
 
void sqlite3PagerSetReiniter(Pager*, void(*)(DbPage*));
96
101
int sqlite3PagerSetPagesize(Pager*, u16*, int);
97
102
int sqlite3PagerMaxPageCount(Pager*, int);
98
103
void sqlite3PagerSetCachesize(Pager*, int);
126
131
int sqlite3PagerRollback(Pager*);
127
132
int sqlite3PagerOpenSavepoint(Pager *pPager, int n);
128
133
int sqlite3PagerSavepoint(Pager *pPager, int op, int iSavepoint);
 
134
int sqlite3PagerSharedLock(Pager *pPager);
129
135
 
130
136
/* Functions used to query pager state and configuration. */
131
137
u8 sqlite3PagerIsreadonly(Pager*);