add library/PFCP_*, deps/PFCP
Will soon be used by new subdir 'upf' (test osmo-upf),
and by 'hnbgw' (test GTP mapping via UPF).
Related: SYS#5599
Change-Id: I0723b931b3f755ea291bffa2f27c34ba446c2f2f
diff --git a/library/PFCP_CodecPort_CtrlFunct.ttcn b/library/PFCP_CodecPort_CtrlFunct.ttcn
new file mode 100644
index 0000000..bd6af4b
--- /dev/null
+++ b/library/PFCP_CodecPort_CtrlFunct.ttcn
@@ -0,0 +1,43 @@
+module PFCP_CodecPort_CtrlFunct {
+
+import from PFCP_CodecPort all;
+import from IPL4asp_Types all;
+
+external function f_IPL4_listen(
+ inout PFCP_PT portRef,
+ in HostName locName,
+ in PortNumber locPort,
+ in ProtoTuple proto,
+ in OptionList options := {}
+ ) return Result;
+
+external function f_IPL4_connect(
+ inout PFCP_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 PFCP_PT portRef,
+ in ConnectionId id,
+ in ProtoTuple proto := { unspecified := {} }
+ ) return Result;
+
+external function f_IPL4_setUserData(
+ inout PFCP_PT portRef,
+ in ConnectionId id,
+ in UserData userData
+ ) return Result;
+
+external function f_IPL4_getUserData(
+ inout PFCP_PT portRef,
+ in ConnectionId id,
+ out UserData userData
+ ) return Result;
+
+}