summaryrefslogtreecommitdiffstats
path: root/library/SBC_AP_CodecPort_CtrlFunct.ttcn
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2019-09-05 21:17:46 +0200
committerHarald Welte <laforge@gnumonks.org>2019-09-06 11:21:36 +0200
commitddc690b55246b0a989409c6336c0b4830d1e9ba6 (patch)
treecab04e679b2a3f5094b4782c131f50dee2cbb0e1 /library/SBC_AP_CodecPort_CtrlFunct.ttcn
parentbf1dba783c07cf4c7b483c50a68df6922e1679fe (diff)
Support for SBc-AP protocol as used on the MME-CBC interfacelaforge/sbcap
This requires a recent libfftranscode with SBC_AP support. Change-Id: Iaec096e3278ad4e646dce10a625622b195ed0f55
Diffstat (limited to 'library/SBC_AP_CodecPort_CtrlFunct.ttcn')
-rw-r--r--library/SBC_AP_CodecPort_CtrlFunct.ttcn44
1 files changed, 44 insertions, 0 deletions
diff --git a/library/SBC_AP_CodecPort_CtrlFunct.ttcn b/library/SBC_AP_CodecPort_CtrlFunct.ttcn
new file mode 100644
index 0000000..bdf1eec
--- /dev/null
+++ b/library/SBC_AP_CodecPort_CtrlFunct.ttcn
@@ -0,0 +1,44 @@
+module SBC_AP_CodecPort_CtrlFunct {
+
+ import from SBC_AP_CodecPort all;
+ import from IPL4asp_Types all;
+
+ external function f_IPL4_listen(
+ inout SBC_AP_CODEC_PT portRef,
+ in HostName locName,
+ in PortNumber locPort,
+ in ProtoTuple proto,
+ in OptionList options := {}
+ ) return Result;
+
+ external function f_IPL4_connect(
+ inout SBC_AP_CODEC_PT portRef,
+ in HostName remName,
+ in PortNumber remPort,
+ in HostName locName,
+ in PortNumber locPort,
+ in ConnectionId connId,
+ in ProtoTuple proto,
+ in OptionList options := {}
+ ) return Result;
+
+ external function f_IPL4_close(
+ inout SBC_AP_CODEC_PT portRef,
+ in ConnectionId id,
+ in ProtoTuple proto := { unspecified := {} }
+ ) return Result;
+
+ external function f_IPL4_setUserData(
+ inout SBC_AP_CODEC_PT portRef,
+ in ConnectionId id,
+ in UserData userData
+ ) return Result;
+
+ external function f_IPL4_getUserData(
+ inout SBC_AP_CODEC_PT portRef,
+ in ConnectionId id,
+ out UserData userData
+ ) return Result;
+
+}
+