diff options
author | Harald Welte <laforge@gnumonks.org> | 2017-05-15 12:07:51 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-05-15 13:42:00 +0200 |
commit | 3318c657dea52c143842dab0e0f7733288f7bd4d (patch) | |
tree | ef025d5907529f7d4f4614e6d110e54b9ca0e045 /include/Makefile.am | |
parent | 054667fe15434e7e467311c7213b50f849aecc79 (diff) |
introduce byteswap.h with osmo_{htonl,ntohl,htons,ntohs}
We need to have an architecture-independend way of endian conversion /
byte swapping functions which will also work on embedded (bare iron)
builds. Let's introduce osmocom/core/bytesawp.h for this purpose.
Change-Id: Ibc0cc1e36d4ed63a35cf8ceff3af0f26e5ac7a3d
Diffstat (limited to 'include/Makefile.am')
-rw-r--r-- | include/Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/Makefile.am b/include/Makefile.am index 0383d7ad..6981c379 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -10,6 +10,7 @@ nobase_include_HEADERS = \ osmocom/core/bits.h \ osmocom/core/bitvec.h \ osmocom/core/bitcomp.h \ + osmocom/core/byteswap.h \ osmocom/core/conv.h \ osmocom/core/crc16.h \ osmocom/core/crc16gen.h \ |