naming contest: gsm_network, gsm_subscriber_connection

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/.

Neels Hofmeyr nhofmeyr at sysmocom.de
Fri Nov 11 17:22:33 UTC 2016


On Fri, Nov 11, 2016 at 02:58:07PM +0100, Harald Welte wrote:
> In general we shouldn't call structures how we are (or might be) calling
> functional elements.  So if it's a msc or bsc instance or context,
> postfix it by _inst, _instance, _ctx or _context.
> 
> Also, the osmo_ naming prefix makex mostly sense in the conext of
> library code to avoid namespace pollution.  I think I actually like it
> if application code structures and symbols do not have osmo_ prefixes.

> > --> bsc_subscr_conn / msc_subscr_conn
> >     I like these best; but add osmo?
> >     +1
> 
> fine with me.

So for now my finalists are:
  gsm_network --> bsc_ctx / msc_ctx
and
  gsm_subscriber_connection --> bsc_subscr_conn / msc_subscr_conn

Speak now or forever hold your peace...

~N

-- 
- Neels Hofmeyr <nhofmeyr at sysmocom.de>          http://www.sysmocom.de/
=======================================================================
* sysmocom - systems for mobile communications GmbH
* Alt-Moabit 93
* 10559 Berlin, Germany
* Sitz / Registered office: Berlin, HRB 134158 B
* Geschäftsführer / Managing Directors: Harald Welte
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.osmocom.org/pipermail/openbsc/attachments/20161111/1aa58819/attachment.bin>


More information about the OpenBSC mailing list