summaryrefslogtreecommitdiff
path: root/lang/sql/adapter/pcache.h
blob: 476701f309472d0320e3cc3e888f0877e2c4554f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*-
 * See the file LICENSE for redistribution information.
 *
 * Copyright (c) 2012, 2012 Oracle and/or its affiliates.  All rights reserved.
 */

typedef struct PgHdr PgHdr;
/* Initialize and shutdown the page cache subsystem */
struct PgHdr {
	int empty; /* DB doesn't use this structure. */
};

int sqlite3PcacheInitialize(void);
void sqlite3PcacheShutdown(void);
void sqlite3PCacheBufferSetup(void *p, int sz, int n);
void sqlite3PCacheSetDefault(void);
#ifdef SQLITE_TEST
void sqlite3PcacheStats(int *a,int *b,int *c,int *d);
#endif