[PATCH] libosmo-sccp[master]: sccp_helpers.h/.c: fix: apply rename of osmo_sua_link to osm...

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
Mon Feb 13 03:09:21 UTC 2017


Review at  https://gerrit.osmocom.org/1799

sccp_helpers.h/.c: fix: apply rename of osmo_sua_link to osmo_sccp_link

Change-Id: If8b09bb05297ebf663b4a04d3cc094a6a8087f53
---
M include/osmocom/sigtran/sccp_helpers.h
M src/sccp_helpers.c
2 files changed, 12 insertions(+), 12 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmo-sccp refs/changes/99/1799/1

diff --git a/include/osmocom/sigtran/sccp_helpers.h b/include/osmocom/sigtran/sccp_helpers.h
index 089d69a..01f7af6 100644
--- a/include/osmocom/sigtran/sccp_helpers.h
+++ b/include/osmocom/sigtran/sccp_helpers.h
@@ -4,30 +4,30 @@
 #include <osmocom/sigtran/sccp_sap.h>
 #include <osmocom/sigtran/sua.h>
 
-int sccp_tx_unitdata(struct osmo_sua_link *link,
+int sccp_tx_unitdata(struct osmo_sccp_link *link,
 		     const struct osmo_sccp_addr *calling_addr,
 		     const struct osmo_sccp_addr *called_addr,
 		     uint8_t *data, unsigned int len);
 
-int sccp_tx_unitdata_msg(struct osmo_sua_link *link,
+int sccp_tx_unitdata_msg(struct osmo_sccp_link *link,
 			 const struct osmo_sccp_addr *calling_addr,
 			 const struct osmo_sccp_addr *called_addr,
 			 struct msgb *msg);
 
 void sccp_make_addr_pc_ssn(struct osmo_sccp_addr *addr, uint32_t pc, uint32_t ssn);
 
-int sccp_tx_conn_req(struct osmo_sua_link *link, uint32_t conn_id,
+int sccp_tx_conn_req(struct osmo_sccp_link *link, uint32_t conn_id,
 		     const struct osmo_sccp_addr *calling_addr,
 		     const struct osmo_sccp_addr *called_addr,
 		     uint8_t *data, unsigned int len);
 
-int sccp_tx_conn_req_msg(struct osmo_sua_link *link, uint32_t conn_id,
+int sccp_tx_conn_req_msg(struct osmo_sccp_link *link, uint32_t conn_id,
 			 const struct osmo_sccp_addr *calling_addr,
 			 const struct osmo_sccp_addr *called_addr,
 			 struct msgb *msg);
 
-int sccp_tx_data(struct osmo_sua_link *link, uint32_t conn_id,
+int sccp_tx_data(struct osmo_sccp_link *link, uint32_t conn_id,
 		 uint8_t *data, unsigned int len);
 
-int sccp_tx_data_msg(struct osmo_sua_link *link, uint32_t conn_id,
+int sccp_tx_data_msg(struct osmo_sccp_link *link, uint32_t conn_id,
 		     struct msgb *msg);
diff --git a/src/sccp_helpers.c b/src/sccp_helpers.c
index cdb26e7..d450627 100644
--- a/src/sccp_helpers.c
+++ b/src/sccp_helpers.c
@@ -32,7 +32,7 @@
 	addr->pc = pc;
 }
 
-int sccp_tx_unitdata(struct osmo_sua_link *link,
+int sccp_tx_unitdata(struct osmo_sccp_link *link,
 		     const struct osmo_sccp_addr *calling_addr,
 		     const struct osmo_sccp_addr *called_addr,
 		     uint8_t *data, unsigned int len)
@@ -53,7 +53,7 @@
 	return osmo_sua_user_link_down(link, &prim->oph);
 }
 
-int sccp_tx_unitdata_msg(struct osmo_sua_link *link,
+int sccp_tx_unitdata_msg(struct osmo_sccp_link *link,
 			 const struct osmo_sccp_addr *calling_addr,
 			 const struct osmo_sccp_addr *called_addr,
 			 struct msgb *msg)
@@ -67,7 +67,7 @@
 	return rc;
 }
 
-int sccp_tx_conn_req(struct osmo_sua_link *link, uint32_t conn_id,
+int sccp_tx_conn_req(struct osmo_sccp_link *link, uint32_t conn_id,
 		     const struct osmo_sccp_addr *calling_addr,
 		     const struct osmo_sccp_addr *called_addr,
 		     uint8_t *data, unsigned int len)
@@ -91,7 +91,7 @@
 	return osmo_sua_user_link_down(link, &prim->oph);
 }
 
-int sccp_tx_conn_req_msg(struct osmo_sua_link *link, uint32_t conn_id,
+int sccp_tx_conn_req_msg(struct osmo_sccp_link *link, uint32_t conn_id,
 			 const struct osmo_sccp_addr *calling_addr,
 			 const struct osmo_sccp_addr *called_addr,
 			 struct msgb *msg)
@@ -105,7 +105,7 @@
 	return rc;
 }
 
-int sccp_tx_data(struct osmo_sua_link *link, uint32_t conn_id,
+int sccp_tx_data(struct osmo_sccp_link *link, uint32_t conn_id,
 		 uint8_t *data, unsigned int len)
 {
 	struct msgb *msg = msgb_alloc(1024, "sccp_tx_data");
@@ -123,7 +123,7 @@
 	return osmo_sua_user_link_down(link, &prim->oph);
 }
 
-int sccp_tx_data_msg(struct osmo_sua_link *link, uint32_t conn_id,
+int sccp_tx_data_msg(struct osmo_sccp_link *link, uint32_t conn_id,
 		     struct msgb *msg)
 {
 	int rc;

-- 
To view, visit https://gerrit.osmocom.org/1799
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If8b09bb05297ebf663b4a04d3cc094a6a8087f53
Gerrit-PatchSet: 1
Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list