Logo Search packages:      
Sourcecode: zbar version File versions  Download package

int zbar_processor_set_config ( zbar_processor_t processor,
zbar_symbol_type_t  symbology,
zbar_config_t  config,
int  value 
)

set config for indicated symbology (0 for all) to specified value.

Returns:
0 for success, non-0 for failure (config does not apply to specified symbology, or value out of range)
See also:
zbar_decoder_set_config()
Since:
0.4

Definition at line 465 of file processor.c.

References zbar_image_scanner_set_config(), and zbar_processor_set_config().

Referenced by zbar::Processor::set_config(), zbar_processor_parse_config(), and zbar_processor_set_config().

{
    proc_enter(proc);
    int rc = zbar_image_scanner_set_config(proc->scanner, sym, cfg, val);
    proc_leave(proc);
    return(rc);
}


Generated by  Doxygen 1.6.0   Back to index