libosmocore.git branch master updated. 0.9.0-171-g8d6dcd9

gitosis at osmocom.org gitosis at osmocom.org
Mon Jun 13 17:46:36 UTC 2016


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  8d6dcd9bca7ce9b0a29954126c72050f8e2e110c (commit)
      from  8a3c83ed00104bdb326c160a36c8f2b0625eeabd (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=8d6dcd9bca7ce9b0a29954126c72050f8e2e110c

commit 8d6dcd9bca7ce9b0a29954126c72050f8e2e110c
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Mon Jun 6 18:05:23 2016 +0200

    add get_value_string_or_null() to handle unknown items
    
    Add get_value_string_or_null() to return NULL in case the given value is not
    found in the list of strings, to be able to cleanly fall back to another list
    of strings. Absorb the lookup loop from get_value_string().
    
    Context: in osmo-bts, I want to look up an RSL message name in rsl_msgt_names
    and fall back to rsl_ipac_msgt_names if not found, because the IPAC PDCH ACT
    and DEACT messages are sent in a standard ABIS_RSL_MDISC_DED_CHAN.
    In a subsequent commit, get_value_string_or_null() will be used by new
    rsl_or_ipac_msg_name().
    
    Change-Id: I1fa3907e28d528d2758bc3eae9d19e6c1168f5e5
    Reviewed-on: https://gerrit.osmocom.org/230
    Reviewed-by: Harald Welte <laforge at gnumonks.org>
    Tested-by: Jenkins Builder

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

Summary of changes:
 include/osmocom/core/utils.h |  2 ++
 src/utils.c                  | 21 ++++++++++++++++++---
 2 files changed, 20 insertions(+), 3 deletions(-)


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



More information about the osmocom-commitlog mailing list