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 0b2f7153f2bfcb3897d34838105568fa90324bf5 (commit)
via 31c0fef2fd5daa53617c05752411ec6446d8a82b (commit)
via f85861d6eb6ebc962bc710ac2d481536e6be7053 (commit)
from 79c137c65446ef4139dde63a9e9c023fe9139f80 (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=0b2f7153f2bfcb3897d348381055…
commit 0b2f7153f2bfcb3897d34838105568fa90324bf5
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Sun Apr 16 19:49:24 2017 +0200
control_if: Don't use magic number '5' when allocating vector
We have a proper constant for this (_LAST_CTRL_NODE), so let's use it.
Change-Id: I46275e644166156cb665da70d2964008f1c6cd88
http://cgit.osmocom.org/libosmocore/commit/?id=31c0fef2fd5daa53617c05752411…
commit 31c0fef2fd5daa53617c05752411ec6446d8a82b
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Sun Apr 16 17:26:30 2017 +0200
control_if: Add control interface commands for FSMs
This allows programmatic access to introspection of FSM instances, which
is quite handy from e.g. external test cases: Send a message to the
code, then use the CTRL interface to check if that message has triggered
the right kind of state transition.
Change-Id: I0f80340ee9c61c88962fdd6764a6098a844d0d1e
http://cgit.osmocom.org/libosmocore/commit/?id=f85861d6eb6ebc962bc710ac2d48…
commit f85861d6eb6ebc962bc710ac2d481536e6be7053
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Sun Apr 16 19:17:10 2017 +0200
control_if: Add helper function for 'local execution' of control command
Sometimes (particularly when testing), we may want to parse+execute an
arbitrary control command simply form a string buffer, rather than from
a msgb. Let's add a helper for that.
Change-Id: Iaca748e0d942bb2a1ee7c2776b37485e1439eb0c
-----------------------------------------------------------------------
Summary of changes:
include/osmocom/ctrl/control_cmd.h | 2 +
include/osmocom/ctrl/control_if.h | 1 +
src/ctrl/Makefile.am | 2 +-
src/ctrl/control_if.c | 34 ++++++-
src/ctrl/fsm_ctrl_commands.c | 175 +++++++++++++++++++++++++++++++++++++
tests/Makefile.am | 2 +-
tests/fsm/fsm_test.c | 40 ++++++++-
tests/fsm/fsm_test.err | 16 ++--
8 files changed, 258 insertions(+), 14 deletions(-)
create mode 100644 src/ctrl/fsm_ctrl_commands.c
hooks/post-receive
--
An utility library for Open Source Mobile Communications