summaryrefslogtreecommitdiff
path: root/source3/printing
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-06-05 08:29:56 +0200
committerStefan Metzmacher <metze@samba.org>2012-06-06 10:18:37 +0200
commitd1d790418230bed0f79942bd1f0838312bb8390c (patch)
treef436cd718a4d5366d1eabd8da7302e31f9314d57 /source3/printing
parent6d2d8f54446627dbdc15edbdb60d65a7263012b5 (diff)
downloadsamba-d1d790418230bed0f79942bd1f0838312bb8390c.tar.gz
samba-d1d790418230bed0f79942bd1f0838312bb8390c.tar.bz2
samba-d1d790418230bed0f79942bd1f0838312bb8390c.zip
s3:printing: add print_spool_rap_jobid()
metze
Diffstat (limited to 'source3/printing')
-rw-r--r--source3/printing/printspoolss.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/source3/printing/printspoolss.c b/source3/printing/printspoolss.c
index 4f153f3da8..0706969e64 100644
--- a/source3/printing/printspoolss.c
+++ b/source3/printing/printspoolss.c
@@ -34,6 +34,15 @@ struct print_file_data {
uint16 rap_jobid;
};
+uint16_t print_spool_rap_jobid(struct print_file_data *print_file)
+{
+ if (print_file == NULL) {
+ return 0;
+ }
+
+ return print_file->rap_jobid;
+}
+
void print_spool_terminate(struct connection_struct *conn,
struct print_file_data *print_file);