osmo-bsc/openbsc/src/libcommon
Neels Hofmeyr 745857277c code dup: join [rsl_]lchan_lookup() from libbsc and osmo-bts
lchan_lookup in abis_rsl.c and rsl_lchan_lookup() from osmo-bts rsl.c are the
same code, except for the log context, which is only set in abis_rsl.c.
Factor out the common code to rsl_lchan_lookup() in gsm_data_shared.c.

Openbsc and osmo-bts each define their own DRSL log constant, so add an int *rc
return code argument and keep the logging part in abis_rsl.c's thin lchan_lookup()
wrapper. Incidentally, this also removes code dup for logging.

To avoid duplicate symbols, the rsl_lchan_lookup() implementation needs to be
removed from osmo-bts, so older osmo-bts git revisions will not build with
this.

Change-Id: Ie89bc5bb9110a0e539d37991dedac6f913211b48
2016-07-25 17:35:47 +02:00
..
Makefile.am move utils.h functions to libosmocore 2016-04-29 13:10:37 +02:00
bsc_version.c bsc_version.c: update copyright date, add contributor 2016-06-17 04:52:30 +02:00
common_vty.c vty: Change the return type from enum to int 2015-09-24 15:39:30 +02:00
debug.c add DSUA debug constant 2016-06-13 09:18:51 +00:00
gsm_data.c Add regexp authorization policy for IMSI 2016-06-05 09:36:37 +00:00
gsm_data_shared.c code dup: join [rsl_]lchan_lookup() from libbsc and osmo-bts 2016-07-25 17:35:47 +02:00
gsm_subscriber_base.c subscr_name(): Handle case for subscr == NULL 2016-05-22 11:51:18 +00:00
socket.c make sure we still build on systems that don't have IPPROTO_GRE 2012-04-08 15:56:00 +02:00
talloc_ctx.c src: use new library libosmogsm and new path to headers in libosmocore 2011-03-23 18:17:56 +01:00