libosmocore/include/osmocom/gprs
Pau Espin 0158b05337 Move libosmogsm TS 44.060 declarations under include/osmocom/gsm/
Currently there's a big mess where include dir osmocom/gprs/ is used by
both libosmogsm and libosmogb.
Most of the header files under osmocom/gprs/ are actually all the
headers of libosmogb (there's no osmocom/gb/ dir). But a couple files
are actually RLC/MAC (TS 44.060) related are are also stored in there.
Those files have no relation/use in Gb, and are actually interused with
GSM (eg System Information 13 Rest Octets).
Hence, it makes sense to have the RLC/MAC related parts inside
osmocom/gsm/ as they should be in libosmogsm (and they actually are,
see gprs_rlc.h function implemented in src/gsm/gsm48_rest_octets.c).

The fact that some libosmogsm headers were placed in osmocom/gprs
instead of osmocom/gsm already created some issues, like
libosmocore.spec.in putting "%_includedir/%name/osmocom/gprs/" under
libosmogb, which is wrong.

As a first step to fix the mess, we move the 2 RLC/MAC headers currently
under osmocom/gprs/{gprs_rlc,protocol/gsm_04_60}.h under a single header
gsm/protocol/gsm_44_060.h
The two old headers are left existing for backward compatibility and now
simply include the new libosmogsm header, plus a warning asking users to
switch to the new header so we can eventually get rid of them.
This means libosmogb depends on libosmogsm, which is fine and was
already the case beforehand (libosmogb using functions like
gsm48_encode_ra() and linking against it in src/gb/Makefile.am).

Change-Id: I70cc21bf25a7081070738abacb409ed19094c3b2
2023-02-20 12:21:30 +01:00
..
protocol Move libosmogsm TS 44.060 declarations under include/osmocom/gsm/ 2023-02-20 12:21:30 +01:00
Makefile.am Split include/Makefile.am content into subdirs 2023-01-18 18:29:34 +01:00
bssgp_bvc_fsm.h bssgp_bvc_fsm: Add a hook to notify when a reset was acknowledged 2022-03-30 18:00:56 +02:00
frame_relay.h ns2: Dump frame relay state to VTY during "show ns" 2021-04-25 21:09:23 +02:00
gprs_bssgp.h Support building with -Werror=strict-prototypes / -Werror=old-style-definition 2022-11-03 12:44:28 +01:00
gprs_bssgp2.h gb: add bssgp2_enc_flush_ll encode FLUSH-LL 2022-09-28 18:14:28 +02:00
gprs_bssgp_bss.h gprs_bssgp: Add bssgp_tx_bvc_reset2() 2020-06-26 16:07:15 +00:00
gprs_bssgp_rim.h Revert "gb: Fix naming and export symbol bssgp_enc_rim_pdu" 2021-05-06 18:28:12 +00:00
gprs_msgb.h GPRS: Doxygen documentation for 'struct libgb_msgb_cb' 2019-02-23 14:38:23 +01:00
gprs_ns.h gprs_ns.h: add missing prototype gprs_ns_rcvmsg() 2020-07-04 18:59:34 +02:00
gprs_ns2.h ns2: Allow setting the socket priority for a UDP bind 2021-04-29 19:55:34 +02:00
gprs_ns_frgre.h gprs_ns_frgre.h: add missing declaration of structs 2020-07-28 11:47:56 +02:00
gprs_rlc.h Move libosmogsm TS 44.060 declarations under include/osmocom/gsm/ 2023-02-20 12:21:30 +01:00