[PATCH 0/2] libosmocore: logging and signal support for libraries

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

pablo at gnumonks.org pablo at gnumonks.org
Sat Jul 2 17:54:57 UTC 2011


From: Pablo Neira Ayuso <pablo at gnumonks.org>

Hi Harald!

These are the two patches that I'm using to support signalling
and logging in the libraries.

The patch that adds the logging support reworks your previous
contribution so we only keep the logging subsystem in libosmocore,
instead of the full definition of the logging subsystem.

See patches descriptions for further details.

Let me know if you're OK with these changes.

Pablo Neira Ayuso (2):
  signal: reserve signal subsystems >= 64 for libraries
  logging: rework definition of logging subsystems for libraries

 include/osmocom/core/logging.h |   22 ++++++--
 include/osmocom/core/signal.h  |   23 +++++++++
 include/osmocom/gsm/gsm.h      |    6 ++
 src/gsm/Makefile.am            |    2 +-
 src/gsm/init.c                 |   22 ++++++++
 src/logging.c                  |  107 ++++++++++++++++++++++-----------------
 6 files changed, 129 insertions(+), 53 deletions(-)
 create mode 100644 include/osmocom/gsm/gsm.h
 create mode 100644 src/gsm/init.c

-- 
1.7.2.5





More information about the OpenBSC mailing list