freebsd-skq/usr.sbin/lpr/common_source
Garance A Drosehn c547dbe854 Fix so all parts of lpd, lpc, lpq, and lprm will use the same algorithm
for calculating the job number for a job based on the control-file name.
We might receive cf-files named by other implementations of lpr, where
the job number shown by lpq would not match the job number that other
commands expected for the same name.

This also uses a newer algorithm for determining a job number, to avoid
problems caused when a control-file is named using an IP address, instead
of the hostname.

This also moved the declaration if isowner() from lp.h to rmjob.c.  When I
went to change the parameters, I noticed that rmjob.c was the only source
file which uses it.

MFC after:	2 weeks
2004-12-31 00:36:28 +00:00
..
common.c Fix so all parts of lpd, lpc, lpq, and lprm will use the same algorithm 2004-12-31 00:36:28 +00:00
ctlinfo.c Do more extensive checking of the userid field which is read in from the 2004-12-31 00:18:42 +00:00
ctlinfo.h Take advantage of the common_source/lp.cdefs.h file to change lpr 2003-07-14 05:15:21 +00:00
displayq.c Fix so all parts of lpd, lpc, lpq, and lprm will use the same algorithm 2004-12-31 00:36:28 +00:00
lp.cdefs.h Introduce a new lp.cdefs.h file, which will be used to make it 2003-07-14 05:13:55 +00:00
lp.h Fix so all parts of lpd, lpc, lpq, and lprm will use the same algorithm 2004-12-31 00:36:28 +00:00
lp.local.h Remove a 'From:' that snuck into an sccsid comment line as part of -v1.3 2003-08-01 00:06:41 +00:00
Makefile For variables that are only checked with defined(), don't provide 2004-10-24 15:33:08 +00:00
matchjobs.c Fix so all parts of lpd, lpc, lpq, and lprm will use the same algorithm 2004-12-31 00:36:28 +00:00
matchjobs.h Take advantage of the common_source/lp.cdefs.h file to change lpr 2003-07-14 05:15:21 +00:00
net.c Take advantage of the common_source/lp.cdefs.h file to change lpr 2003-07-14 05:15:21 +00:00
pathnames.h
printcap.c Get the 'sccsid' for this to match the original lines you would 2003-07-14 20:17:55 +00:00
request.c Get the 'sccsid' lines even closer to correct style(9) form. The 2003-07-14 20:20:58 +00:00
rmjob.c Fix so all parts of lpd, lpc, lpq, and lprm will use the same algorithm 2004-12-31 00:36:28 +00:00
startdaemon.c Get the 'sccsid' lines even closer to correct style(9) form. The 2003-07-14 20:20:58 +00:00