summaryrefslogtreecommitdiff
path: root/source3/include/printing.h
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include/printing.h')
-rw-r--r--source3/include/printing.h7
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_ */