[PATCH 0/2] [v2] reorganization of GSM-specific stuff and header files

pablo at gnumonks.org pablo at gnumonks.org
Tue Mar 22 16:36:11 CET 2011


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

This is the second version of this patchset, which includes:

* The creation of the libosmogsm library which is distributed in
libosmocore.
* The new GSM-specific header directory under include/osmocom/gsm.
* The new core header directory under include/osmocom/core.

Once this changes have been applied, the directory include/osmocore
vanishes from the tree.

Please, apply!

Pablo Neira Ayuso (2):
  src: move GSM-specific functions to libosmogsm library
  include: reorganize headers file to include/osmocom/[gsm|core]

 Makefile.am                                        |    2 +-
 configure.in                                       |    7 ++-
 include/Makefile.am                                |    2 +-
 include/osmocom/Makefile.am                        |    4 +-
 include/osmocom/core/Makefile.am                   |   12 +++++
 include/osmocom/core/backtrace.h                   |    6 ++
 include/{osmocore => osmocom/core}/bits.h          |    0
 include/{osmocore => osmocom/core}/bitvec.h        |    0
 include/{osmocore => osmocom/core}/crc16.h         |    0
 include/{osmocore => osmocom/core}/gsmtap.h        |    0
 include/{osmocore => osmocom/core}/gsmtap_util.h   |    0
 include/{osmocore => osmocom/core}/linuxlist.h     |    0
 include/{osmocore => osmocom/core}/logging.h       |    2 +-
 include/{osmocore => osmocom/core}/msgb.h          |    6 +-
 include/{osmocore => osmocom/core}/msgfile.h       |    0
 include/{osmocore => osmocom/core}/panic.h         |    0
 include/{osmocore => osmocom/core}/plugin.h        |    0
 include/{osmocore => osmocom/core}/process.h       |    0
 include/{osmocore => osmocom/core}/rate_ctr.h      |    2 +-
 include/{osmocore => osmocom/core}/select.h        |    2 +-
 include/{osmocore => osmocom/core}/signal.h        |    0
 include/{osmocore => osmocom/core}/statistics.h    |    0
 include/{osmocore => osmocom/core}/talloc.h        |    0
 include/{osmocore => osmocom/core}/timer.h         |    2 +-
 include/{osmocore => osmocom/core}/utils.h         |    0
 include/{osmocore => osmocom/core}/write_queue.h   |    0
 include/osmocom/crypt/gprs_cipher.h                |    2 +-
 include/osmocom/gsm/Makefile.am                    |    6 ++
 include/{osmocore => osmocom/gsm}/comp128.h        |    0
 include/{osmocore => osmocom/gsm}/gsm0480.h        |    6 +-
 include/{osmocore => osmocom/gsm}/gsm0808.h        |    0
 include/{osmocore => osmocom/gsm}/gsm48.h          |    6 +-
 include/{osmocore => osmocom/gsm}/gsm48_ie.h       |    8 ++--
 include/{osmocore => osmocom/gsm}/gsm_utils.h      |    1 -
 include/{osmocore => osmocom/gsm}/mncc.h           |    0
 include/osmocom/gsm/protocol/Makefile.am           |    6 ++
 .../{osmocore => osmocom/gsm}/protocol/gsm_03_41.h |    0
 .../{osmocore => osmocom/gsm}/protocol/gsm_04_08.h |    0
 .../{osmocore => osmocom/gsm}/protocol/gsm_04_11.h |    0
 .../{osmocore => osmocom/gsm}/protocol/gsm_04_12.h |    0
 .../{osmocore => osmocom/gsm}/protocol/gsm_04_80.h |    0
 .../{osmocore => osmocom/gsm}/protocol/gsm_08_08.h |    0
 .../{osmocore => osmocom/gsm}/protocol/gsm_08_58.h |    0
 .../{osmocore => osmocom/gsm}/protocol/gsm_12_21.h |    2 +-
 include/{osmocore => osmocom/gsm}/rsl.h            |    4 +-
 include/{osmocore => osmocom/gsm}/rxlev_stat.h     |    0
 include/{osmocore => osmocom/gsm}/tlv.h            |    2 +-
 include/osmocom/vty/telnet_interface.h             |    4 +-
 include/osmocore/Makefile.am                       |   13 -----
 include/osmocore/protocol/Makefile.am              |    6 --
 libosmogsm.pc.in                                   |   11 ++++
 src/Makefile.am                                    |   14 +++---
 src/backtrace.c                                    |   50 ++++++++++++++++++++
 src/bits.c                                         |    2 +-
 src/bitvec.c                                       |    2 +-
 src/crc16.c                                        |    2 +-
 src/gsm/Makefile.am                                |   13 +++++
 src/{ => gsm}/comp128.c                            |    0
 src/{ => gsm}/gprs_cipher_core.c                   |    6 +-
 src/{ => gsm}/gsm0480.c                            |   10 ++--
 src/{ => gsm}/gsm0808.c                            |    6 +-
 src/{ => gsm}/gsm48.c                              |    8 ++--
 src/{ => gsm}/gsm48_ie.c                           |   12 ++--
 src/{ => gsm}/gsm_utils.c                          |   29 +----------
 src/{ => gsm}/rsl.c                                |    4 +-
 src/{ => gsm}/rxlev_stat.c                         |    4 +-
 src/{ => gsm}/tlv_parser.c                         |    4 +-
 src/gsmtap_util.c                                  |   14 +++---
 src/logging.c                                      |    6 +-
 src/logging_syslog.c                               |    6 +-
 src/msgb.c                                         |    4 +-
 src/msgfile.c                                      |    4 +-
 src/panic.c                                        |    5 +-
 src/plugin.c                                       |    2 +-
 src/rate_ctr.c                                     |   10 ++--
 src/select.c                                       |    6 +-
 src/signal.c                                       |    6 +-
 src/statistics.c                                   |    6 +-
 src/talloc.c                                       |    2 +-
 src/timer.c                                        |    2 +-
 src/utils.c                                        |    2 +-
 src/vty/buffer.c                                   |    2 +-
 src/vty/command.c                                  |    2 +-
 src/vty/logging_vty.c                              |    6 +-
 src/vty/telnet_interface.c                         |    6 +-
 src/vty/utils.c                                    |    8 ++--
 src/vty/vector.c                                   |    2 +-
 src/vty/vty.c                                      |    2 +-
 src/write_queue.c                                  |    2 +-
 tests/msgfile/msgfile_test.c                       |    2 +-
 tests/sms/Makefile.am                              |    2 +-
 tests/sms/sms_test.c                               |    6 +-
 tests/smscb/Makefile.am                            |    2 +-
 tests/smscb/smscb_test.c                           |    2 +-
 tests/timer/timer_test.c                           |    4 +-
 tests/ussd/Makefile.am                             |    2 +-
 tests/ussd/ussd_test.c                             |    2 +-
 97 files changed, 241 insertions(+), 176 deletions(-)
 create mode 100644 include/osmocom/core/Makefile.am
 create mode 100644 include/osmocom/core/backtrace.h
 rename include/{osmocore => osmocom/core}/bits.h (100%)
 rename include/{osmocore => osmocom/core}/bitvec.h (100%)
 rename include/{osmocore => osmocom/core}/crc16.h (100%)
 rename include/{osmocore => osmocom/core}/gsmtap.h (100%)
 rename include/{osmocore => osmocom/core}/gsmtap_util.h (100%)
 rename include/{osmocore => osmocom/core}/linuxlist.h (100%)
 rename include/{osmocore => osmocom/core}/logging.h (99%)
 rename include/{osmocore => osmocom/core}/msgb.h (98%)
 rename include/{osmocore => osmocom/core}/msgfile.h (100%)
 rename include/{osmocore => osmocom/core}/panic.h (100%)
 rename include/{osmocore => osmocom/core}/plugin.h (100%)
 rename include/{osmocore => osmocom/core}/process.h (100%)
 rename include/{osmocore => osmocom/core}/rate_ctr.h (98%)
 rename include/{osmocore => osmocom/core}/select.h (92%)
 rename include/{osmocore => osmocom/core}/signal.h (100%)
 rename include/{osmocore => osmocom/core}/statistics.h (100%)
 rename include/{osmocore => osmocom/core}/talloc.h (100%)
 rename include/{osmocore => osmocom/core}/timer.h (98%)
 rename include/{osmocore => osmocom/core}/utils.h (100%)
 rename include/{osmocore => osmocom/core}/write_queue.h (100%)
 create mode 100644 include/osmocom/gsm/Makefile.am
 rename include/{osmocore => osmocom/gsm}/comp128.h (100%)
 rename include/{osmocore => osmocom/gsm}/gsm0480.h (84%)
 rename include/{osmocore => osmocom/gsm}/gsm0808.h (100%)
 rename include/{osmocore => osmocom/gsm}/gsm48.h (90%)
 rename include/{osmocore => osmocom/gsm}/gsm48_ie.h (96%)
 rename include/{osmocore => osmocom/gsm}/gsm_utils.h (99%)
 rename include/{osmocore => osmocom/gsm}/mncc.h (100%)
 create mode 100644 include/osmocom/gsm/protocol/Makefile.am
 rename include/{osmocore => osmocom/gsm}/protocol/gsm_03_41.h (100%)
 rename include/{osmocore => osmocom/gsm}/protocol/gsm_04_08.h (100%)
 rename include/{osmocore => osmocom/gsm}/protocol/gsm_04_11.h (100%)
 rename include/{osmocore => osmocom/gsm}/protocol/gsm_04_12.h (100%)
 rename include/{osmocore => osmocom/gsm}/protocol/gsm_04_80.h (100%)
 rename include/{osmocore => osmocom/gsm}/protocol/gsm_08_08.h (100%)
 rename include/{osmocore => osmocom/gsm}/protocol/gsm_08_58.h (100%)
 rename include/{osmocore => osmocom/gsm}/protocol/gsm_12_21.h (99%)
 rename include/{osmocore => osmocom/gsm}/rsl.h (94%)
 rename include/{osmocore => osmocom/gsm}/rxlev_stat.h (100%)
 rename include/{osmocore => osmocom/gsm}/tlv.h (99%)
 delete mode 100644 include/osmocore/Makefile.am
 delete mode 100644 include/osmocore/protocol/Makefile.am
 create mode 100644 libosmogsm.pc.in
 create mode 100644 src/backtrace.c
 create mode 100644 src/gsm/Makefile.am
 rename src/{ => gsm}/comp128.c (100%)
 rename src/{ => gsm}/gprs_cipher_core.c (96%)
 rename src/{ => gsm}/gsm0480.c (98%)
 rename src/{ => gsm}/gsm0808.c (98%)
 rename src/{ => gsm}/gsm48.c (98%)
 rename src/{ => gsm}/gsm48_ie.c (99%)
 rename src/{ => gsm}/gsm_utils.c (95%)
 rename src/{ => gsm}/rsl.c (99%)
 rename src/{ => gsm}/rxlev_stat.c (96%)
 rename src/{ => gsm}/tlv_parser.c (98%)

-- 
1.7.2.3





More information about the OpenBSC mailing list