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

static int zebra_image_scanner_parse_config ( zebra_image_scanner_t scanner,
const char *  config_string 
) [inline, static]

parse configuration string using zebra_parse_config() and apply to image scanner using zebra_image_scanner_set_config().

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

zebra_image_scanner_set_config()

Since:
0.4

Definition at line 812 of file zebra.h.

References zebra_image_scanner_set_config(), and zebra_parse_config().

Referenced by zebra::ImageScanner::set_config().

{
    zebra_symbol_type_t sym;
    zebra_config_t cfg;
    int val;
    return(zebra_parse_config(config_string, &sym, &cfg, &val) ||
           zebra_image_scanner_set_config(scanner, sym, cfg, val));
}


Generated by  Doxygen 1.6.0   Back to index