diff options
Diffstat (limited to 'ncpd/channel.cc')
-rw-r--r-- | ncpd/channel.cc | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/ncpd/channel.cc b/ncpd/channel.cc index e51b903..d3189e4 100644 --- a/ncpd/channel.cc +++ b/ncpd/channel.cc @@ -87,6 +87,30 @@ ncpDisconnect() ncpController->disconnect(ncpChannel); } +PcServer *channel:: +ncpFindPcServer(const char *name) +{ + return ncpController->findPcServer(name); +} + +void channel:: +ncpRegisterPcServer(ppsocket *skt, const char *name) +{ + ncpController->registerPcServer(skt, name); +} + +void channel:: +ncpUnregisterPcServer(PcServer *server) +{ + ncpController->unregisterPcServer(server); +} + +int channel:: +ncpGetSpeed() +{ + return ncpController->getSpeed(); +} + short int channel:: ncpProtocolVersion() { |