Age | Commit message (Collapse) | Author | Files | Lines |
|
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.
|
|
* 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 (
|
|
this is in preparation of moving related code to libosmocore.
|
|
This is a first step to moving oap_messages.h to libosmocore
|
|
This needs the corresponding commit in libosmocore which imports
the related functions
|
|
Add oap.[hc] and oap_messages.[hc].
Sponsored-by: On-Waves ehf
|