aboutsummaryrefslogtreecommitdiff
path: root/lpg/libqr/code-common.h
blob: 17a45d7809f83e3a59cc8d5abdf9968073b4aa1a (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 "bitstream.h"

struct qr_code {
        int              format;
        unsigned char *  modules;
        size_t           line_stride;
};

int code_side_length(int format);

size_t code_total_capacity(int format);

#endif