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 /tests/coding | |
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 'tests/coding')
0 files changed, 0 insertions, 0 deletions