pub unsafe extern "C" fn ditto_validate_document_id( cbor: Ref<'_, u8>, out_cbor: Out<'_, Option<Box<u8>>>) -> c_uint