From ebcbd726ee562e186fdd8d95abb7cfe706678fe0 Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Thu, 3 Dec 2020 06:11:39 +0100 Subject: gprs_ns2: rework gprs_ns2_fr_connect*() Add gprs_ns2_fr_connect2() and change gprs_ns2_fr_connect() to be similar to gprs_ns2_ip_connect() and gprs_ns2_connect2(). This is an API break but there wasn't yet a release with NS2. Change-Id: I4e1374b0e979b3293302c5ed46a91a58f3a5a916 --- include/osmocom/gprs/gprs_ns2.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/osmocom') diff --git a/include/osmocom/gprs/gprs_ns2.h b/include/osmocom/gprs/gprs_ns2.h index 86bf1ae2..41587d3c 100644 --- a/include/osmocom/gprs/gprs_ns2.h +++ b/include/osmocom/gprs/gprs_ns2.h @@ -189,6 +189,10 @@ int gprs_ns2_fr_bind(struct gprs_ns2_inst *nsi, int gprs_ns2_is_fr_bind(struct gprs_ns2_vc_bind *bind); struct gprs_ns2_vc *gprs_ns2_fr_nsvc_by_dlci(struct gprs_ns2_vc_bind *bind, uint16_t dlci); struct gprs_ns2_vc *gprs_ns2_fr_connect(struct gprs_ns2_vc_bind *bind, + struct gprs_ns2_nse *nse, + uint16_t nsvci, + uint16_t dlci); +struct gprs_ns2_vc *gprs_ns2_fr_connect2(struct gprs_ns2_vc_bind *bind, uint16_t nsei, uint16_t nsvci, uint16_t dlci); -- cgit v1.2.3