aboutsummaryrefslogtreecommitdiff
path: root/lpg/libqr/code-common.h
blob: 9900e4e946b1c91ec6fbc35f2bc50e35f995dac0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef CODE_COMMON_H
#define CODE_COMMON_H

#include <qr/code.h>
#include <qr/bitmap.h>
#include "qr-bitstream.h"

struct qr_code {
        int                version;
        struct qr_bitmap * modules;
};

size_t code_total_capacity(int version);

extern const int QR_ALIGNMENT_LOCATION[40][7];

#endif