diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2017-07-05 15:19:52 +0200 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2017-07-12 23:42:47 +0200 |
commit | b271e460490131f7d9c4873057b7ebe0826803b8 (patch) | |
tree | 47d48f4eb6ce2f47020e8ed0d36e446adc3be51d /src/gprs/sgsn_main.c | |
parent | e97d8754cae116469a7c6fc6c24eb5836dc5245d (diff) |
move libiu to osmo-iuh/libosmo-ranapaoip
Remove libiu here, use the functions from libosmo-ranap instead, by applying
the ranap_ / RANAP_ prefix.
Corresponding change-id in osmo-iuh.git is I6a3f7ad15be03fb94689b4af6ccfa828c25f45c0
Change-Id: Ib8c4fcdb4766c5e575618b95ce16dce51063206b
Diffstat (limited to 'src/gprs/sgsn_main.c')
-rw-r--r-- | src/gprs/sgsn_main.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gprs/sgsn_main.c b/src/gprs/sgsn_main.c index 52c300cee..5af23321a 100644 --- a/src/gprs/sgsn_main.c +++ b/src/gprs/sgsn_main.c @@ -50,13 +50,14 @@ #include <osmocom/ctrl/control_vty.h> +#include <osmocom/ranap/iu_client.h> + #include <openbsc/signal.h> #include <openbsc/debug.h> #include <openbsc/vty.h> #include <openbsc/sgsn.h> #include <openbsc/gprs_llc.h> #include <openbsc/gprs_gmm.h> -#include <openbsc/iu.h> #include <osmocom/ctrl/control_if.h> #include <osmocom/ctrl/ports.h> @@ -318,7 +319,7 @@ static const struct log_info gprs_log_info = { .num_cat = ARRAY_SIZE(gprs_categories), }; -int sgsn_ranap_iu_event(struct ue_conn_ctx *ctx, enum iu_event_type type, void *data); +int sgsn_ranap_iu_event(struct ue_conn_ctx *ctx, enum ranap_iu_event_type type, void *data); int main(int argc, char **argv) { @@ -446,7 +447,7 @@ int main(int argc, char **argv) return 8; } - iu_init(tall_bsc_ctx, sccp, gsm0408_gprs_rcvmsg_iu, sgsn_ranap_iu_event); + ranap_iu_init(tall_bsc_ctx, DRANAP, "OsmoSGSN-IuPS", sccp, gsm0408_gprs_rcvmsg_iu, sgsn_ranap_iu_event); #endif if (daemonize) { |