aboutsummaryrefslogtreecommitdiff
path: root/lpg/libqr/qr-bitstream.h
diff options
context:
space:
mode:
authorLeo Howell <leo@lwh.jp>2009-11-14 20:24:57 +0900
committerLeo Howell <leo@lwh.jp>2009-11-14 20:24:57 +0900
commitc2e4639d2ebefbeb7f8b7e1826ae2391c6876a5a (patch)
tree8f208b60816aa1f7390b249c21f0771a8bce7c6e /lpg/libqr/qr-bitstream.h
parent2a5548351d9814a8a23eff1e43e14008ea4ae1d0 (diff)
downloadpdf-simple-sign-c2e4639d2ebefbeb7f8b7e1826ae2391c6876a5a.tar.gz
pdf-simple-sign-c2e4639d2ebefbeb7f8b7e1826ae2391c6876a5a.tar.xz
pdf-simple-sign-c2e4639d2ebefbeb7f8b7e1826ae2391c6876a5a.zip
Merge some files
Diffstat (limited to 'lpg/libqr/qr-bitstream.h')
-rw-r--r--lpg/libqr/qr-bitstream.h48
1 files changed, 0 insertions, 48 deletions
diff --git a/lpg/libqr/qr-bitstream.h b/lpg/libqr/qr-bitstream.h
deleted file mode 100644
index cf20694..0000000
--- a/lpg/libqr/qr-bitstream.h
+++ /dev/null
@@ -1,48 +0,0 @@
-#ifndef QR_BITSTREAM_H
-#define QR_BITSTREAM_H
-
-#include <stddef.h>
-
-/**
- * Note: when writing / reading multiple bits, the
- * _most_ significant bits come first in the stream.
- * (That is, the order you would naturally write the
- * number in binary)
- */
-
-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_dup(const struct qr_bitstream *);
-
-void qr_bitstream_seek(struct qr_bitstream *, size_t pos);
-size_t qr_bitstream_tell(const struct qr_bitstream *);
-size_t qr_bitstream_remaining(const struct qr_bitstream *);
-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);
-
-int qr_bitstream_write(struct qr_bitstream *,
- unsigned int value,
- size_t bits);
-
-int qr_bitstream_pack(struct qr_bitstream *,
- 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_copy(struct qr_bitstream * dest,
- struct qr_bitstream * src,
- size_t count);
-
-#endif
-