diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-10-30 18:00:57 +0100 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-10-30 18:25:47 +0100 |
commit | 73b2bf321575abe7ea31dedb1c061db430dfd95a (patch) | |
tree | 4bd33aaed4f41098f9461c74619ce02201cc523c /include/osmocom | |
parent | b1d1c240dbfe6a065fd489c38e2e8563ff2d747c (diff) |
Allocate sgsn_instance with talloc
Change-Id: I4a83c5799f0dbd5eb762039c6cfba671f6e465be
Diffstat (limited to 'include/osmocom')
-rw-r--r-- | include/osmocom/sgsn/gprs_sgsn.h | 3 |
1 files changed, 2 insertions, 1 deletions
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); |