Change in libosmo-sccp[master]: rename m3ua_example to sccp_demo_user

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/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Thu Jun 14 12:36:28 UTC 2018


Harald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/9628 )

Change subject: rename m3ua_example to sccp_demo_user
......................................................................

rename m3ua_example to sccp_demo_user

The new name allows for more natural naming of variables in TTCN3
code when this program is used as a TTCN3 test component.
Consider e.g. "SCCP_DEMO_USER_VTY" vs. "M3UA_EXAMPLE_VTY".

Change-Id: I92b5e16e765a1ac36371a16933389903628f8dfe
Related: OS#2666
---
M .gitignore
M examples/Makefile.am
R examples/sccp_demo_user.c
3 files changed, 6 insertions(+), 6 deletions(-)

Approvals:
  Jenkins Builder: Verified
  Harald Welte: Looks good to me, approved



diff --git a/.gitignore b/.gitignore
index e63e4ee..9423d67 100644
--- a/.gitignore
+++ b/.gitignore
@@ -60,7 +60,7 @@
 tests/testsuite
 tests/testsuite.log
 
-examples/m3ua_example
+examples/sccp_demo_user
 
 stp/osmo-stp
 
diff --git a/examples/Makefile.am b/examples/Makefile.am
index 6418aca..1993a01 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -4,8 +4,8 @@
 
 noinst_HEADERS = internal.h
 
-noinst_PROGRAMS = m3ua_example
+noinst_PROGRAMS = sccp_demo_user
 
-m3ua_example_SOURCES = m3ua_example.c sccp_test_server.c sccp_test_vty.c
-m3ua_example_LDADD = $(top_builddir)/src/libosmo-sigtran.la \
+sccp_demo_user_SOURCES = sccp_demo_user.c sccp_test_server.c sccp_test_vty.c
+sccp_demo_user_LDADD = $(top_builddir)/src/libosmo-sigtran.la \
 		   $(LIBOSMOCORE_LIBS) $(LIBOSMOVTY_LIBS)
diff --git a/examples/m3ua_example.c b/examples/sccp_demo_user.c
similarity index 97%
rename from examples/m3ua_example.c
rename to examples/sccp_demo_user.c
index 2a99450..f0b1a3e 100644
--- a/examples/m3ua_example.c
+++ b/examples/sccp_demo_user.c
@@ -78,7 +78,7 @@
 }
 
 static struct vty_app_info vty_info = {
-	.name	= "sccp-test",
+	.name	= "sccp-demo-user",
 	.version = 0,
 };
 
@@ -90,7 +90,7 @@
 #define DEFAULT_REMOTE_PORT	M3UA_PORT
 
 static void usage(void) {
-	fprintf(stderr, "m3ua_example [-c] [-l LOCAL_ADDRESS[:LOCAL_PORT]]\n"
+	fprintf(stderr, "sccp_demo_user [-c] [-l LOCAL_ADDRESS[:LOCAL_PORT]]\n"
 			"             [-r REMOTE_ADDRESS[:REMOTE_PORT]]\n"
 			"             [-L LOCAL_POINT_CODE] [-R REMOTE_POINT_CODE]\n"
 			"Options:\n"

-- 
To view, visit https://gerrit.osmocom.org/9628
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I92b5e16e765a1ac36371a16933389903628f8dfe
Gerrit-Change-Number: 9628
Gerrit-PatchSet: 3
Gerrit-Owner: Stefan Sperling <ssperling at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180614/508b8760/attachment.htm>


More information about the gerrit-log mailing list