Harald Welte | 00566f5 | 2017-11-21 16:43:49 +0100 | [diff] [blame] | 1 | #include "IPL4asp_PortType.hh" |
| 2 | #include "IPA_CodecPort.hh" |
| 3 | #include "IPL4asp_PT.hh" |
| 4 | |
| 5 | namespace IPA__CodecPort__CtrlFunct { |
| 6 | |
| 7 | IPL4asp__Types::Result f__IPL4__listen( |
| 8 | IPA__CodecPort::IPA__CODEC__PT& portRef, |
| 9 | const IPL4asp__Types::HostName& locName, |
| 10 | const IPL4asp__Types::PortNumber& locPort, |
| 11 | const IPL4asp__Types::ProtoTuple& proto, |
| 12 | const IPL4asp__Types::OptionList& options) |
| 13 | { |
| 14 | return f__IPL4__PROVIDER__listen(portRef, locName, locPort, proto, options); |
| 15 | } |
| 16 | |
| 17 | IPL4asp__Types::Result f__IPL4__connect( |
| 18 | IPA__CodecPort::IPA__CODEC__PT& portRef, |
| 19 | const IPL4asp__Types::HostName& remName, |
| 20 | const IPL4asp__Types::PortNumber& remPort, |
| 21 | const IPL4asp__Types::HostName& locName, |
| 22 | const IPL4asp__Types::PortNumber& locPort, |
| 23 | const IPL4asp__Types::ConnectionId& connId, |
| 24 | const IPL4asp__Types::ProtoTuple& proto, |
| 25 | const IPL4asp__Types::OptionList& options) |
| 26 | { |
| 27 | return f__IPL4__PROVIDER__connect(portRef, remName, remPort, |
| 28 | locName, locPort, connId, proto, options); |
| 29 | } |
| 30 | |
| 31 | IPL4asp__Types::Result f__IPL4__close( |
| 32 | IPA__CodecPort::IPA__CODEC__PT& portRef, |
| 33 | const IPL4asp__Types::ConnectionId& connId, |
| 34 | const IPL4asp__Types::ProtoTuple& proto) |
| 35 | { |
| 36 | return f__IPL4__PROVIDER__close(portRef, connId, proto); |
| 37 | } |
| 38 | |
| 39 | IPL4asp__Types::Result f__IPL4__setUserData( |
| 40 | IPA__CodecPort::IPA__CODEC__PT& portRef, |
| 41 | const IPL4asp__Types::ConnectionId& connId, |
| 42 | const IPL4asp__Types::UserData& userData) |
| 43 | { |
| 44 | return f__IPL4__PROVIDER__setUserData(portRef, connId, userData); |
| 45 | } |
| 46 | |
| 47 | IPL4asp__Types::Result f__IPL4__getUserData( |
| 48 | IPA__CodecPort::IPA__CODEC__PT& portRef, |
| 49 | const IPL4asp__Types::ConnectionId& connId, |
| 50 | IPL4asp__Types::UserData& userData) |
| 51 | { |
| 52 | return f__IPL4__PROVIDER__getUserData(portRef, connId, userData); |
| 53 | } |
| 54 | |
| 55 | } |
| 56 | |