pespin has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/libosmo-sigtran/+/41406?usp=email )


Change subject: Move osmo_ss7_user_mtp_xfer_req() to proper header
......................................................................

Move osmo_ss7_user_mtp_xfer_req() to proper header

That API is part of the MTP SAP, move it there.

Change-Id: Ibdf9be85eed50ede7719a3f5510705f0c82bf7f9
---
M include/osmocom/sigtran/mtp_sap.h
M include/osmocom/sigtran/osmo_ss7.h
2 files changed, 4 insertions(+), 6 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmo-sigtran 
refs/changes/06/41406/1

diff --git a/include/osmocom/sigtran/mtp_sap.h 
b/include/osmocom/sigtran/mtp_sap.h
index f13d6f1..dc3dd04 100644
--- a/include/osmocom/sigtran/mtp_sap.h
+++ b/include/osmocom/sigtran/mtp_sap.h
@@ -67,3 +67,7 @@
 #define msgb_mtp_prim(msg) ((struct osmo_mtp_prim *)(msg)->l1h)

 char *osmo_mtp_prim_name(struct osmo_prim_hdr *oph);
+
+/* SS7 User wants to issue MTP-TRANSFER.req */
+int osmo_ss7_user_mtp_xfer_req(struct osmo_ss7_instance *inst,
+                               struct osmo_mtp_prim *omp);
diff --git a/include/osmocom/sigtran/osmo_ss7.h 
b/include/osmocom/sigtran/osmo_ss7.h
index dc9aada..34efcdf 100644
--- a/include/osmocom/sigtran/osmo_ss7.h
+++ b/include/osmocom/sigtran/osmo_ss7.h
@@ -80,8 +80,6 @@
  ***********************************************************************/

 struct osmo_ss7_user;
-struct osmo_mtp_prim;
-

 struct osmo_ss7_user *osmo_ss7_user_create(struct osmo_ss7_instance *inst, 
const char *name);
 void osmo_ss7_user_destroy(struct osmo_ss7_user *user);
@@ -96,10 +94,6 @@
 int osmo_ss7_user_unregister(struct osmo_ss7_instance *inst, uint8_t 
service_ind,
                             struct osmo_ss7_user *user);

-/* SS7 User wants to issue MTP-TRANSFER.req */
-int osmo_ss7_user_mtp_xfer_req(struct osmo_ss7_instance *inst,
-                               struct osmo_mtp_prim *omp);
-

 /***********************************************************************
  * SCCP Instance

--
To view, visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/41406?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: libosmo-sigtran
Gerrit-Branch: master
Gerrit-Change-Id: Ibdf9be85eed50ede7719a3f5510705f0c82bf7f9
Gerrit-Change-Number: 41406
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <[email protected]>

Reply via email to