pub type amrescan_function = Option<unsafe extern "C" fn(scan: IndexScanDesc, keys: ScanKey, nkeys: c_int, orderbys: ScanKey, norderbys: c_int)>;