aboutsummaryrefslogtreecommitdiff
path: root/lpg/libqr/qr/layout.h
diff options
context:
space:
mode:
Diffstat (limited to 'lpg/libqr/qr/layout.h')
-rw-r--r--lpg/libqr/qr/layout.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/lpg/libqr/qr/layout.h b/lpg/libqr/qr/layout.h
new file mode 100644
index 0000000..e691bdb
--- /dev/null
+++ b/lpg/libqr/qr/layout.h
@@ -0,0 +1,22 @@
+#ifndef QR_CODE_LAYOUT_H
+#define QR_CODE_LAYOUT_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+struct qr_iterator;
+
+void qr_layout_init_mask(struct qr_code *);
+
+struct qr_iterator * qr_layout_begin(struct qr_code * code);
+unsigned int qr_layout_read(struct qr_iterator *);
+void qr_layout_write(struct qr_iterator *, unsigned int);
+void qr_layout_end(struct qr_iterator *);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
+