From 88e6a2edf8baede9bfe294eb5af74378b4fab4a4 Mon Sep 17 00:00:00 2001 From: Stephen Lombardo Date: Thu, 19 Feb 2009 13:09:17 -0500 Subject: [PATCH] support amalgamated builds --- src/crypto.c | 2 -- src/crypto.h | 3 +++ tool/mksqlite3c.tcl | 4 ++++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/crypto.c b/src/crypto.c index e9313d5..db6bdad 100644 --- a/src/crypto.c +++ b/src/crypto.c @@ -40,8 +40,6 @@ #include "btreeInt.h" #include "crypto.h" -extern int sqlite3pager_get_codec(Pager *pPager, void * ctx); - typedef struct { int key_sz; int iv_sz; diff --git a/src/crypto.h b/src/crypto.h index e5e7cfd..a784004 100644 --- a/src/crypto.h +++ b/src/crypto.h @@ -39,5 +39,8 @@ #define CIPHER_DECRYPT 0 #define CIPHER_ENCRYPT 1 +int sqlite3pager_get_codec(Pager *pPager, void **ctx); +int sqlite3pager_is_mj_pgno(Pager *pPager, Pgno pgno); + #endif /* END CRYPTO */ diff --git a/tool/mksqlite3c.tcl b/tool/mksqlite3c.tcl index 98aede2..fcacaa2 100644 --- a/tool/mksqlite3c.tcl +++ b/tool/mksqlite3c.tcl @@ -86,6 +86,7 @@ if {$addstatic} { # text of the file in-line. The file only needs to be included once. # foreach hdr { + crypto.h btree.h btreeInt.h fts3.h @@ -203,6 +204,8 @@ proc copy_file {filename} { foreach file { sqliteInt.h + crypto.c + global.c status.c date.c @@ -281,6 +284,7 @@ foreach file { rtree.c icu.c + } { copy_file tsrc/$file }