aboutsummaryrefslogtreecommitdiffstats
path: root/ncpd/packet.h
diff options
context:
space:
mode:
authorFritz Elfert <felfert@to.com>2002-02-16 17:35:42 +0000
committerFritz Elfert <felfert@to.com>2002-02-16 17:35:42 +0000
commit12241e0ff5ea242891fc3a8c177e8f55e897f2a3 (patch)
treedd2ad24b8d0a0faf4e8e6548ff3f7297d5d3cf73 /ncpd/packet.h
parentb32cfed12f9c9aff06ef3f7c6fb046c38ada987a (diff)
downloadplptools-12241e0ff5ea242891fc3a8c177e8f55e897f2a3.tar.gz
plptools-12241e0ff5ea242891fc3a8c177e8f55e897f2a3.tar.bz2
plptools-12241e0ff5ea242891fc3a8c177e8f55e897f2a3.zip
- Applied patches from Luke Diamand, Marc Spoorendonk and Chris Halls
Diffstat (limited to 'ncpd/packet.h')
-rw-r--r--ncpd/packet.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/ncpd/packet.h b/ncpd/packet.h
index a21412e..f80e4c9 100644
--- a/ncpd/packet.h
+++ b/ncpd/packet.h
@@ -38,7 +38,7 @@ class IOWatch;
class packet {
public:
- packet(const char *fname, int baud, IOWatch &iow, short int verbose = 0);
+ packet(const char *fname, int baud, IOWatch *iow, short int verbose = 0);
~packet();
void send(unsigned char type, const bufferStore &b);
bool get(unsigned char &type, bufferStore &b);
@@ -70,9 +70,10 @@ class packet {
short int verbose;
bool esc;
bool lastFatal;
+ bool iowLocal;
char *devname;
int baud;
- IOWatch &iow;
+ IOWatch *iow;
};
#endif