[PATCH] ipa, gsup: file rename to prepare for refactoring

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Neels Hofmeyr nhofmeyr at sysmocom.de
Tue Sep 29 11:17:41 UTC 2015


Rename gprs_gsup_client.* to ipa_client.*.

To ease diff reading for the upcoming commit, this commit performs a file
rename only.

Background: currently, GSUP is the only protocol spoken on the IPA wire. We
will now add OAP, a new protocol to register the SGSN with a MAP proxy. What
has been only the GSUP client will mostly become the general IPA client.

Sponsored-by: On-Waves ehf
---
 openbsc/include/openbsc/Makefile.am                          | 2 +-
 openbsc/include/openbsc/{gprs_gsup_client.h => ipa_client.h} | 0
 openbsc/src/gprs/Makefile.am                                 | 2 +-
 openbsc/src/gprs/gprs_subscriber.c                           | 2 +-
 openbsc/src/gprs/{gprs_gsup_client.c => ipa_client.c}        | 2 +-
 openbsc/src/gprs/sgsn_vty.c                                  | 2 +-
 openbsc/tests/sgsn/Makefile.am                               | 2 +-
 openbsc/tests/sgsn/sgsn_test.c                               | 2 +-
 8 files changed, 7 insertions(+), 7 deletions(-)
 rename openbsc/include/openbsc/{gprs_gsup_client.h => ipa_client.h} (100%)
 rename openbsc/src/gprs/{gprs_gsup_client.c => ipa_client.c} (99%)

diff --git a/openbsc/include/openbsc/Makefile.am b/openbsc/include/openbsc/Makefile.am
index 254f43d..7bc9d95 100644
--- a/openbsc/include/openbsc/Makefile.am
+++ b/openbsc/include/openbsc/Makefile.am
@@ -16,7 +16,7 @@ noinst_HEADERS = abis_nm.h abis_rsl.h db.h gsm_04_08.h gsm_data.h \
 		arfcn_range_encode.h nat_rewrite_trie.h bsc_nat_callstats.h \
 		osmux.h mgcp_transcode.h gprs_utils.h \
 		 gprs_gb_parse.h smpp.h meas_feed.h gprs_gsup_messages.h \
-		 gprs_gsup_client.h bsc_msg_filter.h
+		 ipa_client.h bsc_msg_filter.h
 
 openbsc_HEADERS = gsm_04_08.h meas_rep.h bsc_api.h
 openbscdir = $(includedir)/openbsc
diff --git a/openbsc/include/openbsc/gprs_gsup_client.h b/openbsc/include/openbsc/ipa_client.h
similarity index 100%
rename from openbsc/include/openbsc/gprs_gsup_client.h
rename to openbsc/include/openbsc/ipa_client.h
diff --git a/openbsc/src/gprs/Makefile.am b/openbsc/src/gprs/Makefile.am
index f46a402..b9c3070 100644
--- a/openbsc/src/gprs/Makefile.am
+++ b/openbsc/src/gprs/Makefile.am
@@ -26,7 +26,7 @@ osmo_sgsn_SOURCES =	gprs_gmm.c gprs_sgsn.c gprs_sndcp.c gprs_sndcp_vty.c \
 			sgsn_main.c sgsn_vty.c sgsn_libgtp.c \
 			gprs_llc.c gprs_llc_parse.c gprs_llc_vty.c crc24.c \
 			sgsn_ctrl.c sgsn_auth.c gprs_subscriber.c \
-			gprs_gsup_messages.c gprs_utils.c gprs_gsup_client.c \
+			gprs_gsup_messages.c gprs_utils.c ipa_client.c \
 			gsm_04_08_gprs.c sgsn_cdr.c sgsn_ares.c
 osmo_sgsn_LDADD = 	\
 			$(top_builddir)/src/libcommon/libcommon.a \
diff --git a/openbsc/src/gprs/gprs_subscriber.c b/openbsc/src/gprs/gprs_subscriber.c
index 8231e8c..0a3fe19 100644
--- a/openbsc/src/gprs/gprs_subscriber.c
+++ b/openbsc/src/gprs/gprs_subscriber.c
@@ -21,7 +21,7 @@
  */
 
 #include <openbsc/gsm_subscriber.h>
-#include <openbsc/gprs_gsup_client.h>
+#include <openbsc/ipa_client.h>
 
 #include <openbsc/sgsn.h>
 #include <openbsc/gprs_sgsn.h>
diff --git a/openbsc/src/gprs/gprs_gsup_client.c b/openbsc/src/gprs/ipa_client.c
similarity index 99%
rename from openbsc/src/gprs/gprs_gsup_client.c
rename to openbsc/src/gprs/ipa_client.c
index 807b0c1..bec33c4 100644
--- a/openbsc/src/gprs/gprs_gsup_client.c
+++ b/openbsc/src/gprs/ipa_client.c
@@ -20,7 +20,7 @@
  *
  */
 
-#include <openbsc/gprs_gsup_client.h>
+#include <openbsc/ipa_client.h>
 
 #include <osmocom/abis/ipa.h>
 #include <osmocom/gsm/protocol/ipaccess.h>
diff --git a/openbsc/src/gprs/sgsn_vty.c b/openbsc/src/gprs/sgsn_vty.c
index b74d01a..00a930f 100644
--- a/openbsc/src/gprs/sgsn_vty.c
+++ b/openbsc/src/gprs/sgsn_vty.c
@@ -34,7 +34,7 @@
 #include <openbsc/gprs_sgsn.h>
 #include <openbsc/vty.h>
 #include <openbsc/gsm_04_08_gprs.h>
-#include <openbsc/gprs_gsup_client.h>
+#include <openbsc/ipa_client.h>
 
 #include <osmocom/vty/command.h>
 #include <osmocom/vty/vty.h>
diff --git a/openbsc/tests/sgsn/Makefile.am b/openbsc/tests/sgsn/Makefile.am
index 3c202dd..ea29fce 100644
--- a/openbsc/tests/sgsn/Makefile.am
+++ b/openbsc/tests/sgsn/Makefile.am
@@ -24,7 +24,7 @@ sgsn_test_LDADD = \
 	$(top_builddir)/src/gprs/sgsn_auth.o \
 	$(top_builddir)/src/gprs/sgsn_ares.o \
 	$(top_builddir)/src/gprs/gprs_gsup_messages.o \
-	$(top_builddir)/src/gprs/gprs_gsup_client.o \
+	$(top_builddir)/src/gprs/ipa_client.o \
 	$(top_builddir)/src/gprs/gprs_utils.o \
 	$(top_builddir)/src/gprs/gprs_subscriber.o \
 	$(top_builddir)/src/gprs/gsm_04_08_gprs.o \
diff --git a/openbsc/tests/sgsn/sgsn_test.c b/openbsc/tests/sgsn/sgsn_test.c
index 7e5ab1a..251772e 100644
--- a/openbsc/tests/sgsn/sgsn_test.c
+++ b/openbsc/tests/sgsn/sgsn_test.c
@@ -25,7 +25,7 @@
 #include <openbsc/debug.h>
 #include <openbsc/gsm_subscriber.h>
 #include <openbsc/gprs_gsup_messages.h>
-#include <openbsc/gprs_gsup_client.h>
+#include <openbsc/ipa_client.h>
 #include <openbsc/gprs_utils.h>
 
 #include <osmocom/gprs/gprs_bssgp.h>
-- 
2.1.4




More information about the OpenBSC mailing list