Function zbar::zbar::zbar_parse_config [] [src]

pub unsafe extern "C" fn zbar_parse_config(
    config_string: *const c_char,
    symbology: *const zbar_symbol_type_e,
    config: *const zbar_config_e,
    value: c_int
) -> c_int

parse a configuration string of the form "[symbology.]config[=value]". * the config must match one of the recognized names. * the symbology, if present, must match one of the recognized names. * if symbology is unspecified, it will be set to 0. * if value is unspecified, it will be set to 1. * @returns 0 if the config is parsed successfully, 1 otherwise