summaryrefslogtreecommitdiff
path: root/source3/include/printing.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-16 13:53:10 +0200
committerAndreas Schneider <asn@samba.org>2010-08-16 14:02:19 +0200
commitd418f9f11abb5b5ed038acbaf5dbb2a656d39d87 (patch)
tree9db83e16fbcfa1fd64c5270252751f06bc13b976 /source3/include/printing.h
parentdc2313d1e87b68a5d85be8443e377491f979ecbc (diff)
downloadsamba-d418f9f11abb5b5ed038acbaf5dbb2a656d39d87.tar.gz
samba-d418f9f11abb5b5ed038acbaf5dbb2a656d39d87.tar.bz2
samba-d418f9f11abb5b5ed038acbaf5dbb2a656d39d87.zip
s3-printing: Lift the use of smbd_server_fd from job_submit.
Signed-off-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source3/include/printing.h')
-rw-r--r--source3/include/printing.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/include/printing.h b/source3/include/printing.h
index 334b7a1e71..1aa4e38b80 100644
--- a/source3/include/printing.h
+++ b/source3/include/printing.h
@@ -39,6 +39,7 @@ struct printjob {
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 clientmachine; /* The client machine which started this job */
fstring queuename; /* service number of printer for this job */
struct spoolss_DeviceMode *devmode;
};
@@ -82,7 +83,7 @@ extern struct printif iprint_printif;
#ifndef PRINT_SPOOL_PREFIX
#define PRINT_SPOOL_PREFIX "smbprn."
#endif
-#define PRINT_DATABASE_VERSION 5
+#define PRINT_DATABASE_VERSION 6
/* There can be this many printing tdb's open, plus any locked ones. */
#define MAX_PRINT_DBS_OPEN 1