aboutsummaryrefslogtreecommitdiff
path: root/lpg/libqr/qr/code.h
blob: 0f5d49ccdc403400a25ab0c7e23864380b4249b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef QR_CODE_H
#define QR_CODE_H

#include <stddef.h>
#include "types.h"

#ifdef __cplusplus
extern "C" {
#endif

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

struct qr_code * qr_code_create(const struct qr_data * data);

void qr_code_destroy(struct qr_code *);

#ifdef __cplusplus
}
#endif

#endif