gpg: Change sqlite3_stepx to pass the sqlite3_stmt * to the callback.
authorNeal H. Walfield <neal@g10code.com>
Thu, 29 Oct 2015 08:36:36 +0000 (09:36 +0100)
committerNeal H. Walfield <neal@g10code.com>
Thu, 29 Oct 2015 09:10:39 +0000 (10:10 +0100)
commit421827424fe87855307fe3e803b42ffa02738600
tree79f2e83201a19fbc09351f1e161157369e7ce0dc
parent351f4213e192aa11500c0c590d11183edbe326c5
gpg: Change sqlite3_stepx to pass the sqlite3_stmt * to the callback.

* g10/sqlite.h (enum sqlite_arg_type): Add SQLITE_ARG_BLOB.
(sqlite3_stepx_callback): New declaration.
(sqlite3_stepx): Change the callback's type to sqlite3_stepx_callback,
which passes an additional parameter, the sqlite3_stmt *.  Update
users.

--
Signed-off-by: Neal H. Walfield <neal@g10code.com>
g10/sqlite.c
g10/sqlite.h
g10/tofu.c