summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/printing.h12
-rw-r--r--source3/include/proto.h1
-rw-r--r--source3/include/smb.h5
3 files changed, 18 insertions, 0 deletions
diff --git a/source3/include/printing.h b/source3/include/printing.h
index ac2ee05a93..34fbd58223 100644
--- a/source3/include/printing.h
+++ b/source3/include/printing.h
@@ -100,4 +100,16 @@ struct tdb_print_db {
#define NOTIFY_PID_LIST_KEY "NOTIFY_PID_LIST"
+NTSTATUS print_spool_open(files_struct *fsp,
+ const char *fname,
+ uint16_t current_vuid);
+
+int print_spool_write(files_struct *fsp, const char *data, uint32_t size,
+ SMB_OFF_T offset, uint32_t *written);
+
+void print_spool_end(files_struct *fsp, enum file_close_type close_type);
+
+void print_spool_terminate(struct connection_struct *conn,
+ struct print_file_data *print_file);
+
#endif /* PRINTING_H_ */
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 876d1d0038..3b7b6d58a5 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -4785,6 +4785,7 @@ SMB_OFF_T printfile_offset(files_struct *fsp, SMB_OFF_T offset);
uint16 pjobid_to_rap(const char* sharename, uint32 jobid);
bool rap_to_pjobid(uint16 rap_jobid, fstring sharename, uint32 *pjobid);
+void rap_jobid_delete(const char* sharename, uint32 jobid);
bool print_backend_init(struct messaging_context *msg_ctx);
void printing_end(void);
int unpack_pjob( uint8 *buf, int buflen, struct printjob *pjob );
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 507aeac53d..4d60a3ad11 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -338,6 +338,11 @@ struct notify_change_buf {
};
struct print_file_data {
+ char *svcname;
+ char *docname;
+ char *filename;
+ struct policy_handle handle;
+ uint32_t jobid;
uint16 rap_jobid;
};