From ef01767c732629b7eff7d1601e76a1bac58f5bfd Mon Sep 17 00:00:00 2001 From: Leo Howell Date: Sat, 5 Sep 2009 09:33:22 +0900 Subject: The story so far --- lpg/libqr/code-common.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 lpg/libqr/code-common.h (limited to 'lpg/libqr/code-common.h') diff --git a/lpg/libqr/code-common.h b/lpg/libqr/code-common.h new file mode 100644 index 0000000..52666e6 --- /dev/null +++ b/lpg/libqr/code-common.h @@ -0,0 +1,19 @@ +#ifndef CODE_COMMON_H +#define CODE_COMMON_H + +#include +#include "bitstream.h" + +struct qr_code { + int format; + unsigned char * modules; + size_t line_stride; +}; + +int code_side_length(int format); +int code_finder_count(int format); + +size_t code_total_capacity(int format); + +#endif + -- cgit v1.2.3-70-g09d2