aboutsummaryrefslogtreecommitdiffstats
path: root/include/bsc_sccp.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-09-30 16:10:17 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-09-30 16:10:17 +0800
commit1cb634a1e22987559f3d347c9e404b5eeb21cd73 (patch)
treebc9cd3a2bfe20ecc9eb8b9f3e39b931cf44563fa /include/bsc_sccp.h
parent0e4e35fdd6a29d7269a25f11b3ac3ee11c88a297 (diff)
bsc: Refactor and move SCCP ConTrack to bsc_sccp.c
Move the code, update Makefile.am, add includes.
Diffstat (limited to 'include/bsc_sccp.h')
-rw-r--r--include/bsc_sccp.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/bsc_sccp.h b/include/bsc_sccp.h
index c8d7a90..72bfa47 100644
--- a/include/bsc_sccp.h
+++ b/include/bsc_sccp.h
@@ -22,8 +22,15 @@
#ifndef bsc_sccp_h
#define bsc_sccp_h
+#include <inttypes.h>
+
+#include <osmocore/linuxlist.h>
+#include <osmocore/timer.h>
+
#include <osmocore/protocol/gsm_08_08.h>
+#include <osmocom/sccp/sccp.h>
+
/*
* One SCCP connection.
* Use for connection tracking and fixups...
@@ -51,4 +58,9 @@ struct active_sccp_con {
int sls;
};
+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 sccp_source_reference *dst_ref);
+unsigned int sls_for_src_ref(struct sccp_source_reference *ref);
+
#endif