aboutsummaryrefslogtreecommitdiff
path: root/lpg/libqr/code-common.h
blob: cf96217e4f5329951487af03c5dbc6c6395b17bb (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-bitstream.h"
#include "qr-bitmap.h"

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

int code_side_length(int format);

size_t code_total_capacity(int format);

#endif