summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);