pub type XWalFrameFn = unsafe extern "C" fn(wal: *mut Wal, page_size: c_int, page_headers: *mut PgHdr, size_after: u32, is_commit: c_int, sync_flags: c_int) -> c_int;