diff options
Diffstat (limited to 'lpg/libqr/qr/parse.h')
-rw-r--r-- | lpg/libqr/qr/parse.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/lpg/libqr/qr/parse.h b/lpg/libqr/qr/parse.h new file mode 100644 index 0000000..0e08354 --- /dev/null +++ b/lpg/libqr/qr/parse.h @@ -0,0 +1,24 @@ +#ifndef QR_PARSE_H +#define QR_PARSE_H + +#include "data.h" + +#ifdef __cplusplus +extern "C" { +#endif + +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); + +#ifdef __cplusplus +} +#endif + +#endif + |