aboutsummaryrefslogtreecommitdiffstats
path: root/ncpd/packet.h
diff options
context:
space:
mode:
authorFritz Elfert <felfert@to.com>2001-01-14 22:28:37 +0000
committerFritz Elfert <felfert@to.com>2001-01-14 22:28:37 +0000
commitf6d25b8861f97439d7086e4569e209c46486d009 (patch)
tree21284d0a969fe8ff811d2bf68ae282070dd230cd /ncpd/packet.h
parent291e454087804b1f706697ef4849e519606b1cab (diff)
downloadplptools-f6d25b8861f97439d7086e4569e209c46486d009.tar.gz
plptools-f6d25b8861f97439d7086e4569e209c46486d009.tar.bz2
plptools-f6d25b8861f97439d7086e4569e209c46486d009.zip
- Added Hint for man pages in README.
- Added signal handles for SIGINT and SIGTERM in ncpd for - properly shutting down the link. - Added flush() method in link.cc, needed for above feature. - If started with option -e and no -s option is given, assume being started by mgetty and use the line ncpd is started on instead of builtin default. - Added auto-reset in packet.cc. This helps making IrDA (ircomm-tty) based connections. Still not satisfying as i sometimes have to toggle infrared on the Psion (probably a bug in the Psion's IrDA).
Diffstat (limited to 'ncpd/packet.h')
-rw-r--r--ncpd/packet.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ncpd/packet.h b/ncpd/packet.h
index 19385d3..86db078 100644
--- a/ncpd/packet.h
+++ b/ncpd/packet.h
@@ -66,8 +66,10 @@ class packet {
int termLen;
int foundSync;
int fd;
+ int serialStatus;
short int verbose;
bool esc;
+ bool lastFatal;
char *devname;
int baud;
IOWatch &iow;