diff options
Diffstat (limited to 'ncpd/packet.h')
-rw-r--r-- | ncpd/packet.h | 5 |
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 |