Question about the "Move db usage out of the libbsc (fork dumping of subscr)" commit

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Sylvain Munaut 246tnt at gmail.com
Wed Jan 6 08:35:10 UTC 2010


Hi,

libbsc.a contains all functionality that is in the domain of the BSC. This
> includes the vty_interface.c.
>
> libmsc.a contains all the handling of GSM04.08. In our case even the
> HLR/VLR
> (db.c). In our case this is everything that is not in the BSC.
>
> bsc_hack links to the libbsc and libmsc and adds vty_interface_layer3. Now
> the
> dependencies don't really matter as the link will just resolve them.
>
> For the on-waves/bsc-master branch I'm only using libbsc.a. This means your
> commit added a dependency on db.c again. On top of that it will really help
> us
> keeping the BSC/MSC separation in place which is beneficial to stuff like
> channel handling..
>
> does this clear things up?
>

I understand the idea of separation (the naming scheme _layer3 could be
better :).
But what I don't see is how that commits restores it. Because it doesn't
remove the
db.c dependency: from vty_interface.c you still access the DB.

Sylvain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/openbsc/attachments/20100106/e864b8c0/attachment.htm>


More information about the OpenBSC mailing list