Common library for all Osmocom projects (libosmocore, libosmogsm, libosmovty, libosmogb, libosmosim, libosmousb, ...) https://osmocom.org/projects/libosmocore
Go to file
Jacob Erlbeck 5f349be820 bitvec: Add get/set byte sequences
The new functions bitvec_get_bytes and bitvec_set_bytes copy
byte sequences from bitvecs to uint8_t arrays and vice versa.
While the bytes in the bitvecs do not need to be aligned, the uint8_t
arrays always are. In case the bytes in the bitvec are aligned, the
implementation uses memcpy.

Note that the implementation like the other existing functions assume
MSB first encoding.

[hfreyther: Squash the comment fix into this commit as well]

Sponsored-by: On-Waves ehf
2016-01-15 14:51:32 +01:00
debian talloc: Depend on libtalloc-dev being present as well 2015-12-14 20:31:20 +01:00
doc vty: Merge from a generic section in case no specific one exists 2012-07-25 17:35:52 +02:00
include bitvec: Add get/set byte sequences 2016-01-15 14:51:32 +01:00
m4 Create a dummy m4 directory to make autoreconf --install --force work 2010-03-24 02:55:33 +01:00
src bitvec: Add get/set byte sequences 2016-01-15 14:51:32 +01:00
tests bitvec: Add get/set byte sequences 2016-01-15 14:51:32 +01:00
utils utils: add TALLOC_CFLAGS to build 2015-12-08 14:14:29 +01:00
.gitignore stats: Add stat_item for value monitoring 2015-10-28 23:51:04 +01:00
COPYING add GPL to project source 2010-02-21 09:21:30 +01:00
Doxyfile.codec.in misc: Doxygen tweaks: fixed some typos and minor errors 2013-02-15 13:27:59 +01:00
Doxyfile.core.in misc: Doxygen tweaks: fixed some typos and minor errors 2013-02-15 13:27:59 +01:00
Doxyfile.gsm.in misc: Doxygen tweaks: fixed some typos and minor errors 2013-02-15 13:27:59 +01:00
Doxyfile.vty.in misc: Doxygen tweaks: fixed some typos and minor errors 2013-02-15 13:27:59 +01:00
Makefile.am remove doxygen_sqlite3.db during 'make clean' 2014-10-26 20:09:17 +01:00
TODO-RELEASE update TODO-RELEASE regarding the talloc change. 2016-01-06 19:28:21 +01:00
configure.ac remove our internal copy of talloc, use system libtalloc 2015-12-05 23:38:18 +01:00
git-version-gen add git-version-gen magic to automatically generate package version 2010-03-23 00:30:19 +08:00
libosmocodec.pc.in codec: Add the missing bits for include to install and pkgconfig to work 2010-10-24 18:23:10 +02:00
libosmocore.pc.in talloc: Untested change to unbreak build 2015-12-10 19:50:29 +01:00
libosmoctrl.pc.in remove our internal copy of talloc, use system libtalloc 2015-12-05 23:38:18 +01:00
libosmogb.pc.in remove our internal copy of talloc, use system libtalloc 2015-12-05 23:38:18 +01:00
libosmogsm.pc.in remove our internal copy of talloc, use system libtalloc 2015-12-05 23:38:18 +01:00
libosmosim.pc.in remove our internal copy of talloc, use system libtalloc 2015-12-05 23:38:18 +01:00
libosmovty.pc.in remove our internal copy of talloc, use system libtalloc 2015-12-05 23:38:18 +01:00