s3-printing: store print jobid as part of struct printjob
[ddiss/samba.git] / source3 / include / printing.h
index cfdf3a4a8ca5211306c3f06733726f0ba191e1d3..aa28b78fdd026efdf31d828b8906469df38f2bd8 100644 (file)
@@ -69,6 +69,7 @@ typedef struct {
 /* Information for print jobs */
 struct printjob {
        pid_t pid; /* which process launched the job */
+       uint32_t jobid; /* the spoolss print job identifier */
        int sysjob; /* the system (lp) job number */
        int fd; /* file descriptor of open file if open */
        time_t starttime; /* when the job started spooling */
@@ -124,7 +125,7 @@ extern struct printif       iprint_printif;
 #ifndef PRINT_SPOOL_PREFIX
 #define PRINT_SPOOL_PREFIX "smbprn."
 #endif
-#define PRINT_DATABASE_VERSION 7
+#define PRINT_DATABASE_VERSION 8
 
 #ifdef AIX
 #define DEFAULT_PRINTING PRINT_AIX