pub unsafe extern "C" fn osdp_file_register_ops(
ctx: *mut osdp_t,
pd: c_int,
ops: *const osdp_file_ops,
) -> c_intExpand description
@brief Register a global file operations struct with OSDP. Both CP and PD modes should have done so already before CP can sending a OSDP_CMD_FILE_TX.
@param ctx OSDP context @param pd PD number in case of CP. This param is ignored in PD mode @param ops Populated file operations struct
@retval 0 on success. -1 on errors.