summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorDavid Disseldorp <ddiss@samba.org>2012-02-08 18:47:11 +0100
committerDavid Disseldorp <ddiss@samba.org>2012-06-26 16:10:39 +0200
commitc29773d89036153a122f577ff9fb2a789e7f156f (patch)
treee4ec146dfa33a1e97d2d1ecebdd5ab30a68cf01e /source3/include
parent91cd9a47974e0099d550c88ee646ee3b1f44df72 (diff)
downloadsamba-c29773d89036153a122f577ff9fb2a789e7f156f.tar.gz
samba-c29773d89036153a122f577ff9fb2a789e7f156f.tar.bz2
samba-c29773d89036153a122f577ff9fb2a789e7f156f.zip
s3-printing: pass lpq command to job_submit
Currently the generic print backend does not fill the printing backend job identifier (sysjob) on submission of a new job. The sysjob identifier is required to correctly map jobs in the printer queue to corresponding spoolss print jobs. Passing the lpq command to job_submit allows the generic print backend to check the printer queue for the new job following submission. This behaviour will come in a later commit.
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/printing.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/include/printing.h b/source3/include/printing.h
index 222da8c478..5d0672cc36 100644
--- a/source3/include/printing.h
+++ b/source3/include/printing.h
@@ -102,7 +102,9 @@ struct printif
int (*job_delete)(const char *sharename, const char *lprm_command, struct printjob *pjob);
int (*job_pause)(int snum, struct printjob *pjob);
int (*job_resume)(int snum, struct printjob *pjob);
- int (*job_submit)(int snum, struct printjob *pjob);
+ int (*job_submit)(int snum, struct printjob *pjob,
+ enum printing_types printing_type,
+ char *lpq_command);
};
extern struct printif generic_printif;