libosmocore.git branch master updated. 0.9.6-106-g812ba6d

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/osmocom-commitlog@lists.osmocom.org/.

gitosis at osmocom.org gitosis at osmocom.org
Wed Feb 22 16:08:54 UTC 2017


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "An utility library for Open Source Mobile Communications".

The branch, master has been updated
       via  812ba6dc63a75c39678dd3fe652768e76bf63183 (commit)
      from  bd9de2f66f82db66bbbe7e7df54bf8fee8e1a8ae (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cgit.osmocom.org/libosmocore/commit/?id=812ba6dc63a75c39678dd3fe652768e76bf63183

commit 812ba6dc63a75c39678dd3fe652768e76bf63183
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Fri Feb 17 16:35:27 2017 +0100

    logging: centrally define ctx and filter indexes
    
    It is too easy for calling code to use the same filter and context indexes for
    different filters and structs. For example, openbsc's IMSI filter and libgb's
    GPRS_BVC filter both fall on index 1 even though there are plenty more indexes
    to choose from. To alleviate this, have one central definition here, sort of
    like ports.h does for VTY and CTRL port numbers.
    
    Add static asserts to make sure the indexes fit in the available array and bit
    mask space.
    
    Calling code like openbsc.git and osmo-pcu need adjustments and/or should move
    to using these enum values instead of their local definitions.
    
    Taking this opportunity to also prepare for a split of struct gsm_subscriber in
    openbsc into bsc_subsciber and vlr_subscriber with appropriate separate filter
    index constants for both subscriber types.
    
    Include previous LOG_FILTER_ALL in the LOGGING_FILTER_* enum, and replace its
    use by (1 << LOGGING_FILTER_ALL).
    
    Change-Id: I5c343630020f4b108099696fd96c2111614c8067

-----------------------------------------------------------------------

Summary of changes:
 include/osmocom/core/logging.h   | 19 +++++++++++++++++--
 include/osmocom/gprs/gprs_msgb.h |  4 ----
 src/gb/common_vty.c              | 12 ++++++------
 src/gb/common_vty.h              |  6 ------
 src/gb/gprs_bssgp.c              |  2 +-
 src/gb/gprs_bssgp_vty.c          | 10 +++++-----
 src/gb/gprs_ns.c                 | 32 ++++++++++++++++----------------
 src/gb/gprs_ns_vty.c             | 10 +++++-----
 src/logging.c                    | 21 ++++++++++++++-------
 src/vty/logging_vty.c            |  4 ++--
 10 files changed, 66 insertions(+), 54 deletions(-)


hooks/post-receive
-- 
An utility library for Open Source Mobile Communications



More information about the osmocom-commitlog mailing list