aboutsummaryrefslogtreecommitdiff
path: root/lpg/libqr/data-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'lpg/libqr/data-common.h')
-rw-r--r--lpg/libqr/data-common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lpg/libqr/data-common.h b/lpg/libqr/data-common.h
index 1522b09..bc2b381 100644
--- a/lpg/libqr/data-common.h
+++ b/lpg/libqr/data-common.h
@@ -6,14 +6,14 @@
#include "qr-bitstream.h"
struct qr_data {
- int format; /* 1 ~ 40 */
+ int version; /* 1 ~ 40 */
struct qr_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);
+size_t get_size_field_length(int version, enum qr_data_type);
#endif