aboutsummaryrefslogtreecommitdiff
path: root/lpg/libqr/qr/bitstream.h
diff options
context:
space:
mode:
authorLeo Howell <leo@lwh.jp>2009-11-14 20:31:08 +0900
committerLeo Howell <leo@lwh.jp>2009-11-14 20:38:58 +0900
commit5d91255e986b6f1fb6205cc759ff5d43ccb3c96f (patch)
tree20a826b7b950e4754c5eb52b81ec24a4f38abf5a /lpg/libqr/qr/bitstream.h
parentc2e4639d2ebefbeb7f8b7e1826ae2391c6876a5a (diff)
downloadpdf-simple-sign-5d91255e986b6f1fb6205cc759ff5d43ccb3c96f.tar.gz
pdf-simple-sign-5d91255e986b6f1fb6205cc759ff5d43ccb3c96f.tar.xz
pdf-simple-sign-5d91255e986b6f1fb6205cc759ff5d43ccb3c96f.zip
Final tidy for 0.1
Diffstat (limited to 'lpg/libqr/qr/bitstream.h')
-rw-r--r--lpg/libqr/qr/bitstream.h23
1 files changed, 12 insertions, 11 deletions
diff --git a/lpg/libqr/qr/bitstream.h b/lpg/libqr/qr/bitstream.h
index cf20694..5ca6b41 100644
--- a/lpg/libqr/qr/bitstream.h
+++ b/lpg/libqr/qr/bitstream.h
@@ -13,8 +13,8 @@
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 *);
+int qr_bitstream_resize(struct qr_bitstream *, size_t bits);
+void qr_bitstream_destroy(struct qr_bitstream *);
struct qr_bitstream * qr_bitstream_dup(const struct qr_bitstream *);
void qr_bitstream_seek(struct qr_bitstream *, size_t pos);
@@ -25,20 +25,21 @@ size_t qr_bitstream_size(const struct qr_bitstream *);
unsigned int qr_bitstream_read(struct qr_bitstream *, size_t bits);
void qr_bitstream_unpack(struct qr_bitstream *,
- unsigned int * result,
- size_t count,
- size_t bitsize);
+ unsigned int * result,
+ size_t count,
+ size_t bitsize);
int qr_bitstream_write(struct qr_bitstream *,
- unsigned int value,
- size_t bits);
+ unsigned int value,
+ size_t bits);
int qr_bitstream_pack(struct qr_bitstream *,
- const unsigned int * values,
- size_t count,
- size_t bitsize);
+ const unsigned int * values,
+ size_t count,
+ size_t bitsize);
-int qr_bitstream_cat(struct qr_bitstream *, const struct qr_bitstream * src);
+int qr_bitstream_cat(struct qr_bitstream *,
+ const struct qr_bitstream * src);
int qr_bitstream_copy(struct qr_bitstream * dest,
struct qr_bitstream * src,