diff options
Diffstat (limited to 'lpg/libqr/qr/code.h')
-rw-r--r-- | lpg/libqr/qr/code.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/lpg/libqr/qr/code.h b/lpg/libqr/qr/code.h new file mode 100644 index 0000000..0f5d49c --- /dev/null +++ b/lpg/libqr/qr/code.h @@ -0,0 +1,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 + |