aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/core/socket.h
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2019-02-01 15:21:25 +0100
committerosmith <osmith@sysmocom.de>2019-02-04 10:42:12 +0000
commitd6ff9c8315dfc7137ea68a2d59b8fffcad138adf (patch)
treef3bf8322a966d95c91cbf4c65c57c70edc0fd957 /include/osmocom/core/socket.h
parent89991fdb7c01fa42e323577b4026985e580763cf (diff)
GSUP: deprecate osmo_gsup_get_err_msg_type()
Replace osmo_gsup_get_err_msg_type() with a wrapper to OSMO_GSUP_TO_MSGT_ERROR(). This macro assumes, that all error messages are (request message | 0x000001). Add a big comment header for osmo_gsup_message_type, describing this already implicitly followed rule and therefore making it explicit. With this change, we don't need to maintain the request -> error message mapping in osmo_gsup_get_err_msg_type() anymore. Related: Iec1b4ce4b7d8eb157406f006e1c4241e8fba2cd6 (osmo-gsm-manuals) Change-Id: I46d9f2327791978710e2f90b4d28a3761d723d8f
Diffstat (limited to 'include/osmocom/core/socket.h')
0 files changed, 0 insertions, 0 deletions