aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/gprs/oap.c
AgeCommit message (Collapse)AuthorFilesLines
2016-04-29osmo_oap_decode(): Use common argument orderingHarald Welte1-1/+1
In general, if a function generates output data like a msgb (or in this case filling an osmo_oap_message structure), the output argument precedes the source. This is what we use all over libosmo*, and it is modelled after memcpy(), where dst is the first argument, before src. Let's align osmo_oap_decode(). Intestingly, osmo_oap_encode was already correct, so the encode/decode functions used different conventions before.
2016-04-29OAP: Various coding style fixesHarald Welte1-13/+14
* we always declare stack variables at the top of the function / block * 'switch' is not a function, so there's space ahead of the opening (
2016-04-29OAP: use osmo_oap_ prefix for OAP, rather than plain oap_Harald Welte1-7/+7
this is in preparation of moving related code to libosmocore.
2016-04-29oap_message.h: Remove dependency to openbsc includeHarald Welte1-0/+2
This is a first step to moving oap_messages.h to libosmocore
2016-04-29move utils.h functions to libosmocoreHarald Welte1-2/+2
This needs the corresponding commit in libosmocore which imports the related functions
2015-11-02oap: implement initial OAP API.Neels Hofmeyr1-0/+256
Add oap.[hc] and oap_messages.[hc]. Sponsored-by: On-Waves ehf