#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