From 896fcd5c80962767dd2ed413fb348d4e178262d5 Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Sun, 11 Oct 2020 19:52:36 +0200 Subject: gprs_ns2: add gprs_ns2_free_binds() to free all binds Allow users to clean up all binds (e.g. the PCU). Change-Id: Ic8f6f8aca10da23a18fab8870be7806065a34b47 --- include/osmocom/gprs/gprs_ns2.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/osmocom/gprs/gprs_ns2.h') diff --git a/include/osmocom/gprs/gprs_ns2.h b/include/osmocom/gprs/gprs_ns2.h index d798ac49..2c58723a 100644 --- a/include/osmocom/gprs/gprs_ns2.h +++ b/include/osmocom/gprs/gprs_ns2.h @@ -131,6 +131,7 @@ struct gprs_ns2_vc *gprs_ns2_ip_connect_inactive(struct gprs_ns2_vc_bind *bind, uint16_t nsvci); void gprs_ns2_free_bind(struct gprs_ns2_vc_bind *bind); +void gprs_ns2_free_binds(struct gprs_ns2_inst *nsi); /* create a VC SNS connection */ int gprs_ns2_ip_connect_sns(struct gprs_ns2_vc_bind *bind, -- cgit v1.2.3