summaryrefslogtreecommitdiffstats
path: root/usr.sbin/lpr/common_source/common.c
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>1997-10-14 16:01:02 +0000
committerjoerg <joerg@FreeBSD.org>1997-10-14 16:01:02 +0000
commitfef7c77457bb37b4446a11916d0e18bfbed5fca8 (patch)
tree5f0c559d9ab9b959f3e9d5b41198a5706e25b662 /usr.sbin/lpr/common_source/common.c
parenteadc6c642e65bfe3b9c54fbfbe4c9a1b569663a8 (diff)
downloadFreeBSD-src-fef7c77457bb37b4446a11916d0e18bfbed5fca8.zip
FreeBSD-src-fef7c77457bb37b4446a11916d0e18bfbed5fca8.tar.gz
Improve my hack from rev 1.6 of displayq.c, and make the TCP
connection timeout controllable by a new printcap(5) capability named `ct' (connectiom timeout), defaulting to 120 seconds (which is the default TCP connection timeout). Would anybody see a problem with merging all this into RELENG_2_2?
Diffstat (limited to 'usr.sbin/lpr/common_source/common.c')
-rw-r--r--usr.sbin/lpr/common_source/common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/lpr/common_source/common.c b/usr.sbin/lpr/common_source/common.c
index b7960c2..7301e2b 100644
--- a/usr.sbin/lpr/common_source/common.c
+++ b/usr.sbin/lpr/common_source/common.c
@@ -64,6 +64,7 @@ static char sccsid[] = "@(#)common.c 8.5 (Berkeley) 4/28/95";
char *AF; /* accounting file */
long BR; /* baud rate if lp is a tty */
char *CF; /* name of cifplot filter (per job) */
+long CT; /* TCP connection timeout */
char *DF; /* name of tex filter (per job) */
long DU; /* daeomon user-id */
char *FF; /* form feed string */
OpenPOWER on IntegriCloud