aboutsummaryrefslogtreecommitdiffstats
path: root/src/gb/gprs_ns2_internal.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2021-03-05 10:20:11 +0100
committerlaforge <laforge@osmocom.org>2021-03-10 12:23:09 +0000
commit06d9bf910b450b1176b3d78b163fb2022c68c554 (patch)
tree2253baa3afe52a9823df72211399aa7c17f271be /src/gb/gprs_ns2_internal.h
parentc1c7e4a8304d3dcecd1b220cbc453db0510841b5 (diff)
gprs_ns2: Encapsulate setting NSE dialect
Setting the NSE dialect possibly involves the creating (or destruction) of a IP-SNS FSM. Encapsulate that, rather than having every caller re-implement that. Change-Id: I24fdc26fbcfda039bd58ea166f4d5c2fd1801da1
Diffstat (limited to 'src/gb/gprs_ns2_internal.h')
-rw-r--r--src/gb/gprs_ns2_internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gb/gprs_ns2_internal.h b/src/gb/gprs_ns2_internal.h
index 80e664c3..688a5874 100644
--- a/src/gb/gprs_ns2_internal.h
+++ b/src/gb/gprs_ns2_internal.h
@@ -306,6 +306,7 @@ void ns2_prim_status_ind(struct gprs_ns2_nse *nse,
enum gprs_ns2_affecting_cause cause);
void ns2_nse_notify_alive(struct gprs_ns2_vc *nsvc, bool alive);
void ns2_nse_update_mtu(struct gprs_ns2_nse *nse);
+int ns2_nse_set_dialect(struct gprs_ns2_nse *nse, enum gprs_ns2_dialect dialect);
/* message */
int ns2_validate(struct gprs_ns2_vc *nsvc,