From 73b2bf321575abe7ea31dedb1c061db430dfd95a Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Tue, 30 Oct 2018 18:00:57 +0100 Subject: Allocate sgsn_instance with talloc Change-Id: I4a83c5799f0dbd5eb762039c6cfba671f6e465be --- include/osmocom/sgsn/gprs_sgsn.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/osmocom/sgsn/gprs_sgsn.h b/include/osmocom/sgsn/gprs_sgsn.h index 1913591d2..cf7876669 100644 --- a/include/osmocom/sgsn/gprs_sgsn.h +++ b/include/osmocom/sgsn/gprs_sgsn.h @@ -396,7 +396,8 @@ extern struct llist_head sgsn_apn_ctxts; extern struct llist_head sgsn_pdp_ctxts; uint32_t sgsn_alloc_ptmsi(void); -void sgsn_inst_init(void); +struct sgsn_instance *sgsn_instance_alloc(void *talloc_ctx); +void sgsn_inst_init(struct sgsn_instance *sgsn); char *gprs_pdpaddr2str(uint8_t *pdpa, uint8_t len); -- cgit v1.2.3