From 4eee8658be637fde410f429e69e86b034cd39185 Mon Sep 17 00:00:00 2001 From: Leo Howell Date: Sun, 1 Nov 2009 22:54:33 +0900 Subject: support for multiple ec blocks --- lpg/libqr/qr-bitstream.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lpg/libqr/qr-bitstream.h') diff --git a/lpg/libqr/qr-bitstream.h b/lpg/libqr/qr-bitstream.h index 298e53b..cf20694 100644 --- a/lpg/libqr/qr-bitstream.h +++ b/lpg/libqr/qr-bitstream.h @@ -15,7 +15,7 @@ struct qr_bitstream; struct qr_bitstream * qr_bitstream_create(void); int qr_bitstream_resize(struct qr_bitstream *, size_t bits); void qr_bitstream_destroy(struct qr_bitstream *); -struct qr_bitstream * qr_bitstream_copy(const struct qr_bitstream *); +struct qr_bitstream * qr_bitstream_dup(const struct qr_bitstream *); void qr_bitstream_seek(struct qr_bitstream *, size_t pos); size_t qr_bitstream_tell(const struct qr_bitstream *); @@ -40,5 +40,9 @@ int qr_bitstream_pack(struct qr_bitstream *, int qr_bitstream_cat(struct qr_bitstream *, const struct qr_bitstream * src); +int qr_bitstream_copy(struct qr_bitstream * dest, + struct qr_bitstream * src, + size_t count); + #endif -- cgit v1.2.3-70-g09d2