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

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 Neira Ayuso pablo at gnumonks.org
Tue Mar 22 11:11:23 UTC 2011


This patchset 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 (3):
      src: move GSM-specific functions to libosmogsm library
      include: move GSM-specific stuff to include/osmocom/gsm
      include: move include/osmocore/ to include/osmocom/core


 Makefile.am                              |    2 
 configure.in                             |    7 
 include/Makefile.am                      |    2 
 include/osmocom/Makefile.am              |    4 
 include/osmocom/core/Makefile.am         |   11 
 include/osmocom/core/backtrace.h         |    6 
 include/osmocom/core/bits.h              |   45 +
 include/osmocom/core/bitvec.h            |   75 ++
 include/osmocom/core/crc16.h             |   34 +
 include/osmocom/core/gsmtap.h            |   89 ++
 include/osmocom/core/gsmtap_util.h       |   21 
 include/osmocom/core/linuxlist.h         |  360 +++++++++
 include/osmocom/core/logging.h           |  154 ++++
 include/osmocom/core/msgb.h              |  197 +++++
 include/osmocom/core/msgfile.h           |   49 +
 include/osmocom/core/panic.h             |   11 
 include/osmocom/core/plugin.h            |    6 
 include/osmocom/core/process.h           |    6 
 include/osmocom/core/rate_ctr.h          |   81 ++
 include/osmocom/core/select.h            |   22 +
 include/osmocom/core/signal.h            |   15 
 include/osmocom/core/statistics.h        |   31 +
 include/osmocom/core/talloc.h            |  192 +++++
 include/osmocom/core/timer.h             |   72 ++
 include/osmocom/core/utils.h             |   30 +
 include/osmocom/core/write_queue.h       |   46 +
 include/osmocom/crypt/gprs_cipher.h      |    2 
 include/osmocom/gsm/Makefile.am          |    6 
 include/osmocom/gsm/comp128.h            |   22 +
 include/osmocom/gsm/gsm0480.h            |   26 +
 include/osmocom/gsm/gsm0808.h            |   46 +
 include/osmocom/gsm/gsm48.h              |   36 +
 include/osmocom/gsm/gsm48_ie.h           |  117 +++
 include/osmocom/gsm/gsm_utils.h          |  118 +++
 include/osmocom/gsm/mncc.h               |   71 ++
 include/osmocom/gsm/protocol/Makefile.am |    6 
 include/osmocom/gsm/protocol/gsm_03_41.h |   51 +
 include/osmocom/gsm/protocol/gsm_04_08.h | 1262 ++++++++++++++++++++++++++++++
 include/osmocom/gsm/protocol/gsm_04_11.h |  188 ++++
 include/osmocom/gsm/protocol/gsm_04_12.h |   31 +
 include/osmocom/gsm/protocol/gsm_04_80.h |  126 +++
 include/osmocom/gsm/protocol/gsm_08_08.h |  303 +++++++
 include/osmocom/gsm/protocol/gsm_08_58.h |  546 +++++++++++++
 include/osmocom/gsm/protocol/gsm_12_21.h |  713 +++++++++++++++++
 include/osmocom/gsm/rsl.h                |   41 +
 include/osmocom/gsm/rxlev_stat.h         |   22 +
 include/osmocom/gsm/tlv.h                |  260 ++++++
 include/osmocom/vty/telnet_interface.h   |    4 
 include/osmocore/Makefile.am             |   13 
 include/osmocore/bits.h                  |   45 -
 include/osmocore/bitvec.h                |   75 --
 include/osmocore/comp128.h               |   22 -
 include/osmocore/crc16.h                 |   34 -
 include/osmocore/gsm0480.h               |   26 -
 include/osmocore/gsm0808.h               |   46 -
 include/osmocore/gsm48.h                 |   36 -
 include/osmocore/gsm48_ie.h              |  117 ---
 include/osmocore/gsm_utils.h             |  118 ---
 include/osmocore/gsmtap.h                |   89 --
 include/osmocore/gsmtap_util.h           |   21 
 include/osmocore/linuxlist.h             |  360 ---------
 include/osmocore/logging.h               |  154 ----
 include/osmocore/mncc.h                  |   71 --
 include/osmocore/msgb.h                  |  197 -----
 include/osmocore/msgfile.h               |   49 -
 include/osmocore/panic.h                 |   11 
 include/osmocore/plugin.h                |    6 
 include/osmocore/process.h               |    6 
 include/osmocore/protocol/Makefile.am    |    6 
 include/osmocore/protocol/gsm_03_41.h    |   51 -
 include/osmocore/protocol/gsm_04_08.h    | 1262 ------------------------------
 include/osmocore/protocol/gsm_04_11.h    |  188 ----
 include/osmocore/protocol/gsm_04_12.h    |   31 -
 include/osmocore/protocol/gsm_04_80.h    |  126 ---
 include/osmocore/protocol/gsm_08_08.h    |  303 -------
 include/osmocore/protocol/gsm_08_58.h    |  546 -------------
 include/osmocore/protocol/gsm_12_21.h    |  713 -----------------
 include/osmocore/rate_ctr.h              |   81 --
 include/osmocore/rsl.h                   |   41 -
 include/osmocore/rxlev_stat.h            |   22 -
 include/osmocore/select.h                |   22 -
 include/osmocore/signal.h                |   15 
 include/osmocore/statistics.h            |   31 -
 include/osmocore/talloc.h                |  192 -----
 include/osmocore/timer.h                 |   72 --
 include/osmocore/tlv.h                   |  260 ------
 include/osmocore/utils.h                 |   30 -
 include/osmocore/write_queue.h           |   46 -
 libosmogsm.pc.in                         |   11 
 src/Makefile.am                          |   14 
 src/backtrace.c                          |   51 +
 src/bits.c                               |    2 
 src/bitvec.c                             |    2 
 src/comp128.c                            |  230 -----
 src/crc16.c                              |    2 
 src/gprs_cipher_core.c                   |   99 --
 src/gsm/Makefile.am                      |   12 
 src/gsm/comp128.c                        |  230 +++++
 src/gsm/gprs_cipher_core.c               |   99 ++
 src/gsm/gsm0480.c                        |  461 +++++++++++
 src/gsm/gsm0808.c                        |  369 +++++++++
 src/gsm/gsm48.c                          |  415 ++++++++++
 src/gsm/gsm48_ie.c                       | 1095 ++++++++++++++++++++++++++
 src/gsm/gsm_utils.c                      |  465 +++++++++++
 src/gsm/rsl.c                            |  371 +++++++++
 src/gsm/rxlev_stat.c                     |   94 ++
 src/gsm/tlv_parser.c                     |  179 ++++
 src/gsm0480.c                            |  461 -----------
 src/gsm0808.c                            |  369 ---------
 src/gsm48.c                              |  415 ----------
 src/gsm48_ie.c                           | 1095 --------------------------
 src/gsm_utils.c                          |  488 ------------
 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                              |    4 
 src/plugin.c                             |    2 
 src/rate_ctr.c                           |   10 
 src/rsl.c                                |  371 ---------
 src/rxlev_stat.c                         |   94 --
 src/select.c                             |    6 
 src/signal.c                             |    6 
 src/statistics.c                         |    6 
 src/talloc.c                             |    2 
 src/timer.c                              |    2 
 src/tlv_parser.c                         |  179 ----
 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 
 145 files changed, 9481 insertions(+), 9417 deletions(-)
 create mode 100644 include/osmocom/core/Makefile.am
 create mode 100644 include/osmocom/core/backtrace.h
 create mode 100644 include/osmocom/core/bits.h
 create mode 100644 include/osmocom/core/bitvec.h
 create mode 100644 include/osmocom/core/crc16.h
 create mode 100644 include/osmocom/core/gsmtap.h
 create mode 100644 include/osmocom/core/gsmtap_util.h
 create mode 100644 include/osmocom/core/linuxlist.h
 create mode 100644 include/osmocom/core/logging.h
 create mode 100644 include/osmocom/core/msgb.h
 create mode 100644 include/osmocom/core/msgfile.h
 create mode 100644 include/osmocom/core/panic.h
 create mode 100644 include/osmocom/core/plugin.h
 create mode 100644 include/osmocom/core/process.h
 create mode 100644 include/osmocom/core/rate_ctr.h
 create mode 100644 include/osmocom/core/select.h
 create mode 100644 include/osmocom/core/signal.h
 create mode 100644 include/osmocom/core/statistics.h
 create mode 100644 include/osmocom/core/talloc.h
 create mode 100644 include/osmocom/core/timer.h
 create mode 100644 include/osmocom/core/utils.h
 create mode 100644 include/osmocom/core/write_queue.h
 create mode 100644 include/osmocom/gsm/Makefile.am
 create mode 100644 include/osmocom/gsm/comp128.h
 create mode 100644 include/osmocom/gsm/gsm0480.h
 create mode 100644 include/osmocom/gsm/gsm0808.h
 create mode 100644 include/osmocom/gsm/gsm48.h
 create mode 100644 include/osmocom/gsm/gsm48_ie.h
 create mode 100644 include/osmocom/gsm/gsm_utils.h
 create mode 100644 include/osmocom/gsm/mncc.h
 create mode 100644 include/osmocom/gsm/protocol/Makefile.am
 create mode 100644 include/osmocom/gsm/protocol/gsm_03_41.h
 create mode 100644 include/osmocom/gsm/protocol/gsm_04_08.h
 create mode 100644 include/osmocom/gsm/protocol/gsm_04_11.h
 create mode 100644 include/osmocom/gsm/protocol/gsm_04_12.h
 create mode 100644 include/osmocom/gsm/protocol/gsm_04_80.h
 create mode 100644 include/osmocom/gsm/protocol/gsm_08_08.h
 create mode 100644 include/osmocom/gsm/protocol/gsm_08_58.h
 create mode 100644 include/osmocom/gsm/protocol/gsm_12_21.h
 create mode 100644 include/osmocom/gsm/rsl.h
 create mode 100644 include/osmocom/gsm/rxlev_stat.h
 create mode 100644 include/osmocom/gsm/tlv.h
 delete mode 100644 include/osmocore/Makefile.am
 delete mode 100644 include/osmocore/bits.h
 delete mode 100644 include/osmocore/bitvec.h
 delete mode 100644 include/osmocore/comp128.h
 delete mode 100644 include/osmocore/crc16.h
 delete mode 100644 include/osmocore/gsm0480.h
 delete mode 100644 include/osmocore/gsm0808.h
 delete mode 100644 include/osmocore/gsm48.h
 delete mode 100644 include/osmocore/gsm48_ie.h
 delete mode 100644 include/osmocore/gsm_utils.h
 delete mode 100644 include/osmocore/gsmtap.h
 delete mode 100644 include/osmocore/gsmtap_util.h
 delete mode 100644 include/osmocore/linuxlist.h
 delete mode 100644 include/osmocore/logging.h
 delete mode 100644 include/osmocore/mncc.h
 delete mode 100644 include/osmocore/msgb.h
 delete mode 100644 include/osmocore/msgfile.h
 delete mode 100644 include/osmocore/panic.h
 delete mode 100644 include/osmocore/plugin.h
 delete mode 100644 include/osmocore/process.h
 delete mode 100644 include/osmocore/protocol/Makefile.am
 delete mode 100644 include/osmocore/protocol/gsm_03_41.h
 delete mode 100644 include/osmocore/protocol/gsm_04_08.h
 delete mode 100644 include/osmocore/protocol/gsm_04_11.h
 delete mode 100644 include/osmocore/protocol/gsm_04_12.h
 delete mode 100644 include/osmocore/protocol/gsm_04_80.h
 delete mode 100644 include/osmocore/protocol/gsm_08_08.h
 delete mode 100644 include/osmocore/protocol/gsm_08_58.h
 delete mode 100644 include/osmocore/protocol/gsm_12_21.h
 delete mode 100644 include/osmocore/rate_ctr.h
 delete mode 100644 include/osmocore/rsl.h
 delete mode 100644 include/osmocore/rxlev_stat.h
 delete mode 100644 include/osmocore/select.h
 delete mode 100644 include/osmocore/signal.h
 delete mode 100644 include/osmocore/statistics.h
 delete mode 100644 include/osmocore/talloc.h
 delete mode 100644 include/osmocore/timer.h
 delete mode 100644 include/osmocore/tlv.h
 delete mode 100644 include/osmocore/utils.h
 delete mode 100644 include/osmocore/write_queue.h
 create mode 100644 libosmogsm.pc.in
 create mode 100644 src/backtrace.c
 delete mode 100644 src/comp128.c
 delete mode 100644 src/gprs_cipher_core.c
 create mode 100644 src/gsm/Makefile.am
 create mode 100644 src/gsm/comp128.c
 create mode 100644 src/gsm/gprs_cipher_core.c
 create mode 100644 src/gsm/gsm0480.c
 create mode 100644 src/gsm/gsm0808.c
 create mode 100644 src/gsm/gsm48.c
 create mode 100644 src/gsm/gsm48_ie.c
 create mode 100644 src/gsm/gsm_utils.c
 create mode 100644 src/gsm/rsl.c
 create mode 100644 src/gsm/rxlev_stat.c
 create mode 100644 src/gsm/tlv_parser.c
 delete mode 100644 src/gsm0480.c
 delete mode 100644 src/gsm0808.c
 delete mode 100644 src/gsm48.c
 delete mode 100644 src/gsm48_ie.c
 delete mode 100644 src/gsm_utils.c
 delete mode 100644 src/rsl.c
 delete mode 100644 src/rxlev_stat.c
 delete mode 100644 src/tlv_parser.c





More information about the OpenBSC mailing list