aboutsummaryrefslogtreecommitdiffstats
path: root/include/bsc_sccp.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-02-10 15:32:14 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-02-10 20:09:09 +0100
commite86c02e107d9bef11a69ecef85d923ae4f523ef3 (patch)
tree7797afa28ff03963e8f84f254b9b91b311b89ad0 /include/bsc_sccp.h
parentee63d7d15e14ca0b653086043e7a6d1d537a89a1 (diff)
bsc: Move the BSC<->MSC variables to a new struct.
Move the MSC related information out of the bsc_data and update the code to use this BSC configuration. This is greatly cleaning up the code and in theory there might now be two BSC and two MSCs that one application can handle (minus the missing VTY config)
Diffstat (limited to 'include/bsc_sccp.h')
-rw-r--r--include/bsc_sccp.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/include/bsc_sccp.h b/include/bsc_sccp.h
index 8811a2b..833257d 100644
--- a/include/bsc_sccp.h
+++ b/include/bsc_sccp.h
@@ -30,6 +30,8 @@
#include <osmocom/sccp/sccp.h>
+struct bsc_msc_forward;
+
/*
* One SCCP connection.
* Use for connection tracking and fixups...
@@ -61,10 +63,10 @@ struct active_sccp_con {
};
void free_con(struct active_sccp_con *con);
-struct active_sccp_con *find_con_by_dest_ref(struct sccp_source_reference *ref);
-struct active_sccp_con *find_con_by_src_ref(struct sccp_source_reference *src_ref);
-struct active_sccp_con *find_con_by_src_dest_ref(struct sccp_source_reference *src_ref,
+struct active_sccp_con *find_con_by_dest_ref(struct bsc_msc_forward *, struct sccp_source_reference *ref);
+struct active_sccp_con *find_con_by_src_ref(struct bsc_msc_forward *,struct sccp_source_reference *src_ref);
+struct active_sccp_con *find_con_by_src_dest_ref(struct bsc_msc_forward *, struct sccp_source_reference *src_ref,
struct sccp_source_reference *dst_ref);
-unsigned int sls_for_src_ref(struct sccp_source_reference *ref);
+unsigned int sls_for_src_ref(struct bsc_msc_forward *, struct sccp_source_reference *ref);
#endif