Imported Upstream version 5.3.21
[platform/upstream/libdb.git] / lang / sql / adapter / wal.h
1 /*-
2  * See the file LICENSE for redistribution information.
3  *
4  * Copyright (c) 2012, 2012 Oracle and/or its affiliates.  All rights reserved.
5  */
6
7 #include "sqliteInt.h"
8
9 /* Return the value to pass to a sqlite3_wal_hook callback, the
10 ** number of frames in the WAL at the point of the last commit since
11 ** sqlite3WalCallback() was called.  If no commits have occurred since
12 ** the last call, then return 0.
13 */
14 int sqlite3WalCallback(Wal *pWal);
15