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

static int zbar_processor_parse_config ( zbar_processor_t processor,
const char *  config_string 
) [inline, static]

parse configuration string using zbar_parse_config() and apply to processor using zbar_processor_set_config().

Returns:
0 for success, non-0 for failure
See also:
zbar_parse_config()

zbar_processor_set_config()

Since:
0.4

Definition at line 685 of file zbar.h.

References zbar_parse_config(), and zbar_processor_set_config().

Referenced by zbar::Processor::set_config().

{
    zbar_symbol_type_t sym;
    zbar_config_t cfg;
    int val;
    return(zbar_parse_config(config_string, &sym, &cfg, &val) ||
           zbar_processor_set_config(processor, sym, cfg, val));
}


Generated by  Doxygen 1.6.0   Back to index