Make transfer_status a c_uint as Rust enums are not compatible with C