aboutsummaryrefslogtreecommitdiffstats
path: root/include/openbsc/osmo_bsc_sigtran.h
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2017-07-03 11:59:01 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-07-12 23:42:47 +0200
commit6408ea8c5f8f732a90b8c0defd06faf8498d1c98 (patch)
tree0e6cc9abd9a55c7b3fceda2a372565b234b9e958 /include/openbsc/osmo_bsc_sigtran.h
parentf5dfb3fc737b6e13ea5a74774aaff5dc603f4b46 (diff)
osmo-bsc/sigtran: add missing const
Diffstat (limited to 'include/openbsc/osmo_bsc_sigtran.h')
-rw-r--r--include/openbsc/osmo_bsc_sigtran.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/openbsc/osmo_bsc_sigtran.h b/include/openbsc/osmo_bsc_sigtran.h
index afdceeb37..fbcfcb3fc 100644
--- a/include/openbsc/osmo_bsc_sigtran.h
+++ b/include/openbsc/osmo_bsc_sigtran.h
@@ -28,10 +28,10 @@
enum bsc_con osmo_bsc_sigtran_new_conn(struct gsm_subscriber_connection *conn, struct bsc_msc_data *msc);
/* Open a new connection oriented sigtran connection */
-int osmo_bsc_sigtran_open_conn(struct osmo_bsc_sccp_con *conn, struct msgb *msg);
+int osmo_bsc_sigtran_open_conn(const struct osmo_bsc_sccp_con *conn, struct msgb *msg);
/* Send data to MSC */
-int osmo_bsc_sigtran_send(struct osmo_bsc_sccp_con *conn, struct msgb *msg);
+int osmo_bsc_sigtran_send(const struct osmo_bsc_sccp_con *conn, struct msgb *msg);
/* Delete a connection from the list with open connections
* (called by osmo_bsc_api.c on failing open connections and
@@ -42,7 +42,7 @@ int osmo_bsc_sigtran_del_conn(struct osmo_bsc_sccp_con *sccp);
int osmo_bsc_sigtran_init(struct llist_head *mscs);
/* Close all open sigtran connections and channels */
-void osmo_bsc_sigtran_reset(struct bsc_msc_data *msc);
+void osmo_bsc_sigtran_reset(const struct bsc_msc_data *msc);
/* Send reset-ack to MSC */
-void osmo_bsc_sigtran_tx_reset_ack(struct bsc_msc_data *msc);
+void osmo_bsc_sigtran_tx_reset_ack(const struct bsc_msc_data *msc);