Function ocsd_register_custom_decoder

Source
pub unsafe extern "C" fn ocsd_register_custom_decoder(
    name: *const c_char,
    p_dcd_fact: *mut ocsd_extern_dcd_fact_t,
) -> ocsd_err_t
Expand description

Register a custom decoder with the library

@param *name : Name under which to register the decoder. @param *p_dcd_fact : Custom decoder factory structure.

@return ocsd_err_t : Library error code - RCDTL_OK if successful.