aboutsummaryrefslogtreecommitdiff
path: root/lpg/libqr/qr/parse.h
blob: 07a04241b429520c0385c7d24c621aed19b0859b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef QR_PARSE_H
#define QR_PARSE_H

#include "data.h"

int qr_code_parse(const void *      buffer,
                  size_t            line_bits,
                  size_t            line_stride,
                  size_t            line_count,
                  struct qr_data ** data);

int qr_decode_format(unsigned long bits, enum qr_ec_level * ec, int * mask);
int qr_decode_version(unsigned long bits, int * version);

#endif