aboutsummaryrefslogtreecommitdiff
path: root/src/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/log.h')
-rw-r--r--src/log.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/log.h b/src/log.h
index 5da5fb105..af698ebf5 100644
--- a/src/log.h
+++ b/src/log.h
@@ -32,7 +32,7 @@ void sqlite3LogCloseSnapshot(Log *pLog);
/* Read a page from the log, if it is present. */
int sqlite3LogRead(Log *pLog, Pgno pgno, int *pInLog, u8 *pOut);
-void sqlite3LogMaxpgno(Log *pLog, Pgno *pPgno);
+void sqlite3LogDbsize(Log *pLog, Pgno *pPgno);
/* Obtain or release the WRITER lock. */
int sqlite3LogWriteLock(Log *pLog, int op);
@@ -50,4 +50,7 @@ int sqlite3LogCheckpoint(
void *pBusyHandlerArg /* Argument to pass to xBusyHandler */
);
+/* Return the value to pass to a log callback. Or 0 for no callback. */
+int sqlite3LogCallback(Log *pLog);
+
#endif /* _LOG_H_ */