summaryrefslogtreecommitdiffstats
path: root/source/include/printing.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/include/printing.h')
-rw-r--r--source/include/printing.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/source/include/printing.h b/source/include/printing.h
index 53a5df69484..ee0b25d63fd 100644
--- a/source/include/printing.h
+++ b/source/include/printing.h
@@ -1,6 +1,3 @@
-#ifndef PRINTING_H_
-#define PRINTING_H_
-
/*
Unix SMB/Netbios implementation.
Version 3.0
@@ -37,13 +34,12 @@ 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 queuename; /* service number of printer for this job */
+ fstring qname; /* name of the print queue the job was sent to */
};
/* Information for print interfaces */
@@ -69,9 +65,5 @@ 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 4
-
-#endif /* PRINTING_H_ */
+#define PRINT_DATABASE_VERSION 2