/////////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2000-2019 Ericsson Telecom AB // // All rights reserved. This program and the accompanying materials // are made available under the terms of the Eclipse Public License v2.0 // which accompanies this distribution, and is available at // https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html // /////////////////////////////////////////////////////////////////////////////// // // File: IPL4asp_User_CtrlFunct.ttcn // Rev: R29B // Prodnr: CNL 113 531 // Updated: 2008-01-28 // Contact: http://ttcn.ericsson.se // Reference: // // Template to declare the port control functions // Replace the tag with your user port type and // the tag with the module name in which the // user port type is declared. // Feel free to rename this module and file according to your // naming conventions. // module IPL4_user_CtrlFunct { import from all; import from IPL4asp_Types all; external function f_IPL4_listen( inout portRef, in HostName locName, in PortNumber locPort, in ProtoTuple proto, in OptionList options := {} ) return Result; external function f_IPL4_connect( inout 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 portRef, in ConnectionId id, in ProtoTuple proto := { unspecified := {} } ) return Result; external function f_IPL4_setUserData( inout portRef, in ConnectionId id, in UserData userData ) return Result; external function f_IPL4_getUserData( inout portRef, in ConnectionId id, out UserData userData ) return Result; external function f_IPL4_setGetMsgLen( inout portRef, in ConnectionId id := -1, inout f_IPL4_getMsgLen f, in ro_integer msgLenArgs ); } // module IPL4_user_CtrlFunct