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