summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-06-04 18:15:25 +0200
committerStefan Metzmacher <metze@samba.org>2012-06-06 10:18:37 +0200
commit6d2d8f54446627dbdc15edbdb60d65a7263012b5 (patch)
tree5a399111c1ec8d60c80438085191b43008e405f9 /source3
parente91c22353153d8f701eb307e3edeb937da0cb5da (diff)
downloadsamba-6d2d8f54446627dbdc15edbdb60d65a7263012b5.tar.gz
samba-6d2d8f54446627dbdc15edbdb60d65a7263012b5.tar.bz2
samba-6d2d8f54446627dbdc15edbdb60d65a7263012b5.zip
s3:printing: make struct print_file_data private to printspoolss.c
metze
Diffstat (limited to 'source3')
-rw-r--r--source3/include/smb.h9
-rw-r--r--source3/printing/printspoolss.c9
2 files changed, 9 insertions, 9 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 88544b3c41..fc44219ed7 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -189,15 +189,6 @@ struct notify_change_buf {
struct notify_change_request *requests;
};
-struct print_file_data {
- char *svcname;
- char *docname;
- char *filename;
- struct policy_handle handle;
- uint32_t jobid;
- uint16 rap_jobid;
-};
-
typedef struct files_struct {
struct files_struct *next, *prev;
int fnum;
diff --git a/source3/printing/printspoolss.c b/source3/printing/printspoolss.c
index 2cb805d146..4f153f3da8 100644
--- a/source3/printing/printspoolss.c
+++ b/source3/printing/printspoolss.c
@@ -25,6 +25,15 @@
#include "smbd/globals.h"
#include "../libcli/security/security.h"
+struct print_file_data {
+ char *svcname;
+ char *docname;
+ char *filename;
+ struct policy_handle handle;
+ uint32_t jobid;
+ uint16 rap_jobid;
+};
+
void print_spool_terminate(struct connection_struct *conn,
struct print_file_data *print_file);