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/data-common.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 lpg/libqr/data-common.h (limited to 'lpg/libqr/data-common.h') diff --git a/lpg/libqr/data-common.h b/lpg/libqr/data-common.h new file mode 100644 index 0000000..d5f6e45 --- /dev/null +++ b/lpg/libqr/data-common.h @@ -0,0 +1,19 @@ +#ifndef DATA_COMMON_H +#define DATA_COMMON_H + +#include + +#include "bitstream.h" + +struct qr_data { + int format; /* 1 ~ 40 */ + struct bitstream * bits; + size_t offset; +}; + +extern const enum qr_data_type QR_TYPE_CODES[16]; + +size_t get_size_field_length(int format, enum qr_data_type); + +#endif + -- cgit v1.2.3-70-g09d2