summaryrefslogtreecommitdiff
path: root/source3/include/printing.h
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2010-04-28 18:55:20 -0400
committerSimo Sorce <idra@samba.org>2010-07-27 10:27:12 -0400
commit38d6274864ebb4d31333946379496d67745cd3c5 (patch)
treea4db449076a6d100f788e2839506cc7ea70a3381 /source3/include/printing.h
parent8d44b11c6bf90f4698e472b46d4f47a136b960ba (diff)
downloadsamba-38d6274864ebb4d31333946379496d67745cd3c5.tar.gz
samba-38d6274864ebb4d31333946379496d67745cd3c5.tar.bz2
samba-38d6274864ebb4d31333946379496d67745cd3c5.zip
s3-smbd: Added code to print via spoolss.
Diffstat (limited to 'source3/include/printing.h')
-rw-r--r--source3/include/printing.h12
1 files changed, 12 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_ */