diff options
author | Fritz Elfert <felfert@to.com> | 2000-01-17 11:49:41 +0000 |
---|---|---|
committer | Fritz Elfert <felfert@to.com> | 2000-01-17 11:49:41 +0000 |
commit | ab18114bfd38d4632c66401b5bc079241e27fab3 (patch) | |
tree | 14f9c1d5f020cf8ed2f205094ca9e2fc907bb969 /ncpd/channel.h | |
parent | 6eceb82662300bf306e70bd943200665bc3c9bc3 (diff) | |
download | plptools-ab18114bfd38d4632c66401b5bc079241e27fab3.tar.gz plptools-ab18114bfd38d4632c66401b5bc079241e27fab3.tar.bz2 plptools-ab18114bfd38d4632c66401b5bc079241e27fab3.zip |
Release of plptools-0.5
Diffstat (limited to 'ncpd/channel.h')
-rw-r--r-- | ncpd/channel.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/ncpd/channel.h b/ncpd/channel.h index a8f5225..2c06d6d 100644 --- a/ncpd/channel.h +++ b/ncpd/channel.h @@ -35,18 +35,25 @@ class bufferStore; class channel { public: channel(ncp *ncpController); + virtual ~channel() {} void newNcpController(ncp *ncpController); void setNcpChannel(int chan); + int getNcpChannel(void); void ncpSend(bufferStore &a); void setVerbose(short int _verbose); short int getVerbose(); virtual void ncpDataCallback(bufferStore &a) = NULL; - virtual const char *getNcpConnectName() = NULL; + virtual char *getNcpConnectName() = NULL; void ncpConnect(); + void ncpRegister(); + void ncpDoRegisterAck(int); virtual void ncpConnectAck() = NULL; virtual void ncpConnectTerminate() = NULL; + virtual void ncpConnectNak() = NULL; + virtual void ncpRegisterAck() = NULL; void ncpDisconnect(); + short int ncpProtocolVersion(); // The following two calls are used for destructing an instance virtual bool terminate(); // Mainloop will terminate this class if true @@ -57,8 +64,8 @@ class channel { private: ncp *ncpController; - bool _terminate; int ncpChannel; + bool _terminate; }; #endif |