aboutsummaryrefslogtreecommitdiff
path: root/lpg/libqr/qr-bitstream.h
diff options
context:
space:
mode:
authorLeo Howell <leo@lwh.jp>2009-11-01 22:54:33 +0900
committerLeo Howell <leo@lwh.jp>2009-11-01 22:54:33 +0900
commit4eee8658be637fde410f429e69e86b034cd39185 (patch)
tree0de9cd32261559bad15373d7cad4026748d2f356 /lpg/libqr/qr-bitstream.h
parent0b61708d12b30ce6dc174554794d674eb9f99dad (diff)
downloadpdf-simple-sign-4eee8658be637fde410f429e69e86b034cd39185.tar.gz
pdf-simple-sign-4eee8658be637fde410f429e69e86b034cd39185.tar.xz
pdf-simple-sign-4eee8658be637fde410f429e69e86b034cd39185.zip
support for multiple ec blocks
Diffstat (limited to 'lpg/libqr/qr-bitstream.h')
-rw-r--r--lpg/libqr/qr-bitstream.h6
1 files changed, 5 insertions, 1 deletions
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