libgtp: Remove ctrl_handle from gsn_t, replace with private context
commit8a03ea8a326bb60cae3400076660ee08911bb9b1
authorHarald Welte <laforge@gnumonks.org>
Sat, 12 Aug 2017 12:52:45 +0000 (12 14:52 +0200)
committerHarald Welte <laforge@gnumonks.org>
Tue, 5 Sep 2017 21:13:10 +0000 (5 23:13 +0200)
tree4c58b48118cff8ea8ab457d39f41e0e15219f0e3
parent9e6dfa05580777a728ec42f2bf4bfaf9994e776a
libgtp: Remove ctrl_handle from gsn_t, replace with private context

The control interface handle never belonged into libgtp in the first
place.  Commit 727417dd28813c697b4820aef9f54f249e30c4b8 should not
have added this to the shared library (used by sgsnemu, osmo-sgsn, ...),
but to some private state of the GGSN.

Introducing a private context pointer at the same location will keep
ABI compatibilty.

Change-Id: I4f17516dae3e04114564828a3e5f6e2ea54212a5
ggsn/ggsn.c
gtp/gtp.h