File: sqcode.h

package info (click to toggle)
zbar 0.22-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 4,068 kB
  • sloc: ansic: 28,570; objc: 5,724; cpp: 3,329; python: 970; java: 818; sh: 749; xml: 707; perl: 491; makefile: 151
file content (23 lines) | stat: -rw-r--r-- 732 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*Copyright (C) 2018 Javier Serrano Polo <javier@jasp.net>
  You can redistribute this library and/or modify it under the terms of the
   GNU Lesser General Public License as published by the Free Software
   Foundation; either version 2.1 of the License, or (at your option) any later
   version.*/
#ifndef _SQCODE_H_
#define _SQCODE_H_

#include <zbar.h>

typedef struct sq_reader sq_reader;

sq_reader *_zbar_sq_create(void);
void _zbar_sq_destroy(sq_reader *reader);
void _zbar_sq_reset(sq_reader *reader);

int _zbar_sq_new_config(sq_reader *reader,
                        unsigned config);
int _zbar_sq_decode(sq_reader *reader,
                    zbar_image_scanner_t *iscn,
                    zbar_image_t *img);

#endif