libosmocore.git branch master updated. 0.9.6-443-gea66852a

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
Mon Oct 23 22:31:19 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  ea66852a62319901dc198ea1dc8cbfbf77217347 (commit)
      from  1fa8dfbaf42a4341255b3bbef3c8a3c574e8c477 (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=ea66852a62319901dc198ea1dc8cbfbf77217347

commit ea66852a62319901dc198ea1dc8cbfbf77217347
Author: Neels Hofmeyr <neels at hofmeyr.de>
Date:   Mon Oct 16 16:18:01 2017 +0200

    ctrl: allow more nodes than those in enum ctrl_node_type
    
    Add ctrl_interface_setup_dynip2() to add a node_count parameter, which can be
    used to define more ctrl nodes without having to merge a patch to libosmocore.
    
    In consequence, also add ctrl_handle_alloc2(), since
    ctrl_interface_setup_dynip() uses ctrl_handle_alloc() to allocate the node
    slots, and add node_count param to static ctrl_init().
    
    Passing zero as node_count indicates to use the default of _LAST_CTRL_NODE as
    before, i.e. to not define more ctrl nodes. Assert that we never allocate less
    than _LAST_CTRL_NODE slots.
    
    The current ctrl_interface_setup_dynip() and ctrl_handle_alloc() become simple
    wrappers that pass zero as node_count. Their use is still valid and they do not
    need to be deprecated.
    
    The API comment to ctrl_interface_setup_dynip2() explains how to define more
    node IDs.
    
    This patch was verified to work by osmo-hlr.git change
    I98ee6a06b3aa6a67adb868e0b63b0e04eb42eb50 which adds two node IDs for use by
    osmo-hlr only.
    
    Change-Id: I1bd62ae0d4eefde7e1517db15a2155640a1bab58

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

Summary of changes:
 include/osmocom/ctrl/control_if.h |  8 ++++
 src/ctrl/control_if.c             | 81 ++++++++++++++++++++++++++++++++-------
 2 files changed, 75 insertions(+), 14 deletions(-)


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



More information about the osmocom-commitlog mailing list