diff options
author | Jeremy Allison <jra@samba.org> | 2002-03-07 21:51:59 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2002-03-07 21:51:59 +0000 |
commit | 024e69da0b4bbbe4112d3ce5526f90eb0b85bba0 (patch) | |
tree | 01ba25a356d7c3aa0616f8a9467246401e45b852 /source3/include | |
parent | f920d9e3c5d284fade738fb02d9abc467c5c0989 (diff) | |
download | samba-024e69da0b4bbbe4112d3ce5526f90eb0b85bba0.tar.gz samba-024e69da0b4bbbe4112d3ce5526f90eb0b85bba0.tar.bz2 samba-024e69da0b4bbbe4112d3ce5526f90eb0b85bba0.zip |
Fix for machines that have their time changed forward, then back. Ensure
that any cached lpq information gathered during that time doesn't
stay around for longer than 1 hour.
Jeremy.
(This used to be commit 39fca711a5cf15a03d6c79639b202712d1749a64)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/printing.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/include/printing.h b/source3/include/printing.h index 9002fea582..0a733b580a 100644 --- a/source3/include/printing.h +++ b/source3/include/printing.h @@ -1,3 +1,6 @@ +#ifndef PRINTING_H_ +#define PRINTING_H_ + /* Unix SMB/CIFS implementation. printing definitions @@ -64,5 +67,9 @@ extern struct printif cups_printif; #define UNIX_JOB_START PRINT_MAX_JOBID #define NEXT_JOBID(j) ((j+1) % PRINT_MAX_JOBID > 0 ? (j+1) % PRINT_MAX_JOBID : 1) +#define MAX_CACHE_VALID_TIME 3600 + #define PRINT_SPOOL_PREFIX "smbprn." #define PRINT_DATABASE_VERSION 2 + +#endif /* PRINTING_H_ */ |