mirror of
https://github.com/isar/rusqlite.git
synced 2025-12-14 23:42:25 +08:00
bump sqlcipher to 4.5.2
This commit is contained in:
committed by
Thom Chiovoloni
parent
12fc73d122
commit
2585881991
529
libsqlite3-sys/sqlcipher/bindgen_bundled_version.rs
vendored
529
libsqlite3-sys/sqlcipher/bindgen_bundled_version.rs
vendored
@@ -1,9 +1,9 @@
|
||||
/* automatically generated by rust-bindgen 0.59.2 */
|
||||
|
||||
pub const SQLITE_VERSION: &[u8; 7usize] = b"3.37.2\0";
|
||||
pub const SQLITE_VERSION_NUMBER: i32 = 3037002;
|
||||
pub const SQLITE_VERSION: &[u8; 7usize] = b"3.39.2\0";
|
||||
pub const SQLITE_VERSION_NUMBER: i32 = 3039002;
|
||||
pub const SQLITE_SOURCE_ID: &[u8; 85usize] =
|
||||
b"2022-01-06 13:25:41 872ba256cbf61d9290b571c0e6d82a20c224ca3ad82971edc46b29818d5dalt1\0";
|
||||
b"2022-07-21 15:24:47 698edb77537b67c41adc68f9b892db56bcf9a55e00371a61420f3ddd668ealt1\0";
|
||||
pub const SQLITE_OK: i32 = 0;
|
||||
pub const SQLITE_ERROR: i32 = 1;
|
||||
pub const SQLITE_INTERNAL: i32 = 2;
|
||||
@@ -345,6 +345,8 @@ pub const SQLITE_INDEX_CONSTRAINT_ISNOT: i32 = 69;
|
||||
pub const SQLITE_INDEX_CONSTRAINT_ISNOTNULL: i32 = 70;
|
||||
pub const SQLITE_INDEX_CONSTRAINT_ISNULL: i32 = 71;
|
||||
pub const SQLITE_INDEX_CONSTRAINT_IS: i32 = 72;
|
||||
pub const SQLITE_INDEX_CONSTRAINT_LIMIT: i32 = 73;
|
||||
pub const SQLITE_INDEX_CONSTRAINT_OFFSET: i32 = 74;
|
||||
pub const SQLITE_INDEX_CONSTRAINT_FUNCTION: i32 = 150;
|
||||
pub const SQLITE_MUTEX_FAST: i32 = 0;
|
||||
pub const SQLITE_MUTEX_RECURSIVE: i32 = 1;
|
||||
@@ -394,7 +396,8 @@ pub const SQLITE_TESTCTRL_EXTRA_SCHEMA_CHECKS: i32 = 29;
|
||||
pub const SQLITE_TESTCTRL_SEEK_COUNT: i32 = 30;
|
||||
pub const SQLITE_TESTCTRL_TRACEFLAGS: i32 = 31;
|
||||
pub const SQLITE_TESTCTRL_TUNE: i32 = 32;
|
||||
pub const SQLITE_TESTCTRL_LAST: i32 = 32;
|
||||
pub const SQLITE_TESTCTRL_LOGEST: i32 = 33;
|
||||
pub const SQLITE_TESTCTRL_LAST: i32 = 33;
|
||||
pub const SQLITE_STATUS_MEMORY_USED: i32 = 0;
|
||||
pub const SQLITE_STATUS_PAGECACHE_USED: i32 = 1;
|
||||
pub const SQLITE_STATUS_PAGECACHE_OVERFLOW: i32 = 2;
|
||||
@@ -425,6 +428,8 @@ pub const SQLITE_STMTSTATUS_AUTOINDEX: i32 = 3;
|
||||
pub const SQLITE_STMTSTATUS_VM_STEP: i32 = 4;
|
||||
pub const SQLITE_STMTSTATUS_REPREPARE: i32 = 5;
|
||||
pub const SQLITE_STMTSTATUS_RUN: i32 = 6;
|
||||
pub const SQLITE_STMTSTATUS_FILTER_MISS: i32 = 7;
|
||||
pub const SQLITE_STMTSTATUS_FILTER_HIT: i32 = 8;
|
||||
pub const SQLITE_STMTSTATUS_MEMUSED: i32 = 99;
|
||||
pub const SQLITE_CHECKPOINT_PASSIVE: i32 = 0;
|
||||
pub const SQLITE_CHECKPOINT_FULL: i32 = 1;
|
||||
@@ -1644,6 +1649,9 @@ extern "C" {
|
||||
extern "C" {
|
||||
pub fn sqlite3_errstr(arg1: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3_error_offset(db: *mut sqlite3) -> ::std::os::raw::c_int;
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
pub struct sqlite3_stmt {
|
||||
@@ -2466,6 +2474,12 @@ extern "C" {
|
||||
extern "C" {
|
||||
pub fn sqlite3_db_handle(arg1: *mut sqlite3_stmt) -> *mut sqlite3;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3_db_name(
|
||||
db: *mut sqlite3,
|
||||
N: ::std::os::raw::c_int,
|
||||
) -> *const ::std::os::raw::c_char;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3_db_filename(
|
||||
db: *mut sqlite3,
|
||||
@@ -4320,6 +4334,35 @@ extern "C" {
|
||||
arg2: ::std::os::raw::c_int,
|
||||
) -> *const ::std::os::raw::c_char;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3_vtab_distinct(arg1: *mut sqlite3_index_info) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3_vtab_in(
|
||||
arg1: *mut sqlite3_index_info,
|
||||
iCons: ::std::os::raw::c_int,
|
||||
bHandle: ::std::os::raw::c_int,
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3_vtab_in_first(
|
||||
pVal: *mut sqlite3_value,
|
||||
ppOut: *mut *mut sqlite3_value,
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3_vtab_in_next(
|
||||
pVal: *mut sqlite3_value,
|
||||
ppOut: *mut *mut sqlite3_value,
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3_vtab_rhs_value(
|
||||
arg1: *mut sqlite3_index_info,
|
||||
arg2: ::std::os::raw::c_int,
|
||||
ppVal: *mut *mut sqlite3_value,
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3_stmt_scanstatus(
|
||||
pStmt: *mut sqlite3_stmt,
|
||||
@@ -5240,6 +5283,484 @@ extern "C" {
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
pub struct sqlite3_session {
|
||||
_unused: [u8; 0],
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
pub struct sqlite3_changeset_iter {
|
||||
_unused: [u8; 0],
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3session_create(
|
||||
db: *mut sqlite3,
|
||||
zDb: *const ::std::os::raw::c_char,
|
||||
ppSession: *mut *mut sqlite3_session,
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3session_delete(pSession: *mut sqlite3_session);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3session_object_config(
|
||||
arg1: *mut sqlite3_session,
|
||||
op: ::std::os::raw::c_int,
|
||||
pArg: *mut ::std::os::raw::c_void,
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3session_enable(
|
||||
pSession: *mut sqlite3_session,
|
||||
bEnable: ::std::os::raw::c_int,
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3session_indirect(
|
||||
pSession: *mut sqlite3_session,
|
||||
bIndirect: ::std::os::raw::c_int,
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3session_attach(
|
||||
pSession: *mut sqlite3_session,
|
||||
zTab: *const ::std::os::raw::c_char,
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3session_table_filter(
|
||||
pSession: *mut sqlite3_session,
|
||||
xFilter: ::std::option::Option<
|
||||
unsafe extern "C" fn(
|
||||
pCtx: *mut ::std::os::raw::c_void,
|
||||
zTab: *const ::std::os::raw::c_char,
|
||||
) -> ::std::os::raw::c_int,
|
||||
>,
|
||||
pCtx: *mut ::std::os::raw::c_void,
|
||||
);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3session_changeset(
|
||||
pSession: *mut sqlite3_session,
|
||||
pnChangeset: *mut ::std::os::raw::c_int,
|
||||
ppChangeset: *mut *mut ::std::os::raw::c_void,
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3session_changeset_size(pSession: *mut sqlite3_session) -> sqlite3_int64;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3session_diff(
|
||||
pSession: *mut sqlite3_session,
|
||||
zFromDb: *const ::std::os::raw::c_char,
|
||||
zTbl: *const ::std::os::raw::c_char,
|
||||
pzErrMsg: *mut *mut ::std::os::raw::c_char,
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3session_patchset(
|
||||
pSession: *mut sqlite3_session,
|
||||
pnPatchset: *mut ::std::os::raw::c_int,
|
||||
ppPatchset: *mut *mut ::std::os::raw::c_void,
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3session_isempty(pSession: *mut sqlite3_session) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3session_memory_used(pSession: *mut sqlite3_session) -> sqlite3_int64;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3changeset_start(
|
||||
pp: *mut *mut sqlite3_changeset_iter,
|
||||
nChangeset: ::std::os::raw::c_int,
|
||||
pChangeset: *mut ::std::os::raw::c_void,
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3changeset_start_v2(
|
||||
pp: *mut *mut sqlite3_changeset_iter,
|
||||
nChangeset: ::std::os::raw::c_int,
|
||||
pChangeset: *mut ::std::os::raw::c_void,
|
||||
flags: ::std::os::raw::c_int,
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3changeset_next(pIter: *mut sqlite3_changeset_iter) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3changeset_op(
|
||||
pIter: *mut sqlite3_changeset_iter,
|
||||
pzTab: *mut *const ::std::os::raw::c_char,
|
||||
pnCol: *mut ::std::os::raw::c_int,
|
||||
pOp: *mut ::std::os::raw::c_int,
|
||||
pbIndirect: *mut ::std::os::raw::c_int,
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3changeset_pk(
|
||||
pIter: *mut sqlite3_changeset_iter,
|
||||
pabPK: *mut *mut ::std::os::raw::c_uchar,
|
||||
pnCol: *mut ::std::os::raw::c_int,
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3changeset_old(
|
||||
pIter: *mut sqlite3_changeset_iter,
|
||||
iVal: ::std::os::raw::c_int,
|
||||
ppValue: *mut *mut sqlite3_value,
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3changeset_new(
|
||||
pIter: *mut sqlite3_changeset_iter,
|
||||
iVal: ::std::os::raw::c_int,
|
||||
ppValue: *mut *mut sqlite3_value,
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3changeset_conflict(
|
||||
pIter: *mut sqlite3_changeset_iter,
|
||||
iVal: ::std::os::raw::c_int,
|
||||
ppValue: *mut *mut sqlite3_value,
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3changeset_fk_conflicts(
|
||||
pIter: *mut sqlite3_changeset_iter,
|
||||
pnOut: *mut ::std::os::raw::c_int,
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3changeset_finalize(pIter: *mut sqlite3_changeset_iter) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3changeset_invert(
|
||||
nIn: ::std::os::raw::c_int,
|
||||
pIn: *const ::std::os::raw::c_void,
|
||||
pnOut: *mut ::std::os::raw::c_int,
|
||||
ppOut: *mut *mut ::std::os::raw::c_void,
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3changeset_concat(
|
||||
nA: ::std::os::raw::c_int,
|
||||
pA: *mut ::std::os::raw::c_void,
|
||||
nB: ::std::os::raw::c_int,
|
||||
pB: *mut ::std::os::raw::c_void,
|
||||
pnOut: *mut ::std::os::raw::c_int,
|
||||
ppOut: *mut *mut ::std::os::raw::c_void,
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
pub struct sqlite3_changegroup {
|
||||
_unused: [u8; 0],
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3changegroup_new(pp: *mut *mut sqlite3_changegroup) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3changegroup_add(
|
||||
arg1: *mut sqlite3_changegroup,
|
||||
nData: ::std::os::raw::c_int,
|
||||
pData: *mut ::std::os::raw::c_void,
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3changegroup_output(
|
||||
arg1: *mut sqlite3_changegroup,
|
||||
pnData: *mut ::std::os::raw::c_int,
|
||||
ppData: *mut *mut ::std::os::raw::c_void,
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3changegroup_delete(arg1: *mut sqlite3_changegroup);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3changeset_apply(
|
||||
db: *mut sqlite3,
|
||||
nChangeset: ::std::os::raw::c_int,
|
||||
pChangeset: *mut ::std::os::raw::c_void,
|
||||
xFilter: ::std::option::Option<
|
||||
unsafe extern "C" fn(
|
||||
pCtx: *mut ::std::os::raw::c_void,
|
||||
zTab: *const ::std::os::raw::c_char,
|
||||
) -> ::std::os::raw::c_int,
|
||||
>,
|
||||
xConflict: ::std::option::Option<
|
||||
unsafe extern "C" fn(
|
||||
pCtx: *mut ::std::os::raw::c_void,
|
||||
eConflict: ::std::os::raw::c_int,
|
||||
p: *mut sqlite3_changeset_iter,
|
||||
) -> ::std::os::raw::c_int,
|
||||
>,
|
||||
pCtx: *mut ::std::os::raw::c_void,
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3changeset_apply_v2(
|
||||
db: *mut sqlite3,
|
||||
nChangeset: ::std::os::raw::c_int,
|
||||
pChangeset: *mut ::std::os::raw::c_void,
|
||||
xFilter: ::std::option::Option<
|
||||
unsafe extern "C" fn(
|
||||
pCtx: *mut ::std::os::raw::c_void,
|
||||
zTab: *const ::std::os::raw::c_char,
|
||||
) -> ::std::os::raw::c_int,
|
||||
>,
|
||||
xConflict: ::std::option::Option<
|
||||
unsafe extern "C" fn(
|
||||
pCtx: *mut ::std::os::raw::c_void,
|
||||
eConflict: ::std::os::raw::c_int,
|
||||
p: *mut sqlite3_changeset_iter,
|
||||
) -> ::std::os::raw::c_int,
|
||||
>,
|
||||
pCtx: *mut ::std::os::raw::c_void,
|
||||
ppRebase: *mut *mut ::std::os::raw::c_void,
|
||||
pnRebase: *mut ::std::os::raw::c_int,
|
||||
flags: ::std::os::raw::c_int,
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
pub struct sqlite3_rebaser {
|
||||
_unused: [u8; 0],
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3rebaser_create(ppNew: *mut *mut sqlite3_rebaser) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3rebaser_configure(
|
||||
arg1: *mut sqlite3_rebaser,
|
||||
nRebase: ::std::os::raw::c_int,
|
||||
pRebase: *const ::std::os::raw::c_void,
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3rebaser_rebase(
|
||||
arg1: *mut sqlite3_rebaser,
|
||||
nIn: ::std::os::raw::c_int,
|
||||
pIn: *const ::std::os::raw::c_void,
|
||||
pnOut: *mut ::std::os::raw::c_int,
|
||||
ppOut: *mut *mut ::std::os::raw::c_void,
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3rebaser_delete(p: *mut sqlite3_rebaser);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3changeset_apply_strm(
|
||||
db: *mut sqlite3,
|
||||
xInput: ::std::option::Option<
|
||||
unsafe extern "C" fn(
|
||||
pIn: *mut ::std::os::raw::c_void,
|
||||
pData: *mut ::std::os::raw::c_void,
|
||||
pnData: *mut ::std::os::raw::c_int,
|
||||
) -> ::std::os::raw::c_int,
|
||||
>,
|
||||
pIn: *mut ::std::os::raw::c_void,
|
||||
xFilter: ::std::option::Option<
|
||||
unsafe extern "C" fn(
|
||||
pCtx: *mut ::std::os::raw::c_void,
|
||||
zTab: *const ::std::os::raw::c_char,
|
||||
) -> ::std::os::raw::c_int,
|
||||
>,
|
||||
xConflict: ::std::option::Option<
|
||||
unsafe extern "C" fn(
|
||||
pCtx: *mut ::std::os::raw::c_void,
|
||||
eConflict: ::std::os::raw::c_int,
|
||||
p: *mut sqlite3_changeset_iter,
|
||||
) -> ::std::os::raw::c_int,
|
||||
>,
|
||||
pCtx: *mut ::std::os::raw::c_void,
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3changeset_apply_v2_strm(
|
||||
db: *mut sqlite3,
|
||||
xInput: ::std::option::Option<
|
||||
unsafe extern "C" fn(
|
||||
pIn: *mut ::std::os::raw::c_void,
|
||||
pData: *mut ::std::os::raw::c_void,
|
||||
pnData: *mut ::std::os::raw::c_int,
|
||||
) -> ::std::os::raw::c_int,
|
||||
>,
|
||||
pIn: *mut ::std::os::raw::c_void,
|
||||
xFilter: ::std::option::Option<
|
||||
unsafe extern "C" fn(
|
||||
pCtx: *mut ::std::os::raw::c_void,
|
||||
zTab: *const ::std::os::raw::c_char,
|
||||
) -> ::std::os::raw::c_int,
|
||||
>,
|
||||
xConflict: ::std::option::Option<
|
||||
unsafe extern "C" fn(
|
||||
pCtx: *mut ::std::os::raw::c_void,
|
||||
eConflict: ::std::os::raw::c_int,
|
||||
p: *mut sqlite3_changeset_iter,
|
||||
) -> ::std::os::raw::c_int,
|
||||
>,
|
||||
pCtx: *mut ::std::os::raw::c_void,
|
||||
ppRebase: *mut *mut ::std::os::raw::c_void,
|
||||
pnRebase: *mut ::std::os::raw::c_int,
|
||||
flags: ::std::os::raw::c_int,
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3changeset_concat_strm(
|
||||
xInputA: ::std::option::Option<
|
||||
unsafe extern "C" fn(
|
||||
pIn: *mut ::std::os::raw::c_void,
|
||||
pData: *mut ::std::os::raw::c_void,
|
||||
pnData: *mut ::std::os::raw::c_int,
|
||||
) -> ::std::os::raw::c_int,
|
||||
>,
|
||||
pInA: *mut ::std::os::raw::c_void,
|
||||
xInputB: ::std::option::Option<
|
||||
unsafe extern "C" fn(
|
||||
pIn: *mut ::std::os::raw::c_void,
|
||||
pData: *mut ::std::os::raw::c_void,
|
||||
pnData: *mut ::std::os::raw::c_int,
|
||||
) -> ::std::os::raw::c_int,
|
||||
>,
|
||||
pInB: *mut ::std::os::raw::c_void,
|
||||
xOutput: ::std::option::Option<
|
||||
unsafe extern "C" fn(
|
||||
pOut: *mut ::std::os::raw::c_void,
|
||||
pData: *const ::std::os::raw::c_void,
|
||||
nData: ::std::os::raw::c_int,
|
||||
) -> ::std::os::raw::c_int,
|
||||
>,
|
||||
pOut: *mut ::std::os::raw::c_void,
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3changeset_invert_strm(
|
||||
xInput: ::std::option::Option<
|
||||
unsafe extern "C" fn(
|
||||
pIn: *mut ::std::os::raw::c_void,
|
||||
pData: *mut ::std::os::raw::c_void,
|
||||
pnData: *mut ::std::os::raw::c_int,
|
||||
) -> ::std::os::raw::c_int,
|
||||
>,
|
||||
pIn: *mut ::std::os::raw::c_void,
|
||||
xOutput: ::std::option::Option<
|
||||
unsafe extern "C" fn(
|
||||
pOut: *mut ::std::os::raw::c_void,
|
||||
pData: *const ::std::os::raw::c_void,
|
||||
nData: ::std::os::raw::c_int,
|
||||
) -> ::std::os::raw::c_int,
|
||||
>,
|
||||
pOut: *mut ::std::os::raw::c_void,
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3changeset_start_strm(
|
||||
pp: *mut *mut sqlite3_changeset_iter,
|
||||
xInput: ::std::option::Option<
|
||||
unsafe extern "C" fn(
|
||||
pIn: *mut ::std::os::raw::c_void,
|
||||
pData: *mut ::std::os::raw::c_void,
|
||||
pnData: *mut ::std::os::raw::c_int,
|
||||
) -> ::std::os::raw::c_int,
|
||||
>,
|
||||
pIn: *mut ::std::os::raw::c_void,
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3changeset_start_v2_strm(
|
||||
pp: *mut *mut sqlite3_changeset_iter,
|
||||
xInput: ::std::option::Option<
|
||||
unsafe extern "C" fn(
|
||||
pIn: *mut ::std::os::raw::c_void,
|
||||
pData: *mut ::std::os::raw::c_void,
|
||||
pnData: *mut ::std::os::raw::c_int,
|
||||
) -> ::std::os::raw::c_int,
|
||||
>,
|
||||
pIn: *mut ::std::os::raw::c_void,
|
||||
flags: ::std::os::raw::c_int,
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3session_changeset_strm(
|
||||
pSession: *mut sqlite3_session,
|
||||
xOutput: ::std::option::Option<
|
||||
unsafe extern "C" fn(
|
||||
pOut: *mut ::std::os::raw::c_void,
|
||||
pData: *const ::std::os::raw::c_void,
|
||||
nData: ::std::os::raw::c_int,
|
||||
) -> ::std::os::raw::c_int,
|
||||
>,
|
||||
pOut: *mut ::std::os::raw::c_void,
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3session_patchset_strm(
|
||||
pSession: *mut sqlite3_session,
|
||||
xOutput: ::std::option::Option<
|
||||
unsafe extern "C" fn(
|
||||
pOut: *mut ::std::os::raw::c_void,
|
||||
pData: *const ::std::os::raw::c_void,
|
||||
nData: ::std::os::raw::c_int,
|
||||
) -> ::std::os::raw::c_int,
|
||||
>,
|
||||
pOut: *mut ::std::os::raw::c_void,
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3changegroup_add_strm(
|
||||
arg1: *mut sqlite3_changegroup,
|
||||
xInput: ::std::option::Option<
|
||||
unsafe extern "C" fn(
|
||||
pIn: *mut ::std::os::raw::c_void,
|
||||
pData: *mut ::std::os::raw::c_void,
|
||||
pnData: *mut ::std::os::raw::c_int,
|
||||
) -> ::std::os::raw::c_int,
|
||||
>,
|
||||
pIn: *mut ::std::os::raw::c_void,
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3changegroup_output_strm(
|
||||
arg1: *mut sqlite3_changegroup,
|
||||
xOutput: ::std::option::Option<
|
||||
unsafe extern "C" fn(
|
||||
pOut: *mut ::std::os::raw::c_void,
|
||||
pData: *const ::std::os::raw::c_void,
|
||||
nData: ::std::os::raw::c_int,
|
||||
) -> ::std::os::raw::c_int,
|
||||
>,
|
||||
pOut: *mut ::std::os::raw::c_void,
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3rebaser_rebase_strm(
|
||||
pRebaser: *mut sqlite3_rebaser,
|
||||
xInput: ::std::option::Option<
|
||||
unsafe extern "C" fn(
|
||||
pIn: *mut ::std::os::raw::c_void,
|
||||
pData: *mut ::std::os::raw::c_void,
|
||||
pnData: *mut ::std::os::raw::c_int,
|
||||
) -> ::std::os::raw::c_int,
|
||||
>,
|
||||
pIn: *mut ::std::os::raw::c_void,
|
||||
xOutput: ::std::option::Option<
|
||||
unsafe extern "C" fn(
|
||||
pOut: *mut ::std::os::raw::c_void,
|
||||
pData: *const ::std::os::raw::c_void,
|
||||
nData: ::std::os::raw::c_int,
|
||||
) -> ::std::os::raw::c_int,
|
||||
>,
|
||||
pOut: *mut ::std::os::raw::c_void,
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3session_config(
|
||||
op: ::std::os::raw::c_int,
|
||||
pArg: *mut ::std::os::raw::c_void,
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
pub struct Fts5Context {
|
||||
_unused: [u8; 0],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user