summaryrefslogtreecommitdiff
path: root/usr.sbin/lpr/common_source/lp.h
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create tagrelease/3.0.0_cvscvs2svn1999-01-211-1/+1
| | | | | | | 'RELENG_3_0_0_RELEASE'. This commit was manufactured to restore the state of the 3.0-RELEASE image. Releases prior to 5.3-RELEASE are omitting the secure/ and crypto/ subdirs.
* Mega lpd/lpd upgrade, part I:Garrett Wollman1997-12-021-58/+158
| | | | | | | | | | | | | | | | | | - Get rid of a lot of the static variables which were shared by many routines and programs in the suite. - Create an abstract interface to the printcap database, so that other retrieval and iteration mechanisms could be developed (e.g., YP, Hesiod, or automatic retrieval from a trusted server). - Give each capability a human-readable name in addition to the historic two-character one. - Otherwise generally clean up a lot of dark corners. Many still remain. - When submitting jobs, use the official login name record (from getlogin()) if there is one, rather than reverse-mapping the uid. More to come... Notes: svn path=/head/; revision=31492
* Improve my hack from rev 1.6 of displayq.c, and make the TCPJoerg Wunsch1997-10-141-0/+1
| | | | | | | | | | | 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? Notes: svn path=/head/; revision=30407
* common_source: staticize private version of warn() so to not conflictJoerg Wunsch1997-08-231-1/+0
| | | | | | | | | | | | with libc's version. lpd: use getopt(3), err(3), add usage(), allow specification of a port # on the command line as the documentation suggested for more than 10 years. PR: docs/3290 Notes: svn path=/head/; revision=28621
* Cleanup.Joerg Wunsch1996-05-091-0/+9
| | | | | | | | | | | | The removed files are no longer needed, they are actually labelled as ``Use only if you are not 4.4BSD''. (Yeah, the ol' crufty printcap.c is really gone!) Properly declare all external objects in files ending in .h, as opposed to embed them into files ending in .c. Notes: svn path=/head/; revision=15703
* Pull a bunch of fixes from the 4.4BSD-Lite2 branch. It's reallyJoerg Wunsch1996-05-051-3/+4
| | | | | | | | | | | | | | | surprising how many trivial errors there have been... :-) Some more cleanup is needed, but i'd like to separate the Lite2 changes from other work, that's why this goes into a different commit. People with serial printers should see whether i have broken the stty- style printcap options (i hope not). Inspired by: Sergey Shkonda <serg@bcs1.bcs.zaporizhzhe.ua> Notes: svn path=/head/; revision=15648
* Remove definitions and declarations for FS, FC, XS, XC variables, andSean Eric Fagan1996-04-031-4/+1
| | | | | | | | | replace them with MS char* variable. Reviewed by: rgrimes, joerg Notes: svn path=/head/; revision=15031
* BSD 4.4 Lite usr.sbin SourcesRodney W. Grimes1994-05-261-0/+126
Notes: svn path=/cvs2svn/branches/WIN_TUE_NL/; revision=1553