diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-08-29 17:21:00 +0200 |
---|---|---|
committer | pespin <pespin@sysmocom.de> | 2019-09-02 09:42:21 +0000 |
commit | 6dfb5fef4072c177fc58149d48cec74b7a501f47 (patch) | |
tree | b9c7f45cb75d437ac4e59a86eca1674d86639037 /src/gprs/sgsn_main.c | |
parent | 259e303436e035a5d137c17978f2f8de4bd58328 (diff) |
Move lots of Iu/ranap specific code into its own file
RANAP related functionalities were splitted among several files
(gprs_gmm.c, gprs_sgsn.c and sgsn_libgtp.c). Let's move it into its own
file to shrink complexity/size of existing files.
It also allows to keep a lot of conditionally enabled code (BUILD_IU)
and its dependencies (osmo-iuh) together.
Change-Id: I549042aaff045a378de77d657cc396ee08f22f33
Diffstat (limited to 'src/gprs/sgsn_main.c')
-rw-r--r-- | src/gprs/sgsn_main.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gprs/sgsn_main.c b/src/gprs/sgsn_main.c index 9f2e1117..eef5f8f2 100644 --- a/src/gprs/sgsn_main.c +++ b/src/gprs/sgsn_main.c @@ -57,6 +57,7 @@ #include <osmocom/sgsn/sgsn.h> #include <osmocom/sgsn/gprs_llc.h> #include <osmocom/sgsn/gprs_gmm.h> +#include <osmocom/sgsn/gprs_ranap.h> #include <osmocom/ctrl/control_if.h> #include <osmocom/ctrl/ports.h> @@ -354,10 +355,6 @@ static const struct log_info gprs_log_info = { .num_cat = ARRAY_SIZE(gprs_categories), }; -#if BUILD_IU -int sgsn_ranap_iu_event(struct ranap_ue_conn_ctx *ctx, enum ranap_iu_event_type type, void *data); -#endif - static bool file_exists(const char *path) { struct stat sb; |