pub extern "C" fn xCheckpoint(
wal: *mut Wal,
db: *mut c_void,
emode: i32,
busy_handler: extern "C" fn(busy_param: *mut c_void) -> i32,
busy_arg: *const c_void,
sync_flags: i32,
n_buf: i32,
z_buf: *mut u8,
frames_in_wal: *mut i32,
backfilled_frames: *mut i32,
) -> i32