diff options
Diffstat (limited to 'source/include/printing.h')
-rw-r--r-- | source/include/printing.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/source/include/printing.h b/source/include/printing.h index ee0b25d63fd..53a5df69484 100644 --- a/source/include/printing.h +++ b/source/include/printing.h @@ -1,3 +1,6 @@ +#ifndef PRINTING_H_ +#define PRINTING_H_ + /* Unix SMB/Netbios implementation. Version 3.0 @@ -34,12 +37,13 @@ struct printjob { time_t starttime; /* when the job started spooling */ int status; /* the status of this job */ size_t size; /* the size of the job so far */ + int page_count; /* then number of pages so far */ BOOL spooled; /* has it been sent to the spooler yet? */ BOOL smbjob; /* set if the job is a SMB job */ fstring filename; /* the filename used to spool the file */ fstring jobname; /* the job name given to us by the client */ fstring user; /* the user who started the job */ - fstring qname; /* name of the print queue the job was sent to */ + fstring queuename; /* service number of printer for this job */ }; /* Information for print interfaces */ @@ -65,5 +69,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 +#define PRINT_DATABASE_VERSION 4 + +#endif /* PRINTING_H_ */ |